Questions about using the command-line interface in Ubuntu.

learn more… | top users | synonyms

0
votes
0answers
3 views

How change command lines in Midnight commander?

I want to change midnight commander console size, but I don't know why it's not enable to change from the layout settings. please help me to do that. tnx.
1
vote
0answers
10 views

Ubuntu 12.04: C++ Program -> Broken Pipe -> Cannot get past Tty1

While I was running a C++ program (it involved SDL), the computer completely froze up; control C didn't work, and escape didn't work (I had it programmed that escape would close the program). So, ...
3
votes
1answer
4k views

Can't switch between Console mode and GUI

I'm new to Linux/Ubuntu and experiencing the following problem: I start my computer, and get to the GUI where I can login. When I click Ctrl+Alt+F1 I will get to the first of the consoles, everything ...
-1
votes
1answer
34 views

How to install Debian, only with console NO GRAPHIC INTERFACE! its a minimal install [closed]

HOW DO I INSTALL DEBIAN AND CONNECT TO A NETWORK ? Okey. I have my Debian on VirtualBox. The problem is that i need to connect Debian to the network. How do i connect it ? i'm trying but .. i don't ...
2
votes
6answers
16k 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
vote
1answer
3k views

Unable to run Tor even in terminal, Vidalia exit code 127

I'm using Ubuntu 12.10 (quantal) and I recently installed Tor (32 bits) following the instructions on the Tor project's page. Then I started the script after having it extracted from the console and ...
0
votes
0answers
6 views

Zsh fade and fire prompts don't look so smooth in yakuake as in gnome-terminal

I am using kubuntu 14.10 with yakuake and zsh installed. I like default fire/fade prompts included to the default zsh distribution. They look really nice for me, but I cannot make them look in yakuake ...
4
votes
3answers
1k 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/ ...
3
votes
1answer
46 views

How to zebra stripe the console?

I'd like the terminal to alternate the background color on successive lines, making it easier to see where one starts and the next one ends. This would be specially useful when reading logs with tail ...
15
votes
4answers
27k views

What is the default Debian/Ubuntu console (TTY) font called?

I'm currently running Ubuntu and a few other Linux distributions on my computer and since I use the TTY a lot, a good font is pretty important! Does anyone know the name of the default console/TTY ...
0
votes
0answers
14 views

Trying to install minecraft (Spigot Version) in Lubuntu Desktop

I set up a minecraft server super easily on my windows server. But Lubuntu is much harder! I have installed java, but I can't get anything to go from there! Nothing boots, I can't install a wrapper, I ...
5
votes
1answer
3k views

How can I set and get the tty console font?

