Questions about using the command-line interface in Ubuntu.

learn more… | top users | synonyms

2
votes
1answer
8 views

Opened file Highlighting in Linux Ubuntu console

First(I am using linux in terminal, (console mode),(no graphical extension), like on server. The question is following: Is it possible to install some kind of script, that highlights "opened file", ...
7
votes
2answers
18k views

How do I disable messages or logging from printing on the console/virtual terminals?

My wireless driver is noisy. It prints out messages to the console every 10-30 seconds. So, if I'm working on VT1 or something, I get messages scrolling by all the time. Is there a way to shut this ...
1
vote
0answers
20 views

Sound is gone after booting system in text mode

I started using GRUB_CMDLINE_LINUX_DEFAULT="text" grub argument for my boots, and recently noticed that the sound is missing. I start GUI from terminal using startx command, here's my .xinitrc ...
131
votes
8answers
7k 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 ...
1
vote
2answers
524 views

Ubuntu Server disrgards console-setup when rebooting in VirtualBox

I found this weird behavior. In VirtualBox, Ubuntu Server 12.04 uses this font: I find that hard to read. Now I can run dpkg-reconfigure console-setup fine, and set the font to Fixed, then it looks ...
76
votes
9answers
21k views
3
votes
8answers
35k 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, ...
-1
votes
0answers
16 views

Console apps with hud support

As you know gnome-terminal is not supporting title change and also removed new tab button from options (hotkey works). Is there any other console programs that support unity menu (options accessible ...
0
votes
0answers
38 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 ...
7
votes
1answer
117 views

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

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: ...
2
votes
0answers
41 views

Why cannot open Ubuntu-tweak after installing Pantheon greeter?

My problem is I cannot open Ubuntu-Tweak (my OS is Ubuntu 14.04). Of course reinstalled from synaptic and nothing. Last thing I did was to Install Panther-greeter from Elementary OS, but didn't ...
18
votes
9answers
1k 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 ...
5
votes
2answers
2k views

How to set env with a dot?

I tried doing that with export and set env, but it did not work. how to do it? for example ~/directory$ export a.home=1 bash: export: `a.home=1': not a valid identifier
2
votes
1answer
54 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 I get a very cool looking font with matrix like symbols. But when I ...
1
vote
0answers
17 views

textmode 14.04 booting to uefi

Anyone able to get true textmode working while booting to UEFI? I"m able to get the legacy mode in textmode by changing grub wit the following. sudo gedit /etc/default/grub Comment the line ...
3
votes
1answer
60 views

Openstack-autopilot and enabling the console

By default the openstack cluster that comes up doesn't seem to have the console enabled. Trying to figure out what I might be doing wrong or what's up. Is there any more detailed documentation around ...
0
votes
1answer
77 views

I have no console output on boot ASROCK IMB-150

No video on boot I have a small industrial computer with an ASROCK IMB-150 Motherboard in it, running Ubuntu 14.04 server. Ubuntu boots up fine, but if there isn’t a screen attached at boot time ...
2
votes
1answer
786 views

Java console doesn't recognize arrow keys

I have some strange problems with a java console on my 10.04 server (it's actually the console of a minecraft-server, but I believe it's a general problem and not something minecraft specific): arrow ...
25
votes
5answers
40k 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. ...
5
votes
3answers
403 views

Amendable console output in Python

Some programs are able to amend console output, wget easily comes to mind. How can I do that in pure Python? I know IPython has clear_output(). I tried that but even that does not work. And I would ...
6
votes
2answers
1k views

How to stop gedit (and other programs) from outputting GTK warnings and the like in my terminal?

I am running awesome on trusty after having upgraded from raring. My desktop environment intentionally does not have all the Gnome / Freedesktop daemons running—I don't want them. When I execute ...
0
votes
0answers
56 views

Use terminal to run programs scripts a short and practice way [duplicate]

in window I know make this withe the cmd but in ubuntu it's not good I have a question about the Terminal. I want to ask how to call a program in the terminal $ ...
53
votes
5answers
93k 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
1answer
23 views

How to run any process from /dev/console?

I want to run any simple process e.g. ./test.sh which is printing date, but on /dev/console instead of /dev/ttyN or /dev/pts/N. How do I run this program on to /dev/console? Please Help...
0
votes
0answers
174 views

cannot enable Asterisk Manager Interface (AMI)

How do I enable the AMI for Asterisk? thufir@tleilax:~$ thufir@tleilax:~$ sudo cat /etc/asterisk/manager.conf [sudo] password for thufir: ; ; Asterisk Call Management support ; ; By default ...
0
votes
1answer
106 views

awk print output redirection

I am writing a bash script, and in that bash script I have a line similar to this: awk '/TextToBeMatched/ { print; print "TextToInsert"; next }1' "/Path/to/specified/file.extension" And currently ...
0
votes
0answers
48 views

Console Keyboard Issue

I just installed Ubuntu 14.10 64 bit on a VM (Vsphere). While everything is fine if I connect via SSH, the keyboard in the console is broken and I cannot seem to get it right. I tried to run ...
4
votes
5answers
794 views

How can I run a program and watch its activity using top?

I have a small program which I compiled myself. It’s CPU intensive, so I want to watch the CPU usage when it’s working. However, when I run ./myprog, I can’t run top immediately and sequentially.
0
votes
2answers
43 views

Screen goes blanks after boot options on 15inch monitor but it works fine on 19

i have a problem with Ubuntu 14.04. server ver. When i plug a 15 inch monitor, screen shows boot options and afterwards goes blank but the boot process continues and I'm able to log in with ssh. The ...
12
votes
2answers
14k views

How do I change the color for directories with ls in the console?

On my console the color for directories is such a blue, that it is hard to read on a dark background. How can I change the color definitions for ls?
0
votes
2answers
198 views

Ubuntu 14.04 stuck at console mode after graphics driver update

Actually I wanted to correct the well known Ubuntu brightness issue as addressed in this YouTubeVideo In essence, the guy says to change the Nvidia driver from open source to any other proprietary ...
1
vote
2answers
735 views

Black screen after installation [closed]

I have an Acer laptop with a Intel GMA4500MHD graphic card, after the installation of Ubuntu from an alternate install cd I get only a black screen after the grub selection pages. I tried something ...
0
votes
2answers
66 views

Compare names of files in two directories in command-line

Is it possible to compare names of files in two directories? I need to get information about how many similar and how many different names of files in directory some_directory and other_directory
1
vote
6answers
580 views

How to open a found file with vi? Piping 'find' output to vi [duplicate]

I have a file, /home/user/important.txt. To find it, I use: find /home/user -type f -name 'important' Then, I want to open the file in the Vim editor using a pipe. How can I do this? Something ...
1
vote
3answers
80 views

Running graphical programs in console mode

I want to use Ubuntu in console mode (ctrl + alt + f1) instead of the graphical interface. Is it possible to run a graphical program, such a browser or a game from it?
0
votes
1answer
30 views

Theoretical question about memory usage

I'm wondering about following issue: Taken some abc console(no matter if bash,zsh or something) in some *nix system. If I start some process stuff which uses 2MB of memory and then launch second ...
0
votes
0answers
15 views

Help with logging into console

I'm a new user, and I'm very happy so far, except for one hiccup - my laptop will not wake from suspend (if I shut case, or suspend through commands). I've tried everything I could find, changed my ...
0
votes
1answer
45 views

VNC Remote access like a graphical console

I've installed vncserver already. Now, I need access to the desktop by typing a username and password. Is this possible?
1
vote
0answers
64 views

Which package for console toggle bug?

I want to file a bug report on Launchpad about a problem with me not being able to switch to console view from the GUI loading screen on start up. When I try to toggle, the console view has been ...
0
votes
0answers
53 views

ubiquity equivalent in text mode?

Is there an ubiquity equivalent in text mode? Launching an alternate installation from DVD is not a solution for me. This is because the computer has been booted with a customized DVD (with an ...
16
votes
1answer
536 views

How do I produce a É character in the tty login prompt?

TL;DR : How can I produce a É character in the tty login prompt ? Long story : Ok so I was playing with the application "Unity Tweak Tool" to discover some nice features but at some point the whole ...
2
votes
1answer
2k views

How do I set up a background Image for console in ubuntu

Some of you may know this from opensuse. There the console is able to have a background. Is Ubuntu also able to have a backround image outside the x window system?
0
votes
1answer
175 views

TTY is not showing the login prompt

I just wanted to switch to a TTY via [Ctrl] + [Alt] + [Fx] but all I see is a blinking cursor. The login prompt doesn't appear. The getty processes are running. I even tried to modify the grub ...
0
votes
2answers
748 views
0
votes
1answer
27 views

How do I list the content of a directory in the terminal without a command?

In this video in the minute 16:10 he shows the content of a directory without a command. How do I do that?
2
votes
2answers
1k views

how to using dropbox-cli?

There is a command-line-interface (cli) to run dropbox from the console. Is there any tutorial or guide on how to use it?
1
vote
1answer
41 views

How do I disconnect from Byobu in a console?

I'm using byobu on the server. Then I logged in my kde I just close a tab with byobu session. But how I can disconnect if I'll use just console terminal? I mean one of Ctrl+ things.
1
vote
1answer
120 views

Extract icons from EPS file

I've got a grid of icons, stored in EPS file. There is something like 80 icons in there. I need to extract them from the file. Is it possible using imagemagick or something like that, without ...
1
vote
2answers
206 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 ...
1
vote
1answer
35 views

The display previous/next command shortcuts doesn't work

I read in some article that Ctrl+P - to display previous command Ctrl+N - to display next command But in my terminal it doesn't work. What might be a problem here? I really would like to display ...