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

learn more… | top users | synonyms (6)

2
votes
5answers
4k views

Gnome Terminal not showing up in unity, Why?

I am using Ubuntu 12.04, how do I see the applications open on different workspaces. The issue that I am having is that I have opened 3 instances gnome-terminal and have minimized them; the unity ...
3
votes
1answer
2k views

auto mount cryptmount/encrypted loop device

Because of limitation of filename size of ecryptfs, I decided to use encrypted partition. Since I already use ecryptfs, for my home folder, I don't need the key to be password-protected. I need a ...
8
votes
3answers
5k views

How do I install a package with aptitude?

I've looked at an aptitude tutorial and read the man page, but I just don't get it. After you launch aptitude, how do you say "install package foo"? Or search for all packages with "foo" in their ...
0
votes
1answer
1k views

How to create shortcut commands in terminal? [duplicate]

Possible Duplicate: How to add an alias to a command in terminal? I am looking for a way to make a shortcut command. For example, I want to execute the command g++-4.7 temp.cpp -o temp by ...
0
votes
3answers
4k views

How can I download from 4shared.com via terminal? [duplicate]

Possible Duplicate: How do I use wget/curl to download from a site I am logged into? I want to ask if I can download from 4shared.om via terminal? I tried to use wget ...
0
votes
1answer
3k views

Updated 12.04 and now Xorg is dead from NVidia drivers

I updated (August 16) Ubuntu 12.04 today and while I admit I didn't look what was being updated, it was large enough to have had an NVidia update in it. Problem is later on when I turned on my laptop ...
5
votes
3answers
8k views

How to find the executable file of an app if 'whereis' is not showing it?

This basically to do with cuttlefish(The app from showdown) in this case. I cant find the location of the executable file for it. The command whereis did not give any results! I want to add it to ...
2
votes
1answer
2k views

Difference between the results of the top command and System-Monitor,Why?

Why is there a huge difference between the outputs' of top command and the system monitor when both programs were run at the same time. Please find attached is the screen shot showing the huge ...
1
vote
1answer
143 views

Why are “ls” and “stat” returning different ownerships for the same object?

This is in a continuation of question here I run this command as root user chown someuser:someuser /mnt/my-address and then # ls -l /mnt/my-address response is total 16 drwx------ 2 root root ...
7
votes
2answers
974 views

How do I list uninstalled but recommended packages?

How do I list the packages that are recommended by my current set of installed packages, but for whatever reason weren't installed?
7
votes
2answers
12k views

Writing scripts with arguments?

I want to write shell script that takes an argument, and then applies it to files. Specifically, I want to give a term, and then have it compile term.as with mxmlc ("mxmlc term.as"), then run ...
2
votes
1answer
334 views

How can I change the HUD key from the command line?

I know I can change the HUD shortcut key by going into System Settings... > Keyboard > Shortcuts > Launchers > Key to show the HUD. I need to do this from the command line, so I can put it in a ...
0
votes
1answer
168 views

Something is wrong with folders containing special characters

I can create folder with special characters (example mkdir Öäväaä), but ls -l in terminal shows ??v?a?. WinScp and mc shows it right (Öäväaä). How can i make terminal to show me right characters?
9
votes
4answers
4k views

How can I play a song in the background via my command line?

I have installed play : sudo apt-get install sox libsox-fmt-mp3 I can now play my audio files like this : play Desktop/SONGS/01\ -\ Oh\ Baby\ Girl.mp3 Since I'm learning shell, I wish I could ...
0
votes
2answers
841 views

“Continue” button not showing while installing Ubuntu

I've reached the installation screen on my netbook and have ticked all the screens (download updates etc). The requisite memory is ticked and the internet access is ticked but I can't find a ...
5
votes
1answer
4k views

Ubuntu alias not applied in bashrc

I am under Ubuntu 12.04 LTS. I have added such line to ~/.bashrc alias myconf="sudo nano /opt/nginx/conf/sites-available/efiling" I tried with single quotes too: alias myconf='sudo nano ...
8
votes
1answer
34k views

What does VIRT, RES and SHR means in the top command?

I was going through the top command. There are some terms on which I am confused and needs some clarification. Please find is the attached screen shot:- I need some info regarding the WA, HI, SI ...
0
votes
1answer
1k views