1.How can I set the font and size of the TTYs? The command: dpkg-reconfigure console-setup allows me to choose certain fonts/sizes that cannot be installed (an error message appears after the ...
0
votes
0answers
14 views

How to stop erratic output in TTY1~6?

Whenever I try to log in and type my password, the console starts to output ^@ every split second, and it makes my entry invalid. I don't know why this happens, sometimes it "fixes itself" so I can ...
18
votes
4answers
22k 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. ...
1
vote
0answers
101 views

Serial Ports Not Working

I am having issues getting my console DB9 serial ports to work on an Ubuntu 14.04 LTS machine. I have a Megabyte motherboard, an Intel Pentium processor, and a 2-port DB9 serial card. I am ...
37
votes
4answers
47k 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
14 views

Console bug always showing on top

I'm using Ubuntu 12.04 with Unit 2D and got this problem with console, he stays always on screen top, I try click on a background program but console stay on top. I try click on console but the click ...
0
votes
1answer
27 views

Ubuntu mixed boot

I have a problem during boot my Ubuntu starts with console interface, then switches to GUI. In this video you can see how it happens: http://youtu.be/-Ps26OCwsgM Thanks for the help in advance.
2
votes
1answer
107 views

after Ubuntu 14.04 update Geforce doesn't work anymore

After I have updated yesterday Ubuntu 14.04 in a routine update my NVIDIA Gforce doesn't work anymore. I get the login screen but then it doesn't continue. Mouse pointer is showing, the background ...
0
votes
0answers
55 views

Is it possible to adjust console text size with framebuffer disabled?

I've just built an Ubuntu 14.04 based home server and I'm running it "headless" in that I normally connect to it over SSH. The server is based on a miniITX board and has onboard VGA video which was ...
0
votes
1answer
33 views

Unable to switch from between Consoles

I'm a novice but want to give linux a shot. I'm using the os again after a long break. I downloaded 14.04 and really like it so far. I just can't seem to get my gtx 750 ti card working. I have to ...
0
votes
2answers
37 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? After trying something, I wonder how to just ...
7
votes
1answer
1k views

How to hide console messages on shutdown?

I'm using Ubuntu 10.10 with kernel version 2.6.38-020638-generic. On the shutdown process when the desktop wallpaper is gone, there is always a black console printing some messages and then the ubuntu ...
0
votes
1answer
76 views

Switch from GUI to the command line interface/console temporarily

I want to switch off the GUI, and only leave the command line interface or it is also know as the CLI. How would I do this?
0
votes
0answers
16 views

Remove graphical terminal for netbooted image

How do I remove the graphical terminal on a netbooted ubuntu 14.04 based image? I built this from debootstrap and there is no grub because it's used a pxe boot process. Once it boots up the ...
0
votes
0answers
33 views

Stuck In Virtual Console: TTY1

I entered tty1 by pressing CTR, ALT +F1 but when I press CTRL, ALT +F7 I get list of items that look like this: *Starting.... followed by [OK}. How do I get back into the regular desktop?? Help, new ...
13
votes
0answers
21k views

How do I boot into console mode? [duplicate]

In previous versions of Ubuntu I could get the computer to boot into console mode by setting the variable GRUB_CMDLINE_LINUX_DEFAULT to "text" in the file /etc/default/grub and run sudo update-grub. ...
3
votes
1answer
367 views

Terminal TTY Ctrl-Alt-F# not working, only prints junk characters

I'm not sure what I pressed to mess this up. I was on tty1, but it doesn't look like I'm on tty1 anymore. When I press any key on the terminal it just prints weird letters. Pressing Ctrl-Alt-F1 ...
0
votes
1answer
46 views

Lost on installing Ubuntu on my laptop with an ATI graphics card

I just bought a new laptop and I wanted to install Ubuntu 12.04 LTS on it. The laptop has an ATI graphic card though which led to the problem of it simply black-screening and not booting. There ...
0
votes
0answers
19 views

iTunesToRhythm errors

I have executed some of the code in this link: https://github.com/esalgado/iTunesToRhythm But I am getting the error iTunesToRhythm.py: error: you must supply a source and destination It seems ...
0
votes
1answer
144 views

TFTP trouble: timeout before file found

I've installed TFTP to the best of my knowlege, and am trying to perform a basic function test of get uImage when run in normal user, I get permission denied, when using sudo it replies back ...
4
votes
2answers
22k views

How to show java plugin console

In windows, when I open a web page containing applet, icon of java plugin console is displayed in systray. But in Ubuntu, I don't find any way to show java plugin console. How can I open java plugin ...
7
votes
1answer
6k 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 ...
0
votes
0answers
1k views

Teamviewer not starting from command-line when using --passwd switch

Tested on Ubuntu 12.04 with Teamviewer v9.0.24147 (.deb package, 32 bits). Before starting the process: $ ps -e | grep "teamviewer" -i 2936 ? 00:00:00 teamviewerd If I then do: $ sudo ...
2
votes
2answers
82 views

Disable console access?

How do I disable console access to Ubuntu 12.04? I want to only allow login over SSH. I have searched the web thoroughly but no clear answer was found. EDIT: I'm talking about disabling physical ...
2
votes
2answers
1k 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 ...
0
votes
1answer
82 views

While loop in Shell

I want to make a while...loop statement in my Shell script like: while [ $line < $line_number ]; do echo $line done But there is an error. I think it is because I wrote it in bash code. But ...
0
votes
1answer
220 views

Execute script in sh mode instead of bash in Shell

I added my script called mylovelyscript.sh to /bin/ folder. My script contains code that echos text with different text colors. But when I run my script like $ mylovelyscript it executes in bash ...
1
vote
1answer
319 views

Console doesn't show pretty UTF-8 characters in Shell

I want to write some pretty, special characters taken from Web in my Shell Console with echo command. I want to write, for example, ▲ character, but it shows me ��� character. How can I solve the ...
0
votes
0answers
33 views

Ubuntu refuses to enter recovery mode

I just installed NVidia's latest version of their drivers for Ubuntu (13.10), which don't seem to work for me - I'm getting the 'system is running in low-graphics mode' dialogue box. I've tried ...
0
votes
0answers
14 views

Console when ubuntu starts up [duplicate]

When I start ubuntu up a purple screen pops up and then disapears again then a window comes up that says that I am running in low graphics mode. I click ok and then all I see is a black console. How ...
0
votes
0answers
92 views

console output during boot -> Ubuntu 13.10

I tried different options (nosplash noplymouth, removing 'quiet' and 'splash') in /etc/default/grub to disable purple background and display kernel messages in native resolution 1366x768 but nothing ...
0
votes
1answer
67 views

Command line tool file top: ftop?

On RH-epel there is an useful tool ftop to see file top, io and which files are used. Are there an alternative tools in ubuntu??
0
votes
0answers
57 views

Blank console after fresh install of 12.04.03

I have seen this question asked a number of times but none of the answers I've tried work for me. I've seen answers about Plymouth, about GRUB, and about VESA drivers so I screwed with all of that ...
7
votes
3answers
957 views

TTY[1-6]: Lock screen after delay (like a screensaver)

When using the virtual terminals on TTY 1-6 [*], it's sometimes easy to forget to log out: The screen goes blank after a while, but I'm still logged in - no password required, anyone can use my ...
0
votes
0answers
40 views

Configure terminal to use same set of hotkeys, no matter what shell is running inside of it? (Text navigation/selection/copy/paste etc…)

I have a set of keyboard shortcuts that I use all the time in every other application (browser, text editor, input fields in file manager, etc). They're not optimized by any means, but they're in my ...
0
votes
1answer
55 views

Login to command line [duplicate]

It's possible to perform a login ( with lightdm or anything else ) and enter directly in command line mode without enabling any GUI for the user ?
3
votes
4answers
1k 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 ...
0
votes
1answer
206 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 ...
4
votes
1answer
730 views

How to establish wireless connection from command line?

Can someone please tell me how I can establish connection to my WiFi network from the command line? (My desktop GUI is fried.) I've tried the following: sudo iwconfig wlan0 essid NETWORK_NAME sudo ...