The system console is an interface used by human to control the computer. Basically, it consists of a keyboard and a monitor that can provide a text user interface.

learn more… | top users | synonyms

6
votes
2answers
1k views

Using curses with Linux console

I'm trying to use Curses on Fedora 12 to output status information to a VT (one of the terminals you can get to by pressing Ctrl+Alt+Fx). When I start up my application on one of VTs ($TERM=linux) ...
2
votes
2answers
134 views

Lost Folders and Files in the directory /home/ubuntu/ in Ubuntu

I have uploaded a .tar file in /home/ubuntu/ and un-zipped the file in the folder name 'analytics'. After reboot, I couldn't found the directory and the tar files. I have checked it through SSH ...
34
votes
2answers
15k views

Fix terminal after displaying a binary file

I'd tried command cat with an executable file: cat /bin/ls Now I can't read any word in this terminal (Linux console). How can I fix it?
0
votes
0answers
22 views

display no longer listends to console after starting X11, not even after shutting down X11

From the console, or another virtual terminal, I launch X11. This is in Free BSD. I cannot return the display to any other terminal afterwards. By using the ctl-alt-F1 key combination, for example. ...
0
votes
1answer
45 views

Putty doesn't have any colors, but only for one server

I'm using Putty to connect to 7 servers. The problem is that one of them doesn't have any colors, which makes it harder to distinguish folders from other files. Here's what I'm talking about. ...
1
vote
0answers
83 views

Stop /sbin/agetty and log out the session

I start agetty using /sbin/agetty 115200 /dev/ttyS2 vt220 to provide console access through my port ttyS2. From the other computer, I can create a connection, and upon opening, I am prompted with ...
5
votes
2answers
575 views

Fully Disable PrntScr Key

I recently came across a Linux feature I have never seen before, where pressing the PrntScr button on the keyboard prints a physical piece of paper with the contents of my console. I really need to ...
1
vote
0answers
49 views

Polling for a Bluetooth Button Push

I have a bluetooth button that I have successfully paired several times with various raspberry pi's and linux boxes. The button works as a unique doorbell and various other applications, but I have ...
5
votes
1answer
145 views

Origin of /etc/termcap linux entry

Why is there a type of $TERM called linux described in /etc/termcap? Why and when was it created and what's the point of it? Couldn't we just stay with vt-generic? Is linux just a customary name and a ...
20
votes
2answers
714 views

Is it possible to save Linux virtual console content and scrollback in a file?

I have a long-term running script and I forgot to redirect its output to a file. I can see it in a terminal, but can I save it to a file? I'm not asking for tee, output redirection (e.g. >, >&...
4
votes
4answers
12k views

RHEL7 text-only installation

I want to install RHEL7 in purely text-only mode. Although I added the inst.text and inst.cmdline kernel option (since I want it to install from kickstart) it still requires more than a console as it ...
0
votes
1answer
39 views

agetty dumb terminal option

I'm trying to set up a CentOS distro to output on a serial console. I went through all the steps described on this page . My question concerns the agetty command: exec /sbin/agetty ttyS1 19200 ...
3
votes
3answers
2k views

get rid of “No Caching mode page found” message during boot

during early boot, I get following error message: [sdb] No Caching mode page found [sdb] Assuming drive cache: write through If I understand correctly, this is actually just a harmless info message ...
3
votes
2answers
2k views

What stream does perf use?

What stream does the perf command use!? I've been trying to capture it with (perf stat -x, -ecache-misses ./a.out>/dev/null) 2> results following http://stackoverflow.com/q/13232889/50305, ...
17
votes
3answers
77k views

How to set the resolution in text consoles (troubleshoot when any `vga=…` fails)

It is a common way to set the resolution of a text consoles (that are usually available by Ctrl-Alt-F1 thru Ctrl-Alt-F6) by using a vga=... kernel parameter. I'm using Ubuntu 10.04 Lucid, output of ...
3
votes
2answers
85 views

Redirect console to a serial port

I have a serial port /dev/ttyS2 that is connected to a supervisor. Normally, I use this line to send commands back and forth between CPU and supervisor. However, under some settings, I want to just ...
3
votes
1answer
53 views

How can I force the console to output to something other than the framebuffer?

