Questions about using the command-line interface in Ubuntu.
-3
votes
0answers
26 views
Not allowing root login is brain damaged. Why can't I see my enabled root login at the console? [closed]
This whole we know better than you what security you require really is wayy too Soviet Communist for me. I can login through putty as root, but the console doesn't have that option. The guest ...
0
votes
0answers
12 views
Has anyone got a Novatel CDMA modem to work in console only?
All the information I can find on CDMA modems and using the Novatel Wireless modem via USB are for use with Network Manger. For my purposes I need to be able to use the console to do this. The box is ...
2
votes
2answers
87 views
How do I setup two cron jobs to run every night at 3:00 and 3:10?
I have an ubuntu home server running virtual box. I have virtual server running on that box that I am having problems with. For now I don't have time to troubleshoot the actual issue but I have ...
-1
votes
1answer
356 views
No virtual TTY on 13.04 (fglrx) [closed]
my tty (ctrl+alt+f1,f2) don't work. They're not just black, they don't react at all. No cursor, no nothing.
dmesg gave me these errors but Google didn't seem to provide a good answer.
My current ...
0
votes
0answers
22 views
How to change console keymap permanently?
I've already used the system settings to (persistently) change my keyboard to Dvorak while in the X window system (it even applies to the login screen,) and I can change the Console keymap via sudo ...
1
vote
2answers
60 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 ...
2
votes
4answers
323 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.
...
2
votes
2answers
38 views
How to pass text file contents as argument to console application?
What is the command line to run a console application with input argument fed from text file?
text_file:
This is a simple text file with characters and other
symbols including tabs and new lines
...
0
votes
0answers
22 views
disable display power saving on primary screen
Hi I would like to disable my linux server power save function. I was running a console program constantly generating screen print out. and after a while the power saving ticks in to turning off my ...
0
votes
1answer
76 views
Most important commands to know? [duplicate]
Got myself into trouble today - put rhythm box into party mode and I could get it back.
So I was stuck.
I hit ctrl alt del thinking that something like task manager would come up so I could kill ...
0
votes
0answers
38 views
Major Console Bug! No fix anywhere on google?
Ctrl + Alt + F1-F6 consoles are not working for me. The only thing it's bringing up is a black screen (Nothing can be typed or done whatsoever at all). It has done this since ubuntu 12.04? (I don't ...
0
votes
1answer
355 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
124 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
522 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 ...
1
vote
0answers
31 views
Console shows on shutdown/logout
When I shut down, I will see a black screen with console text for about one second. After about one second, it goes to the splash screen and shuts down normally. I see the same console when I am log ...
1
vote
0answers
24 views
Non-graphical tty's not stretching full screensize
on tty7 (graphical environment) nothing's wrong, I can enjoy the whole pixels of my screen which is the main thing.
But here's something a bit annoying, when I switch on terminals from 1 to 6, the ...
3
votes
0answers
93 views
How can I create a new profile for Gnome terminal via command line?
As everybody knows you can create a new profile by the menu where you get asked which existing profile should be the parent for your new profile and so on.
But how should I create a new profile by the ...
0
votes
0answers
35 views
Problem with console appearing after Ubuntu starts
Sorry for grammar mistakes. Last day I installed Ubuntu (version 12.04). After updating ~230 mb I restarted my pc and then:
On the violet screen I cant see a logo of Ubuntu
On grey field there are ...
1
vote
1answer
293 views
Console prompt during boot (for truecrypt)
In short: Please provide me with a up-to-date best practice solution to mount my Truecrypt volumes at boot with secure password prompt! I may accept a answer that has nothing to do with Truecrypt and ...
0
votes
0answers
154 views
Login loop after update to 12.10 in lightdm and also at console
i recently updated ubuntu to 12.10 and i am stuck with the login window in lightdm.
It just kicks me back to the login screen.
When i try to log in to the console with CTRL+ALT+F1 there is the same ...
5
votes
1answer
60 views
How do I Record a console session?
I know how to get to the console on my computer by pressing Ctrl Alt F1 - F6.
When I run a screen recording program and switch to console and then switch back by pressing Ctrl Alt F7, I save the ...
0
votes
0answers
157 views
slow console typing during SSH sessions [closed]
I've recently moved from Fedora to Kubuntu, all was fine (almost) until I've did last update today. I assume this change caused slowness. Basically when I'm working in console on my localhost all is ...
4
votes
2answers
285 views
How do I compile/run C++ code in the console?
I'm trying to run my C++ code using the console. I used the header file conio.h like I did when I used Turbo C++ IDE in Windows, and I ran the code in console using
g++ filename.cpp
I have ...
0
votes
1answer
24 views
Execute a jar at console from another folder
I'm writing a Python script which at certain point needs to launch a jar file. So I was thinking about making a system call with command:
'./myjarfile.jar'
The problem is that I have that jar in a ...
3
votes
1answer
637 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 ...
1
vote
1answer
80 views
Restore GUI workspaces
I accidentally press Ctrl + Alt + F4 while I was doing normal tasks in my Ubuntu 12.10. The key combination took me to Console UI. From the console, I logged in and did startx but the output GUI ...
0
votes
0answers
102 views
Editing / Changing the Functios Keys (F1-F12) in Ubuntu 12.10 (console)
I need to edit the funcions keys in the console of the Ubuntu 12.10 Server (tty1 to tty12).
The emulation is VT220.
Is this posible ??
For example
F1 = ^[OP Change to ^[[M
F2 = ^[OQ Change to ...
0
votes
0answers
23 views
How to run a specific comment on error in makefile
I have a makefile, and i like to run "beep" or better "paplay xxxxx" when the lessc compiler has a error. Is this possible?
DATE=$(shell date +%I:%M%p)
CHECK=\033[32m✔\033[39m
...
1
vote
2answers
133 views
How to run app “quietly” on ubuntu vps via ssh
I have an ubuntu vps and I want to run an app through ssh but I want to do it "quietly". I mean, when I for example start top, it is displayed in my ssh console and I don't have access to my vps ...
1
vote
1answer
217 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 ...
1
vote
1answer
146 views
Going to a virtual terminal disables Vim color scheme
When I'm going into a virtual terminal my Vim color scheme is ignored.
I've configured it by following this blog.
Heres all of my ~/.vimrc
if $COLORTERM == 'gnome-terminal'
set ...
2
votes
2answers
129 views
How create a keyboard shortcout to launch an .jar file with Oracle Java 7 Runtine?
I know how to create a keyboard shortcut to launch an application. (All Settings->Keyboard->Shortcuts->Custom Shortcuts)
I know how to run .jar files from Nautilius. (Right click->Open with Oracle ...
1
vote
1answer
186 views
X server doesn't restart
I recently installed nvidia's cuda toolkit in ubuntu 12.04. After restarting the computer, it stays in console mode. When I run sudo service lightdm restart, it gets stuck mid execution and the ...
1
vote
0answers
60 views
less/pager does not trap keys, how do I work around it?
I have Ubuntu 12.10 installation in Virtualbox. Sometimes anything using pager (less, man) just acts funny and seem to fail to "trap" keys, ie. scrolling, searching etc does not work. Instead control ...
1
vote
0answers
111 views
Weird output of 12.04 server on terminal from the start
I'm trying to install XBMC on Ubuntu 12.04 LTS server. After installing nvidia-current and xinit, the machine boots up in text mode, no surprise there, but just prints bogus letters like shown in the ...
2
votes
2answers
845 views
How do I boot into console mode (redux)
I'm running Ubuntu 12.04. This question was asked some time ago, but the answers didn't work for me.
The standard way to boot into console mode used to be to edit /etc/default/grub and set ...
2
votes
0answers
2k views
Ubuntu 12.10 TTY console (Ctrl+Alt+F[1-6]) not working
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
1answer
57 views
Characters missing in console
I am working on implementation of an SIC-XE assembler with my friends. Those guys are using windows and codeblocks while I am using ubuntu 12.04 and codeblocks(both using version (10.05).
This is a ...
3
votes
1answer
406 views
Boot computer to text mode using kernel parameters
Referring to this question:
How to remove the graphical user interface?
The answer of modifying /etc/default/grub to have GRUB_CMDLINE_LINUX_DEFAULT="text" would be great, but unfortunately I don't ...
2
votes
1answer
289 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 ...
2
votes
1answer
133 views
Suspend after delay via SSH
I know how to suspend after a delay by using:
echo 'pmi action suspend' | at now + 1 minutes
However, that only seems to work as long as I keep the console window open. Am I correct in assuming ...
9
votes
4answers
422 views
How to find out who is using the physical console?
I would like to use a script to find out the username - of the user who is currently on the physical console (who has command of the keyboard, mouse and graphical display)?
I do not just want to ...
1
vote
0answers
127 views
Wine application runs from generated Launcher, but not from console
I have installed a Windows application through wine, and it launches perfectly through the generated launcher, however, when I use the exact same commands the launcher uses, but to invoke the program ...
3
votes
1answer
543 views
How do I display Chinese/Japanese characters in a Linux VT console?
I have an installer program which runs in a default Ubuntu 12.04 Linux VT console and uses the "dialog" program to display simple graphical input boxes. After the user selects either Chinese or ...
0
votes
1answer
109 views
Emacs package without GTK
Is there, in the "regular" Debian/Ubuntu repositories, a package for emacs without GTK support? I'm on a server and would like to install only the console version, without a dozen of unneeded ...
2
votes
1answer
670 views
GUI works but the console's (CTRL-ALT-F1-F6) “don't”
I just upgraded to 12.04 and have just noticed that the tty sessions tty1-tty6 accessed via F1-F6 have a distorted graphics output whilst the GUI F7 and terminal windows within the GUI work fine.
It ...
0
votes
0answers
208 views
Ubuntu cakephp 2.2 console path set
I am currently using Ubuntu 12 and trying to run cakephp's latest stable version, cakephp 2.2 and bake my files from console.
When i type cake bake, it shows old console version as below:
Welcome to ...
2
votes
1answer
146 views
Console output mixed with X Screen after 12.04 Upgrade
I've just upgraded from 11.10 to 12.04 and I'm seeing console output on my X screen. It's not legible but sometimes I can even see the cursor blinking. I'm also running a multi-seat system and I see ...
2
votes
1answer
294 views
How do I *temporarily* change the *console* keymap to dvorak?
I type dvorak, but I don't like to confuse other users by having it be a system-wide default.
I have a script that runs setxbmap dvorak that I can call when I want dvorak and likewise another script ...
3
votes
3answers
18k views
How can I set my Ubuntu 12.04 LTS to boot to console without GUI?
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 ...
