Discussions on Linux system console in Ubuntu, as well as on TUI (text user interface). Questions about command-line interface shall be tagged with (command-line), about specific commands and text-interface programs – with tags appropriate to specific problem.

learn more… | top users | synonyms

0
votes
0answers
8 views

Ubuntu 16.04 Server console Dark

I have a home sever running Ubuntu server 14.04 with an attached monitor and keyboard that was working fine. I upgraded to Ubuntu server 16.04 and now the monitor is fine during the BIOS boot phase of ...
0
votes
1answer
95 views

Login loop on 16.04 and no access to console

I am using Lenovo Thinkpad P50 with dual booting system (Win 10 and Ubuntu 16.04), Wacom Pen support and multitouch screen. After I enabled the propriety nVidia driver (361.42?) and rebooted, I got ...
0
votes
0answers
11 views

Block internet acccess unless VPN is active

I need to connect ONLY through a VPN, so if the VPN is down or the connection to the VPN is lost there should be no routes to Internet available, is this possible? To exemplify: UBUNTU OS MACHINE ...
0
votes
1answer
14 views

PATH variable in different terminal windows

I note that if I have several terminal windows opened and in one of them I set path variable through bashrc: export APP_PATH="path_to_app" export PATH="$APP_PATH:$PATH" Then call: source ...
0
votes
0answers
24 views

Android console and mtp

I want to mount android storage to my console based Linux i.e I don't have any gui installed. I want to move files from android to linux.
1
vote
0answers
48 views

NVIDIA login loop and console login issues

I have issues with the Nvidia login loop. Logging in makes the screen go black and I am redirected back to the login page. I have found other posts that will help with the Nividia login loop, but my ...
0
votes
2answers
28 views

Ubuntu shows only console login after I start my computer [duplicate]

Ubuntu shows only login console but no gui login. Even though I entered right login user name and password, I can't login. I can't do anything with this. How can I resolve this problem?
209
votes
10answers
12k views

Terminal 'incognito mode'?

I use Terminal a lot, and sometimes I am running commands, which aren't things I don't want others to see, but more commands that if I accidentally arrowed up to and accidentally executed would cause ...
0
votes
1answer
38 views

Ubuntu server boots to Console but nothing more

My Ubuntu server just boots to the console and then I can't log in or do anything. It just gets stuck in a boot loop, I have Gnome installed as a GUI. This happened after I used the command sudo ...
1
vote
0answers
14 views

Why does Ubuntu send log info into GNU Screen?

I have several Terminal windows open. Inside one of those terminals, I'm running GNU Screen with multiple "tabs". Inside one of those tabs (the one that's active), sometimes logging info appears, e.g. ...
11
votes
5answers
54k views

How do I start the MySQL console in XAMPP?

The XAMPP installation is done. XAMPP is up and running. What about the MySQL console? How is possible to start the MySQL console to run some special SQL statements?
8
votes
2answers
72k views

How can I set my Ubuntu 12.04 LTS to boot to console without GUI? [duplicate]

So I installed Ubuntu server to run some tests on a VM. For various reasons I couldn't get a specific DEB file, and instead of using a shared folder I decided it would be a good idea to install ...
0
votes
0answers
17 views

Change default console position in CodeBlocks

It's so annoying to drag it over and over again. How to change default position of a console?
0
votes
0answers
17 views

Correct display of devanagari script in console

Running Lubuntu 14.04.03. Attempted display in Hindi in console apps and in gvim is unsuccessful in various ways. xterm and uxterm both completely fail to display Hindi, showing empty space instead ...
0
votes
0answers
12 views

Is there any tools like pfsense for setting up internet usage limit

My internet connection is limited to 150gb per month so I need to limit user's internet usage to 1gb or something like that.
1
vote
0answers
28 views

How to set the console font size? [duplicate]

If I enter the command ctrl-alt-f1 The first console is displayed. The default font of this is way to small and I want to reset it. On other Linux and Unix like systems I can easily do this ...
0
votes
1answer
24 views

I'm never ever able to login to my console (Alt + Ctrl + F1)

I'm not able to login to my console from a long time. Facing this issue with pc and my laptop too. I thought this could be my Keyboard layout problem because my keyboard is 13 years old yeah even ...
14
votes
4answers
74k views