I recently recompiled my kernel to support the vesa framebuffer for some Directfb fun but now my console outputs text very slowly. It's almost as if turning on the framebuffer caused my console to ...
17
votes
4answers
72k views

Command line to return to the GUI after Ctrl-Alt-F1?

I'm unable to return to the GUI with Ctrl-Alt-F7 (or any of the 12 function keys). I have some unsaved work and I don't want to lose them. Are there any other key combinations that will allow me to ...
3
votes
3answers
2k views

How to startup FreeBSD in console mode

I have recently installed a VMware image of FreeBSD, although when I boot up I get the message: Welcome to DesktopBSD, select from the following options: http://i.imgur.com/VWahL.gif The trouble is ...
0
votes
2answers
36 views

Is it possible to see errors when executing a script inside a script?

I have the files my1.sh and my2.sh. my1.sh: .... do something ./my2.sh my2.sh: .... do something else Now my problem is that if any command (like or example a ntfsclone) fails in my2.sh I get ...
2
votes
1answer
403 views

256 colors in console (tty)

Suppose, I have a system without X server. I can only log in from the console. It seems, by default linux console supports only 8 colors: # tput colors 8 Is it possible to use 256 colors in the ...
1
vote
1answer
52 views

How to get Unicode values of dead keys from mediumraw console keyboard

In an application that runs in a frame buffer, I read keys from /dev/tty after having set it to mediumraw mode using int fd = open("/dev/tty", O_RDWR); ... ioctl(fd, KDSKBMODE, K_MEDIUMRAW); In ...
9
votes
3answers
16k views

How to change cursor shape, color, and blinkrate of Linux Console?

I know I can change some fundamental settings of the Linux console, things like fonts, for instance, with dpkg-reconfigure console-setup. But I'd like to change things like blinkrate, color, and ...
81
votes
2answers
64k views

Linux: Difference between /dev/console , /dev/tty and /dev/tty0

On a Linux system, what is the difference between /dev/console, /dev/tty and /dev/tty0? What is their respective use and how do they compare?
2
votes
2answers
2k views

How do I fix an “unknown chipset” error when booting Arch Linux?

I have a laptop with this hardware: intel i5 nvidia 820m graphics card 64bit system with uefi boot I burned the Arch Linux ISO to USB, and I am getting the option to choose Arch on booting the USB,...
698
votes
5answers
164k views

What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?

I think these terms almost refer to the same thing, when used loosely: terminal shell tty console What exactly does each of these terms refer to?
2
votes
1answer
74 views

Create serial console on plug in USB serial device

