Questions about using the command-line interface in Ubuntu.

learn more… | top users | synonyms

0
votes
0answers
26 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. ...
2
votes
1answer
3k 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 ...
0
votes
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 ...
3
votes
1answer
354 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
43 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 ...
4
votes
1answer
2k 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
17 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
35 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
19k 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
5k 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
345 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
56 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
573 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
63 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
73 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
163 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
19 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
13 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
72 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
39 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??
1
vote
3answers
11k 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
41 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
881 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
32 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
35 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
157 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
665 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 ...
0
votes
1answer
498 views

How to change eclipse console output color?

I am running eclipse on Ubuntu 12.04 and I'd like to change console output color. I tried to edit it via Preferences>Run/Debug>Console>Background color but it doesn't work. Is there some other way to ...
0
votes
1answer
85 views

How do I boot to console with Refind?

I am using Refind to boot into Ubuntu 13.04 on a Macbook Pro (8,2). However, I seem to have messed up my install to the point where Ubuntu no longer boots (I get a flashing underscore but no text ...
1
vote
1answer
51 views

Other backgrounds for tty Concoles?

I have in ~/.bashrc: if [ "$TERM" = "linux" ]; then echo -en "\e]P0232323" #black echo -en "\e]P82B2B2B" #darkgrey echo -en "\e]P1D75F5F" #darkred echo -en "\e]P9E33636" #red echo ...
0
votes
0answers
26 views

Does the “Remote Login” function allow connection to VPNs?

Does the "Remote Login" function allow connection to VPNs such as Linode? I've never had a VPN before but I am looking in to buying a Linode and I'm wondering if Remote Login allows easy access. ...
1
vote
2answers
1k views

Is there a command that frees up RAM?

I was wondering if there is a command that frees up cached RAM I often have 1GB cached RAM when I only have 1.7GB of RAM, and when I start an application like Minecraft (uses a lot of RAM) and the ...
0
votes
0answers
20 views

Normal Password not accepted in console session

Home screen account/password are not accepted in console mode? Is there a trick to this? I enter the exact cred's after entering console mode but it won't accept cred's there. Do I need to stop it at ...
4
votes
2answers
4k 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 ...
3
votes
0answers
4k views

Ubuntu 12.10 TTY console (Ctrl+Alt+F[1-6]) not working [closed]

I've been a Ubuntu user for some time now. I have a very annoying problem, I have no idea what causes it, and I haven't managed to find anything relevant after Googling like crazy. The problem is my ...
0
votes
0answers
12 views

How to change package configuration background/colors?

I want to change these colors : Package Configuration Can anyone help me?
0
votes
1answer
165 views

How to make ubuntu as the second Operating System

So, I installed Debian (my dad installed it, i dont know, i am just 13), 2 months ago and after that installed Ubuntu (I installed it!!!) alongside debian by re-sizing the partition. Now, the Ubuntu ...
1
vote
3answers
948 views

How to enable the blender console?

I have installed Blender 2.65a from its official site but am unable to activate the console for python. I'm unable to run in terminal since it is not installed from Ubuntu Software Center because it ...
0
votes
0answers
21 views

Why are the textbased consoles (as normally available from ALT+F1 upto ALT+F6) unavailable when the NVIDIA driver has an issue?

I have already had a lot of issues with the proprietary NVIDIA drivers (most often after upgrade of the driver or the kernel) , they are very cumbersome to resolve, especially because most of the time ...
0
votes
0answers
37 views

Ubuntu Installer with Serial Console Support

I am looking for installer to install os, using Console cable, and can't find solution in whole google world. Please tell me if someone has installed ubuntu x64 (desktop or server) using just console ...
1
vote
0answers
212 views

13.10/SiS 771/671 Consoles (ctrl-alt-f*) aren't working in fallback mode

I'm installing Ubuntu 13.10 in an old computer with a SiS 771/671 video board. It's too old to run Unity, so I had to use fallback mode. The startup and desktop are ok, but when I try to use to the ...
0
votes
0answers
306 views

Problem with Ubuntu Server 12.04 Screen Flashing(Blink) and Full of text(Console)

After I installed Ubuntu Server 12.04 about one hour ago, I have a problem with the screen flashing (blinking) and being full of text that I don't know what it is. byt When I boot up in Recovery ...
0
votes
1answer
41 views

Read only n first lines from something

When I'm saying something like curl http://example.com/123 and I want to read only n first lines, how do I do that? I know that's something like: curl http://example.com/123 | ???
1
vote
1answer
347 views

How to disable high-res Grub2 and Linux Console?

I am trying to install Ubuntu 12.04.3 LTS (32 bit server) on an embedded computer that uses the Intel N2800 CPU and chipset. I know there is no video driver for this chipset, but I don't care because ...
0
votes
0answers
24 views

Could aptitude or tasksel be forced to show download and install progress bars for all packages?

Is There a Way to force Tasksel or aptitude to show a progress bar regardless what package will be installed. Are there other ways to visualize installation processes with dpkg or something similr?
14
votes
2answers
19k 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
2answers
661 views

Hercules DJ console MK4

I have a Hercules DJ console MK4 at home and I would like to use it in Ubuntu because I prefer this over Windows. I know it isn't officially supported but does anyone know any method to do this? I'm ...
0
votes
1answer
492 views

how to switch between unity and gnome (or recovery console) from serial-console

i am currently working over a serial-console (from desktop computer to a developing board)... i tried switching between this three visual alternatives: unity, gnome and recovery console (using the ...