what does 1>&5 mean?

Sometimes, in shell scripts, I see like echo yes 1>&5 I understand it redirect to somewhere, but I would like to know more detail. And more specifically, what do 1, >, &, 5 mean? I ...
4
votes
3answers
31k views

How do I install mupen64plus?

I'm new to Ubuntu and Linux and I just downloaded mupen64plus 1.99.5 and it came as a *.tar.gz file. I found some guides about how to install a .tar.gz file with the terminal but it doesn't work. How ...
2
votes
0answers
424 views

Shotwell/Code: Skript to remove RAW's of deleted jpg's [closed]

When I import a nef file (say, x.nef), shotwell automatically converts it to a jpg, naming it x_nef_shotwell.jpg. However, when I delete a picture in shotwell, it only removes the jpg-file and not the ...
3
votes
2answers
642 views

How to find out console equivalents of Ubuntu System Settings GUI?

How do I in general find out, what the very nice "System Settings GUI" in Ubuntu (say 12.04) does and how to replicate the changes in command line? Many people ask questions like "how to change the ...
2
votes
2answers
2k views

How to get an Ubuntu system that boots to the command line to start the GUI?

As the title above, I am totally new to Linux. What I have now is a virtual hardisk with ubuntu and it started up as CLI. What I want to do is enable the graphic mode and able to switch it flexibly. ...
0
votes
4answers
538 views

If I download a package through apt-get on one machine and install on another, can I upgrade later?

I have a machine that does not have an internet connection and I need to download a few packages to it. I can use apt-get download xxx to get the package, but, if I ever connect this machine to the ...
4
votes
3answers
771 views

How can I shorten my prompt?