I have a CentOS 7 headless system with no serial ports. I sometimes want to access the server using a serial cable, so I plug in a USB serial cable (to my laptop's serial port) but I can't get a ...
2
votes
1answer
68 views

Return to GUI from text console with many X11 servers?

I know the thread How to get out of TTY and into X session apparently about similar thing as here, and Command line to return to the GUI after Ctrl-Alt-F1 about chvt. I have Ubuntu 14.04 LTS. I run ...
1
vote
0answers
219 views

“map: vt01 => fb0” - what is that?

At startup of Rasbian on Raspberry PI, when console asks for login I can see the following text: map: vt01 => fb0 What does that mean? How can I disable it? (hide this message, I would only like ...
2
votes
3answers
2k views

How can I retain the console input in mplayer when reading from stdin?

I'm playing around with the command line interface of mplayer. I'd like to script it in the following way find /some/path/ -type f | grep -vif blacklist | mplayer -shuffle -playlist - where ...
2
votes
1answer
169 views

How to permanently disable root-password prompt for recovery mode, RHEL6

In the rare cases that a RHEL or CentOS 6 system is prevented from booting by (for instance) an improper shutdown, or a forced fsck-check failure on boot, the console will prompt the user for a root ...
2
votes
1answer
72 views

Find and replace using parts of the found string in the replace string

Let foo be any string. I have to search a file for all occurrences of \LeftLabel{foo} and replace each occurrence with \LeftLabel{\textsf{foo}} but only if foo does not start with a $ ...
6
votes
3answers
1k views

How can one switch to ttyX in virtualbox?

I run VirtualBox in Linux , running CentOS in it , and I can't switch to ttyX in the CentOS since I'll go to the ttyX in my Linux. Any solutions ?
5
votes
0answers
87 views

enable external display on FreeBSD console

tl;dr, I'd like to use the external display with FreeBSD 10.0 on an HP Pavilion g7-2270us. Don't care if it's mirrored or I have to select one or the other. Here's the symptoms: When a display is ...
1
vote
1answer
108 views

Enable mouse support in the console for applications that feature it in GUI terminals [closed]

Is there some general mechanism missing in text mode consoles but present in GUI terminals that I can enable for mouse-supporting applications? By "general" I mean not per-application (not application-...
7
votes
2answers
3k views

Tmux output is slower when vertical splits exist: why?

When I use Tmux and split the window into panes, I notice that programs are quite a bit slower to print out lines of text when there is vertical split (two panes side by side) than when there is a ...
0
votes
1answer
151 views

How to disable fade to black for the fullscreen console

After a while of inactivity the fullscreen console fades to black until I press a key. I want to disable the fade to black on my fullscreen console running in a VirtualBox. I'm running Debian 8 ...
2
votes
2answers
76 views

Parse terminfo u6 string

Looking at terminfo and Parameterized Strings. Some examples from infocmp -1 xterm: cud=\E[%p1%dB, given argument 13: \E =><ESC> [ => [ %p1 PUSH parameter 1 (13) onto stack %d POP and print ...
10
votes
1answer
1k views

How do I let an SDL app (not running as root) use the console

I want to use an SDL-based program to display graphics on the console, without having to log on from the console, and without running the program as root. For example, I want to be able to run it via ...
15
votes
4answers
9k views

use mosh without giving up local scrollback / history?

Is there a way to use mosh without giving up the local scrollback? Basically, in some circumstances, IP-roaming is indeed useful and needed, but the extra terminal emulation and key prediction seems ...
2
votes
3answers
362 views

copy from file and paste in the terminal without x server

I have got an Ubuntu Linux without x server installed on it (because it's only a gateway). I am requested by an application (ossec,-my question is not ossec related-) to paste information into the ...
7
votes
3answers
3k views

How can I check which terminal definitions are available?

The bulk of the question is in title, but to elaborate a little: On most Linuxes I can find /usr/share/terminfo -type f. But on Solaris machine I have nearby - this directory doesn't even exist. I ...
2
votes
2answers
142 views

Alternate screen on FreeBSD's sc and vt

By default, FreeBSD's virtual terminals (sc and vt) don't restore previous terminal content when exiting from a full screen app. Is there a support for this functionality? I've tried following ...
0
votes
2answers
247 views

Where do the logs directed to /dev/console go?

I'm studying RHEL 7. If I add this line to rsyslog.conf: kern.notice /dev/console Where will the messages with facility "kernel" and priority "notice" be logged? If I run this command: ...
9
votes
4answers
11k views

How do I connect a serial terminal to a KVM instance?

Perhaps I'm misunderstanding what KVM is capable of, but the ability to add/remove hardware on the VM seems to imply I can add a serial port that then acts as a terminal. So, my questions are: ...
2
votes
1answer
1k views

How can I make the TTY use the appropriate charset?

Note: forked of this per recommendation here. While I got the X keyboard layout right on my own after I fixed that stupid typo, I still can't set the console charset, key map, font map, or whatever ...
0
votes
1answer
705 views

How can I spawn a TTY text virtual console?

Due to (what I think is) some sort of bug on the Linux version (Kali v2.0) of my remote computer, my TTY text consoles do not start until I locally sit on the machine and press CtrlAltFn. I use to ...
1
vote
0answers
171 views

How to get the very first boot messages in high resolution

After upgrading to debian jessie I abandoned the proprietary nvidia drivers and switched to nouveau. I am using grub2 to boot. Kernel is 3.8.2 compiled from source. my graphics card is an nvidia ...
1
vote
1answer
75 views

How do I get the pid of the exact progarm launched

So I have a couple python programs say program A and program B, when using "pgrep python" to get the pid, it gives me the pid of both program A and program B. However, I am writing a program that need ...
2
votes
1answer
186 views

Ctrl+Alt+F1(F2,F3,F4…) doesn't work after /run was filled up

# uname -a Linux kali 4.0.0-kali1-amd64 #1 SMP Debian 4.0.4-1+kali2 (2015-06-03) x86_64 GNU/Linux # uptime 19:31:04 up 40 days, 4:38, 56 users, load ...