Questions about using the command-line interface in Ubuntu.

learn more… | top users | synonyms

0
votes
1answer
514 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 ...
0
votes
1answer
65 views

Add a database to use with locate command?

I would like to know if anyone knows how I can create a database of a file system on my computer. so I can choose this data base to search for files on this file system efficiently. I ask this ...
3
votes
1answer
336 views

launching a program from bash causes bash to go to new prompt

When I run a program from the console, e.g. me@box:~$ firefox I expect the console to log error messages (I think this is std out or std err?) and other items from the program, firefox in this ...
1
vote
1answer
76 views

MacOS-style Opening files via console with their default applications

Is there are way to use the MacOS command open to open files with their default applications like e.g. open mytext.pdf or open myprogramm.java. Can Ubuntu be extended in this way?
3
votes
1answer
801 views

Redirect stdout and stderr to separate screens with dual monitors

In ubuntu, How to dedirect stdout and stderr to separate screens with dual monitors?
4
votes
1answer
2k views

Can't change theme of ZSH in Ubuntu 12.04

I have changed the theme in my ~/.zshrc file however whilst some of the colors in the prompt change the text size and background color remain as the Ubuntu default. Any one know how I can override ...
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 ...
1
vote
0answers
47 views

While during the Upgrade, some Errors occured, is it Problematic? [duplicate]

Possible Duplicate: My system is totally messed up. What is the best course of action? Errors on these - x11-apps, xorg, ubuntu-desktop, bash-completion, console-setup, ubuntu-minimal ...
0
votes
1answer
903 views

How can I setup Ubuntu (and my home network router settings) so I can SSH to Linux console window?

I installed Ubuntu version 11 not too long ago. I now have that computer running on my home network and it has it's own internal IP address on my home network behind a LinkSys Router. How can I ...
3
votes
1answer
3k views

Screen went black

I'm new to Ubuntu.. I'm not sure what just happened, but the screen just went black with the text: Ubuntu 11.10 "my computer name" tty4 and I was asked to log on. It happened when I closed Chrome ...
1
vote
2answers
645 views

Why do people use console-based file managers? [closed]

To keep this question specific and on-topic, let me preface this by stating my intent is not to go into pros and cons of using one type of file manager over another. However, it is clear a ...
1
vote
2answers
1k views

How do I enable 132x50 text mode for console instead of 80x25?

What parameters do I have to set in /etc/default/grub in order to boot by default in 132x50 and verbose.
0
votes
2answers
1k views

How to start application from command line without blocking but move the focus on it?

I am trying to start a file compare application from the console by runnning bcompare ... & but this will start the application without activating it (focus). Is there a way to start it and ...
9
votes
3answers
7k views

Debugging: Console Output and Upstart Scripts

How do you send the output of an upstart script to a terminal so to find tracebacks in python code? It's taking me for ever to do things without trace-backs that used to take just a second. I'm ...
5
votes
1answer
2k views

Starting awesome-wm when using startx?

