Questions about using the command-line interface in Ubuntu.

learn more… | top users | synonyms

0
votes
0answers
20 views

make boot sequence truly silent (Ubuntu 14.04)

So, on Ubuntu 14.04 using generic kernel, even though kernel parameters include "silent" option, on most boots the open source brcmsmac driver spews log data that makes boot sequence exit the splash ...
3
votes
4answers
66 views

How to copy a line in vi and paste it to console?

There is a text file with bash commands. Is there a way to copy a line from that file using vi and paste it to console? It may be nano as well. It is console only server installation. No mouse to be ...
2
votes
1answer
91 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 ...
5
votes
6answers
8k views

How to copy command console text?

I have used the wpa_passphrase command and I get something like this: network={ ssid="blahblah" #psk="moreblahblah" psk=d5e532ecca53ea963e5b3b5521bb3682c53fcf5b6d55f15622027145c795b661 ...
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 ...
4
votes
4answers
2k views

Console-based markdown reader

I am working on a remote server that only has a terminal support. There are certain markdown files that I would like to read. However, as I don't have a GUI support, I am in need of a markdown reader/ ...
2
votes
1answer
28 views

How to get caps and num lock lights to show when in console

I have recently noticed something rather annoying, when in console (in one of the TTYs), if I press the caps lock key, the little light which normally lights up to show me that it is, does not, nor ...
2
votes
1answer
15 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", ...
1
vote
0answers
24 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
560 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 ...
77
votes
9answers
22k views
3
votes
8answers
37k 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, ...
0
votes
0answers
80 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
160 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
50 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 ...
19
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
1
vote
0answers
23 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
69 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
93 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
799 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 ...
26
votes
5answers
42k 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
435 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 ...
7
votes
2answers
2k 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 $ ...
54
votes
5answers
97k 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
25 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
222 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
135 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
53 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
809 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
47 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
18k 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
221 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
736 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
71 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
654 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
92 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
48 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
66 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
57 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
541 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
206 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
898 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?
3
votes
2answers
2k 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?