Questions about using the command-line interface (CLI).

learn more… | top users | synonyms (6)

3
votes
1answer
496 views

How do I embed a terminal on the desktop?

I've tried the tutorials that I've found via Google search, but none of them seem to work on 11.04. Anyone know how it's done? Thanks!
0
votes
2answers
289 views

Forced-quit Sun JDK installation through terminal [duplicate]

I downloaded the package and went through the installation process. I was first prompted with the license. There was an unclickable button which, as the tutorial said, I had to click. So I closed the ...
1
vote
1answer
404 views

extract gnome gconf settings from external partition

Are there any files in /etc/ or /home/ where the gconf data is actually written to? How can I make these work on a new system (preferably in terminal)? There are standard ways dumping/importing gconf ...
6
votes
2answers
6k views

Minimize/Maximize all windows command? [duplicate]

Possible Duplicate: How to “show desktop” from command line? I was wondering if there was a shell command that minimizes/maximizes all windows. I have heard of wmctrl -k on, ...
2
votes
1answer
420 views

Command or script to open specific programs to different virtual desktops

my ubuntu setup uses 4 virtual desktops (1 high, 4 accross). As a programmer, I almost always open the same 4 windows in the same configuration, across my 4 virtual desktops: | Firefox | Netbeans IDE ...
6
votes
1answer
8k views

How do I configure mplayer to always use VDPAU?

I just learned how to use mplayer to take advantage of VDPAU from the command line with the -vc ffh264vdpau switch. How do I set that config in my .mplayer/config file so I don't have to remember ...
1
vote
1answer
266 views

Sending all outgoing TCP packets through Tor

I want to make all outgoing TCP packets on my Ubuntu 10.04 computer anonymous. Is this possible? If so, how would I configure my computer to do this? I've installed Tor, but it doesn't work because ...
13
votes
6answers
42k views

Mount encrypted volumes from command line?

If I have an encrypted external disk (or an internal disk that is not in fstab), I see an entry for it in Nautilus -- with an entry like "X GB Encrypted Volume". I can click on this volume, and am ...
2
votes
1answer
7k views

How to uninstall Ubuntu Software Center in 11.10? [duplicate]

I am trying to uninstall software center for ubuntu oneric using the command sudo apt-get remove software center and get this as result Reading package lists... Done Building dependency tree ...
6
votes
2answers
5k views

How to change tab width in terminal in Ubuntu 10.04

When I press tab in terminal it goes very far. So I would like to change tab width, make it smaller. Anyone could help me, please?
8
votes
1answer
2k views

Open Source command line tool for optimizing PDF

Are there any open-source command line tool for optimizing PDF in Ubuntu. I have used Ghost Script and i am able to convert the PDF into 72 dpi, gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 ...
2
votes
1answer
442 views

How do backslash escapes work with echo -E in zsh?

I have a script where I need to preserve the \\ character sequences but the command echo -E \\ prints \ when it should be \\. Correct? Is this a bug in the version of Ubuntu I am using? I am ...
0
votes
2answers
842 views

ERROR while downloading youtube videos from terminal [closed]

I installed youtube-dl very recently and when I tried to download a particular video using its url as (youtube-dl url),the following error occured: Error "no fmt_url_map or conn information found ...
8
votes
3answers
12k views

How to set up transparent background in XFCE terminal?

I can't find the option to make the terminal background transparent :-( Any idea where can it be?
8
votes
3answers
415 views

Server AMI images don't allow a user to login multiple times

When I log into twice to a new instance of Ubuntu server built for Amazon EC2, both windows will be exactly the same. Anything I type in one is replicated in the other. I never dealt with this when I ...
8
votes
4answers
994 views

How to remove bottom information panel in terminal window on Ubuntu Server AMI images?

The Amazon AMI images have a default information panel at the bottom of the terminal window. I would like to remove this (it disables me from being able to scroll backwards in putty). It looks like ...
3
votes
0answers
5k views

How do I directly boot to a terminal, bypassing X11? [duplicate]