I uninstalled gnome-session-fallback and gdm, when I start the machine, it boots in console mode. I can log in normally. Using startx starts up the remnants of GNOME that are still on my machine (a ...
5
votes
2answers
5k 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 ...
1
vote
3answers
2k views

Special symbols are not displayed on TTY

I have a console application which is displaying special symbols like ☢ ☍ ⌘ ✰ ⣿ ⚡ ☯ ⚑ ↺ ⤴ ⤵ No matter where - putty(UTF8+Use Unicode line drawing, but I guess it's not client issue), local ...
0
votes
1answer
527 views

How to remove console-tools completely?

After removing console-tools using apt-get --purge remove console-tools I am getting the following error during boot init: Failed to spawn console-setup main process: unable to execute: No such ...
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 ...
1
vote
0answers
428 views

How to set console resolution of Ubuntu server 10.04.03 LTS running on ESXi5 / vSphere client console [closed]

After searching the Internet for similar problem or even a solution, I have to post my question here in hope that somebody had the same problem and solved it. My scenario: ESXi5.0 server with Ubuntu ...
3
votes
2answers
301 views

alt-tab completion while using SSH

I just recently discovered that pressing alt-tab on a console window allows me to autocomplete from the last commands and parameters I used. Very useful! But when using SSH from Windows this feature ...
0
votes
1answer
151 views

Using a custom list for autocompletion (e.g., a list of files)

what I would like to do is when I write inside on console a command, for example. ls file1.txt folder1 folder2 then I write cd (I hit some magic shortcut and I can access using down ...
5
votes
2answers
2k views

Is possible to run the jsc (JavaScriptCore) utility from the command line in Ubuntu, like in OSX?

In OSX there is a hidden utility called jsc, part of WebKit, that can be used to run JavaScript code on the command line. It can be used as a JavaScript console, like irb for Ruby. I have the ...
1
vote
2answers
541 views

How shutdown the computer from console with option to cancel?

I want close the gnome session and shutdown the computer when the downloads finish but I want to show the shutdown window to can cancel it in some cases. I use: gnome-session-quit --power-off --force ...
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 ...
3
votes
1answer
10k 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
250 views

How to set console TTY1 to CP437? [closed]

When I do dpkg-reconfigure console-setup there isn't the CP437, how can I enable it? I've installed the console-data package, put the ACM cp437 on the /etc/default/console-setup, rebooted and run ...
6
votes
4answers
23k views

How do I start the MySQL console in XAMPP?

The XAMPP installation is done. XAMPP is up and running. What about the MySQL console? How is possible to start the MySQL console to run some special SQL statements?
12
votes
6answers
743 views

How can I grep through tab completion possibilities?

When I press tab in a console I get this output Display all 2957 possibilities? (y or n) Is there any way to use grep on these 2957 possibilities? I would like to search for all commands with ...
0
votes
1answer
342 views

How do I auto run a program when I log into a specific console?

I would like to automatically run a program when I log on to a specific console (tty1) and no other. I am running Ubuntu server 10.10 (no x) and I added the following line to my /etc/init/tty1.conf ...
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/ ...
2
votes
1answer
419 views

No local console (just Ubuntu start screen) after today's kernel update to 3.0.0.14

Most services are running, and I can ssh to it without problems. Just have no local consoles (cannot CTRL+ALT+F1,F2...) and no graphic session either.... Looks like somethings not playing nice with ...
8
votes
2answers
16k views

How can I increase the console resolution of my Ubuntu server

I am running an Ubuntu server inside VMware workstation, when I run the VM the screen is really small. I want to increase it to something that fits in the whole VMware console. I tried changing the ...
1
vote
2answers
714 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 ...
3
votes
1answer
109 views

Copying code directly into the console with keyboard shortcuts [duplicate]

Possible Duplicate: Making Ctrl+C copy text in gnome-terminal? I am have installed Ubuntu 10.04 right now, and I am getting quite a bit of code examples from my browser, Firefox, where the ...
2
votes
2answers
1k views

gnome-terminal and logging

Is there any way to log every that was displayed in gnome-terminal? for example I have a complex command doSomethingThatPrintoutsAlot ; doSomethingThatPrintoutsAlot2 ; doSomethingThatPrintoutsAlot3 ...
3
votes
2answers
672 views

Can I play movies without X launched?

I know that I dont need a GUI for browsing Internet (using Links) but what about doing other things like playing movies, music and pictures slide shows. Is it possible to do that in a text mode ...
2
votes
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 ...
3
votes
2answers
2k views

How to config hotkeys for switching between consoles in ubuntu

By default switching between consoles is evaluated by keys CTRL+ALT+Fx (1-6) How to change these hotkeys? Is there any config file for doing this?
0
votes
1answer
1k views

GStreamer screenshot video stream

When I use this command: gst-launch ximagesrc ! video/x-raw-rgb,framerate=5/1 ! ffmpegcolorspace ! theoraenc ! oggmux ! filesink location=desktop.ogg ximagesrc usage It shows me only ...
3
votes
1answer
507 views

How to compare zip files' contents?

Is there any tool to compare zips by content? maybe some krusader addon or command-line magic?
4
votes
1answer
2k views

Help fixing Virtual Console (tty1-6) under VirtualBox

I updated my Ubuntu from 10.4 to 11.10. (Huge mistake, I know.) I am unable to view my virtual consoles ttyS1- ttyS6 This happens inside VirtualBox and gdm is running in background. I'm not sure ...
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 ...
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. ...
4
votes
0answers
140 views

CompizConfig and gnome-terminal [duplicate]

Possible Duplicate: How to set the terminal to open maximized Place Windows > Fixed Window Placement > fixed placement mode I have added Window class=Gnome-terminal Mode = ...
2
votes
1answer
87 views

Looking for console program to generate tones

I've been googling for a while now and I can't find what I am looking for. I'm in the need of a console program that can play notes. Example: play C C D D E E
5
votes
2answers
1k 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
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 ...
17
votes
1answer
6k views

Can I change the Linux console (Ctrl+Alt+F1) font to Ubuntu Mono?

Is there a way to set a specific TTF font to be used on the console? (I believe you might have to convert it to a bitmap font?) If it needs to be converted, what tools can I use to do the conversion? ...
1
vote
1answer
700 views

Ubuntu 11.04 displays white lines when falling to prompt

First, I tried installing Ubuntu Server 11.04 on an older PC of mine in order to make it a file/ftp and web server. The installation went fine, but when I tried booting I only got a bunch of white ...