Proper way to change terminal resolution in Ubuntu Server 13.04? [duplicate]

I'm running Ubuntu Server 13.04 in a VMware VM running only in command-line mode (i.e. no GUI). It defaults to a 640x480 screen resolution, but I'd like to increase that to either 800x600 or 1024x768. ...
0
votes
0answers
53 views

How to fix Intermittent Corrupted Display of Text in Console and Elsewhere

For unknown reasons, a little while ago my computer began to display slightly corrupted text in the console. The font is just barely able to read, like random bits of the characters got switched ...
1
vote
0answers
32 views

i915 frame buffer console cannot be set to 800x600? (Lubuntu 14.04)

I have an Intel Atom (N525, Cedarview) based mainboard which I'm trying to use with Ubuntu (Lubuntu, to be exact, but the problem should exist in the normal version as well). I use the kernel drm and ...
3
votes
3answers
140 views

Terminal lines shown during scrolling, use CLI

Long listings are only partially shown since the amount of lines remembered isn't too large. I'd like to cancel the limit of lines in a similar way to the following: Terminal limits scrolling How do ...
31
votes
7answers
62k views

How do I increase console-mode resolution?

I've recently clean-reinstalled Maverick on my computer. It uses propietary Nvidia drivers. Everything runs just fine, except that I'm seeing lots of ugly text when booting and shutting down Ubuntu. ...
16
votes
3answers
19k views

Prepend current git branch in terminal

How can I configure the terminal to display the current git branch? I'd like to see the second line rather than the first: andy@bob:~/my_projects/project_x$ (master)~/my_projects/project_x$ I ...
100
votes
10answers
45k views
7
votes
10answers
58k views

How to use sshpass?

I need to use sshpass to launch a remote command through SSH from a Java code. If I manually type in a console: ssh -p 22 user@ipaddress mplayer '/media/data/myFavouriteSong.mp3' works perfectly, ...
2
votes
1answer
45 views

In ubuntu server, clear console when returning from application

In the console in Ubuntu Desktop, when I return from an application like Vim or Tasksel, it clears the application and the console picks up where it left off before the application started. In Ubuntu ...
0
votes
1answer
43 views

Console login not working

So I'm having some issues with Ubuntu that require console login. My screen will show up saying: Ubuntu 14.04 LTS excite-frags (my username) tty1 excite-frags login: So whatever I try, with the right ...
0
votes
1answer
50 views

Can console be suspended and ask for a password on wakeup?

Although I suspect that this is not currently possible, I would just like to ask because it would be something very useful in my opinion. Because when I close my lid and I am in the GUI my computer ...
11
votes
5answers
12k views

What is the bash equivalent of DOS's pause command?

I need a pause on a shell script to show a warning before continuing. For instance, on DOS it goes like this: doit.bat: [...] echo 'Are you sure? Press Ctrl-C to abort, enter to continue.' pause ...
0
votes
1answer
67 views

can't access my Ubuntu server after I changed the SSH port

I can no longer access my digitalocean server running Ubuntu: I changed the SSH port from 22 to 36734 this way: nano /etc/ssh/sshd_config and I changed the port from 22 to 36734 Then I ...
5
votes
1answer
42 views

How to make a computer running on runlevel 3 ask for password when waking up from suspend in X?

I have recently set runlevel 3 as a kernel parameter instead of runlevel 5, though this has caused a little bit of a problem... Because when I execute startx and then once the GUI has loaded, if I ...
4
votes
1answer
31 views

Can one get a mouse for the console?

Although I mostly have no use for a mouse in the console, and I go there to get away from the GUI, I would like to know if there is some sort of mouse that one can get in there? So is there like any ...
0
votes
2answers
73 views

CLI only Ubuntu? [duplicate]

I am currently running Ubuntu GNOME 15.10 with GNOME 3.18, and I really dislike having a GUI startup by default, however I don't want it fully gone. So is there any way to just stop the GUI starting ...
3
votes
1answer
33 views