I am seeking a help regarding the following issues: How to turn off the X server when I have already logged into Ubuntu (I know about startx to start the X server but don't know how to shut it ...
15
votes
0answers
1k views

Why don't Ctrl+C and Ctrl+V work in a terminal? [duplicate]

Possible Duplicate: Making Ctrl+C copy text in gnome-terminal? Ctrl+C an Ctrl+V work well under my Ubuntu except in a terminal: If I want to past something into a terminal, I need to right ...
10
votes
2answers
5k views

How can I run VirtualBox a different TTY?

My knowledge of Ubuntu is still fairly limited, but I know I can switch terminals with Ctrl+Alt+F*. I was just wondering if it's possible to load my VirtualBox (winXP in this case) in one of those, ...
3
votes
0answers
172 views

Which of all console web browsers is the most practical? [duplicate]

Possible Duplicate: Browse internet inside terminal There are a lot of console browsers, links2, Lynx, w3m and Elinks (I only know these). I want to know which one of all console browsers ...
2
votes
1answer
621 views

ssh permission denied in terminal but not inNautilus

I have two Ubuntu machines on the same network. I installed openssh-server and client. When I try to connect through the terminal I get the following message: "Permission denied, please try again" . ...
2
votes
2answers
328 views

Shell cannot find executable when duplicate name deleted from PATH?

I have compiled a package named xxx.Now I have deleted the files related with xxx and installed using repository.But if I type command [root]$ xxx , the following message is coming -bash: ...
12
votes
3answers
9k views

How to use wildcards with aptitude?

Is there a way to use wildcards with aptitude such as in the following: sudo apt-get remove openoffice*.*
6
votes
4answers
2k views

Take screenshot of terminal

I'm Using Gnome2. I have on My first workspace two terminals open (gnome-terminal). I want a screenshot of the whole terminal1 window. I don't want set up the bounding box of the screenshot with my ...
3
votes
1answer
584 views

Not able to setup delete and backspace compatibility in terminal

I installed Ubuntu 11.04 and I use the terminal a lot. So, I need to setup the terminal's compatibility to exactly as the Delete and Backspace keys should work. Please tell me what settings should be ...
3
votes
2answers
5k views

Why do I need to run source command for making .bash_profile alias available?

My .bash_profile is like below: alias l='ls -l' alias p='pwd' alias sites='cd /home/caveman/sites' alias time_card='cd /home/caveman/sites/time-card/time-card' alias ping='ping google.com' alias ...
15
votes
4answers
18k views

How do you change brightness, color and sharpness from command line?

I am controlling my PC with SSH and scripting. How can i change the brightness, color and sharpness from command line? Try 1: failed $ sudo redshift -t 5000:5000 -g .5 Cannot list GNOME panel ...
1
vote
4answers
3k views

Can/How to burn a .flac to an audio cd

This is a two part question. Can I burn .flac to audio cds? this might seem silly, but I was an early adopter of mp3 players. Think several years before Ipods. I never really had the need to burn ...
8
votes
5answers
3k views

How to alias 'git' to 'g' so that bash-completion rules are preserved?

If I do this: alias g='git' I loose all completion rules (i.e. branches and remotes are no longer being automatically completed when I hit TAB after typing, for example g push o).
1
vote
3answers
2k views

Gnome shell hot corner not working

I'm using Ubuntu 11.10 in Virtual Box (windows XP host). So far I have: Installed the gnome-shell Purged the gnome-accessibility-themes Installed the gnome-standard-themes used gnome-tweak-tool to ...
1
vote
1answer
312 views

Pros and Cons of different audio transcoders

I've been experimenting with different audio transcoders like ffmpeg, mplayer and LAME. Does anyone have a qualitative comparison between the different audio transcoders that can be accessed through ...
32
votes
7answers
48k views

chat over lan from linux to linux?

As I recall there was something like netsend on windows that allowed simple messages to be sent over the local network. I especially like this because one doesn't need to install extra client soft ...
1
vote
2answers
927 views

Terminal transparency (urxvt) , Imagemagick, and X11 root window problem

I use Ubuntu Natty, urxvt (with 256 colours), and Imagemagick (display -window root [...]) to set the root window to a picture. When I use the transparancy (-tr) option on urxvt, I get the Ubuntu X ...
2
votes
1answer
161 views

why does pkill autocomplete on alt+f1 terminal, but not on a regular X terminal?

I pressed Alt+F1 and logged in, and realized if I type pkill l and then tab twice, it will show me all the processes starting with l. So I went to gnome-terminal in X, and tried it, but I got ...
1
vote
1answer
464 views

stty doesn't work

I've changed shortcuts for terminal to copy, Ctrl+C, paste, Ctrl+V, and interrupt the application, Ctrl+J. Copy and past works fine but interruption doesn't.The terminal just doesn't react on Ctrl+J ...
7
votes
4answers
5k views

How to I install Glassfish on Ubuntu from the command line?

I have a Linux machine (Ubuntu) and I installed GlassFish and everything worked fine. The thing is, I was using Linux from the desktop UI and the installer featured a graphical wizard. I am ...
8
votes
3answers
35k views

How do I execute FTP commands on one line?

This is what I'm doing when I log into a FTP: ftp user:password@server ftp: user:password@server: Unknown host ftp> echo HELLO WORLD! ftp> quit I'd like to do a one-line FTP command... ftp ...
8
votes
1answer
36k views

How can I change the Hidden Attribute of a file/folder? (Alternative to attrib FILENAME -h)

On a MS Based system (Windows, any versions) You can use the attrib command in order to change the attributes on a specified file, directory or directory with recursively changing the files inside the ...
14
votes
4answers
152k views

What is a command to compile and run C++ programs?

I am new to Linux. I am using Ubuntu 11.04 and do not know how to compile and execute C++ program in it. I need to know the commands to Compile and Execute a C++ program in Linux.
2
votes
1answer
74 views

Mailbox monitor and scripting

This is something I haven't done before... So not sure what some good resources or a solid starting point would be. What I want to do... is on my Ubuntu Server 10.10 box, I need to setup a mailbox... ...
4
votes
2answers
218 views

How do I search within a particular directory using the locate command?

Sorry, this question is going to be total newb factor. How do I search within a particular directory using the locate command? The following command isn't working for me: # locate -i ...
2
votes
1answer
451 views

How to pipe single result from output of locate command to another command?

After running the following command... # locate -i "little" I receive these results. /mnt/external/Songs/The White Stripes/[1999] The White Stripes/14 little people.mp3 /mnt/external/Songs/The ...
2
votes
0answers
80 views

What do each of the colors of files/folders returned from running the ls command mean in gnome terminal? [duplicate]

Possible Duplicate: Color Meanings in Terminal When I run the # ls command, a list of files and folders are returned. Some of them are colored blue, others green. I'm new to terminal ...
7
votes
5answers
11k views

How to permanently disable monitor power saver using the command line?

I have tried as following: 1. Turn off: export DISPLAY=:0.0 && xset dpms force off 2. Turn on: export DISPLAY=:0.0 && xset -dpms Which works but that is a temporary solution, which ...
21
votes
5answers
4k views

Displaying a “scrolling” log file

Via command line, I have a log file I'd like to keep track of. What I want is to have, basically, a tail that refreshes when the log is updated making the text scroll upwards as new lines are ...
20
votes
6answers
37k views

Find the latest file by modified date

If I want to find the latest file (mtime) in a (big) directory containing subdirectories, how would I do it? Lots of posts I've found suggest some variation of ls -lt | head (amusingly, many suggest ...
6
votes
3answers
3k views

Any recommendations for a command-line download manager?

Any command-line download accelerator/manager recommendations for Ubuntu 11.04? I tried some programs like Axel wget/curl I wanted to know if there are any command-line download managers which ...
0
votes
2answers
93 views

Is there a terminal that behaves like a console from web browsers? [duplicate]

Possible Duplicate: Making Ctrl+C copy text in gnome-terminal? Is there such a terminal where I can edit the text like in usual text area, i.e. Copy - Ctrl+C, paste - Ctrl+V and so on? ...
3
votes
7answers
2k views

How to pass answers to CLI script via arguments?

I'm writing a CLI script that asks a series of questions before doing a few things. How can I pass them as arguments so that I don't have to keep entering them every time I want to test my script? ...
2
votes
4answers
56 views

Why do some commands execute properly only when the file being called is inside the working directory

I'm unable to successfully make a file when I do the following command make /home/me/Desktop/folderWithMakefile However an executable is created when I do the following cd ...