when i open the terminal, it looks like this (without the *'s) montenrgro@montenrgro-GE620-*******-*******-*****:~/Desktop$ the code thing and montenrgro@montenrgro takes up a lot of space, on my ...
2
votes
1answer
4k views

How to properly modify the sudoers file to create a launcher in order to shutdown the system?

I did it adding the following line, but doesn't work (at least in my case): username ALL=(ALL) NOPASSWD:/sbin/shutdown -h now then making a launcher in the desktop with the following instruction: ...
0
votes
4answers
2k views

Why do I get a “cannot execute csh…” error when I try to “sudo su”?

I get this error when I try do sudo su reputa@reputa:~$ sudo su Cannot execute csh: No such file or directory sudo -i is working fine but I want to use sudo su. How do I make it happen?
0
votes
1answer
339 views

Cannot install LibreOffice 3.6 from binary

So, I downloaded the main installer for LibreOffice 3.6 from the official website, because it hasn't yet arrived in PPA. Followed the instructions just as the ReadMe file suggests (navigate to the ...
2
votes
1answer
6k views

How can I call system settings app from the terminal?

How can I call system settings app from the terminal? example if I want to run Gnome PPP I just type: $ Gnome-PPP and it will Open, so how I can do this to run system settings tool? -related!
4
votes
1answer
1k views

Autocomplete on .bash_aliases commands?

I have a whole bunch of aliased commands in .bash_aliases The most generic examples are alias apt-update="sudo apt-get update" alias apt-upgrade="sudo apt-get dist-upgrade" but then I also have ...
4
votes
3answers
3k views

Is eval $(cat filename) the same as source filename?

Working on some bash functions, I didn't know source ... command, so I used eval $(cat ...) instead. Now I am wondering, whethe should I change every use of that, or is it just the same function? ...
28
votes
5answers
45k views

How do I burn a DVD ISO using the terminal?

I have a DVD ISO file and I want to burn through the terminal. We have many command formats but I am unable to choose the best & safe one. so please give me a best command to burn the ISO through ...
2
votes
2answers
14k views

How to connect to wired connection from the terminal [duplicate]

Possible Duplicate: How to connect to Wired internet connection through terminal? i corrupted my Xorg while experimenting on my system so I had to forcibly drop to Command Line. However, ...
8
votes
1answer
2k views

Terminal emulator left-click to open link

So I've been trying to get back to using Linux as my primary OS. I'm running Ubuntu 12.04 with Gnome 3. I've tried multiple terminal emulators, but they all seem to have a common failing: you need to ...
0
votes
1answer
163 views

want to make swap file from my ubuntu live (on flash drive) to my main hard disk

Can any one tell me why the following order gave me unexpected number of arguments? >>>>> fallocate -l 6g /media/309AFD059AFCC87C/ubuntu live drive program files/6g.swap
1
vote
2answers
5k views

How do I access the Terminal? [duplicate]

Possible Duplicate: What is the terminal? My question is in the Title. How do I get to Terminal in Ubuntu 12.04 ?
4
votes
2answers
3k views

Creating .desktop file

I have tried to create a .desktop file to run vncviewer (tight vnc connecting to a mac). I have entered below into the file. [Desktop Entry] Version=x.y Name=VNCViewer Comment=This is my comment ...
2
votes
1answer
518 views

Making a launcher for a command

How to execute a command just by clicking a shortcut on the desktop. I'm still very new to linux, this would help alot. Like for example I want to run steam.exe without no dwrite, so the command is ...
5
votes
0answers
5k views

aget vs axel vs aria2 [closed]

I'm looking for a multi-threaded (fast) alternative to wget which can download large files. The choices seem to be aget, axel and aria2. I'm familiar with axel (thanks to apt-fast). Which is the best ...
6
votes
1answer
2k views

Is there a centralized history file for all the commands run from various terminals?

I am aware that every terminal has it's separate history,which can be viewed by the history command. Commands issued on suppose terminal tty1 will be shown in the history of tty1 only and not in the ...
3
votes
1answer
11k views

Convert XML to CSV shell command line

I have a Large XML file (600MB) and i want to convert that into CSV through Terminal Commands. I have tried to convert the XML into TXT through xml2 command using the following syntax. xml2 < ...
1
vote
1answer
137 views

Getting the Prompt for Next Command in Terminal

Whenever I type the name of an application to open it, the application opens, but after opening it, the terminal seems to be busy with a process so that it doesn't give me the prompt for the next ...
3
votes
2answers
1k views

How do I exit a terminal so that any processes I started keep running?

I use firefox & as command in terminal. This must dissociate firefox from terminal. Still when I close terminal, firefox exits. Any ideas, why this happens? How can I overcome this situation?
5
votes
1answer
1k views

How do I run an I/O intensive application only when the computer is idle?

Is there a tool which can be instructed to pause specified processes if user uses a keyboard or mouse and to resume it in certain time after user has stopped interaction to the OS? I would like to ...
9
votes
1answer
840 views

What command-line options are available for Ubuntu One?

Is there a place I can see the Command Line Switches for Ubuntu One? At the moment, I only know of two: '--minimized' and '--with-icon'. They were included in the shortcut when Ubuntu One installed on ...
3
votes
1answer
456 views

Making data partition default partition

Recently I installed Ubuntu and Fedora on my system. Each OS has its own partition and I made a data partition to save my personal files. Now in Ubuntu when I open terminal its default location is ...
2
votes
1answer
240 views

What does the number in brackets after a command in the manpages mean?

Often, I read something like command time(1) or printf(3) in the manpages. What do the numbers in the brackets stand for?
1
vote
1answer
853 views

sed removes newline at EOF

I've tried using sed to replace an SELECT with BELECT in a file: sed 's/SELECT/BELECT/g' add_pixel.sql | diff - add_pixel.sql Gives me: 22c22 < BELECT MAX(ID) INTO max_id FROM pixels; --- ...
2
votes
2answers
17k views

Opening an Application via Terminal

I am a new user of precise pangolin and learning to use the terminal. I just wonder whether there is any easy command/combination of commands to open an application (LibreOffice Writer, for example) ...
8
votes
2answers
6k views

Tmux key binding issue

I've switched from using screen a while back to using tmux. I have a tmux config which uses screen's Ctrl+a sequence, instead of tmux's default Ctrl+b. However, one issue I've found is that if I ...
1
vote
2answers
7k views

How do I install Ubuntu in command-line mode from the Live CD?

I'm having 12.04 live CD . I want to install ubuntu only with CLI mode . I don't want to do like installing GUI and then setting it to boot to terminal . the purpose behind this question is I want ...