Return to GUI without Ctrl+Alt+F7? (my F7 key doesn't work)

my problem is that I can't return to GUI when I am in a console (Ctrl+Alt+F1,2,3...) because a beer destroyed my F7 key. Is there any other way to return to GUI without starting a new one (and having ...
-2
votes
1answer
289 views

15.10 Console font (Fixed)

I have noticed the console font change in 15.10 from Terminus (15.04 and previous) to Fixed. When Fixed is okay, it is quite ugly and Terminus was way better. I'd like to know what the 'safest' way ...
25
votes
9answers
3k views

How to display more than 1 terminal simultaneously

Sometimes when I work I use more than one terminal and I find it inconvenient to switch between them when all of them were invoked using Ctrl+Alt+T. I wonder if there is any program or terminal that ...
4
votes
1answer
671 views

How to run cmatrix without error using '-l' option in Terminal (not console)?

I have installed cmatrix using the command: sudo apt-get install cmatrix And when running the command: cmatrix -l In console (the ttys) I get a very cool looking font with matrix like symbols. ...
3
votes
5answers
4k views

How to select and copy content from the terminal (ATL + CTRL + F1)

When in the 'lower level terminal' (not sure how this is called), the one opened by pressing Ctrl + Alt + F1, how can I copy the content of the command I used there, since there is no mouse and I can ...
67
votes
5answers
136k views

Running programs in the background from terminal

How do I run a program in the background of a shell, with the ability to close the shell while leaving the program running? Lets say my UI is having problems or for some reason, I need to boot up a ...
0
votes
0answers
216 views

openvt: “Couldn't get a file descriptor referring to the console”

I try to run openvt -- ls -l but I get the following error: Couldn't get a file descriptor referring to the console What does it mean, and how to solve it?
8
votes
1answer
496 views

How do I get cmatrix to turn on after a certain period of inactivity in console? [duplicate]

I have got the console screensaver cmatrix, and I was wondering if there is anyway of getting it to turn on after a certain amount of inactivity in the console you are in? OS Information: No LSB ...
4
votes
0answers
22 views

How to take a screenshot of a TTY while unable to execute code in it? [duplicate]

I want to run something in one TTY and then take a screenshot of it from another TTY (because it won't let me run something else in the same TTY that I am running the thing in that I want to take the ...
0
votes
1answer
62 views

Java console running in a screen autostart on Ubuntu

[Ubuntu 14.04 no desktop] I have a java console application, and I need to run all time (1st problem), as well as I can re-access the console whenever I want (2nd problem). To solve the second ...
7
votes
3answers
3k views

Is possible to run the jsc (JavaScriptCore) utility from the command line in Ubuntu, like in OSX?

In OSX there is a hidden utility called jsc, part of WebKit, that can be used to run JavaScript code on the command line. It can be used as a JavaScript console, like irb for Ruby. I have the ...
6
votes
2answers
7k views

How to enable display of framebuffer images (e.g. in w3m, fbi) within byobu (pts)?

I'm trying to run a minimal Ubuntu 13.10 installation without X Window System on my old laptop. One of the most useful tools I rely on in this setup is byobu; however, it seems to prevent me from ...
2
votes
2answers
1k views

Resize font on boot message screen and console

I have a high resolution screen on my laptop (3200x1800px) and I disabled the boot-image ( How do I disable the boot splash screen, and only show kernel and boot text instead? ) I also managed to ...
0
votes
0answers
31 views

Ubuntu console does not respond to any command

ron@ubuntu:~$ sudo npm install npm -g ron@ubuntu:~$ npm -v ron@ubuntu:~$ sudo npm update npm ron@ubuntu:~$ npm update npm The console does not obey or respond to any command line. I have tried ...
0
votes
0answers
20 views

Messed up Graphics is Aptitude and Whiptail from console

Hi I just installed ubuntu server 15 32-bit and when I run aptitude or whiptail the graphics where the lines should be are messed up. [ I cannot work out how to fix this issue. My locale settings ...
0
votes
0answers
91 views

How do I set console to support Chinese or Japanese natively?

The console means the system doesn't load X-window, it is text mode. I spent some time to search information on the web, knowing that a little history of issues of localization -- the character set ...
0
votes
0answers
277 views

Fixing console font

Ever since I upgraded my minimal installation to 15.04, the console has been using a VGA standard font instead of the normal font. After entering sudo dpkg-configure console-setup and selecting "Let ...