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

learn more… | top users | synonyms (6)

11
votes
4answers
7k views

What is sed and what is it used for?

I've been seeing a lot of sed lately, and I find it to be a rather confusing command. The manpages weren't particularly helpful, but I do know that it can be used for parsing the output of other ...
1
vote
2answers
2k views

Can't download Gnome 3 for Ubuntu 12.10

How can I install Gnome 3 on Ubuntu 12.10? I tried to apt-get install gnome-panel, but it errors out because of unmet dependencies, even if I pass -f: kanha@kanha-Aspire-5580:~$ sudo apt-get -f ...
0
votes
2answers
15k views

What's the command to install the build-essential package?

What's the command on 32-bit Ubuntu 12.04 for installing the build-essential package and linux headers generic package?
0
votes
2answers
850 views

How can I run a software package I installed called 'openscam'?

I installed a software called 'openscam' but I cannot find its launcher. It's installer is a .deb file, after I clicked in it, Ubuntu Software Center installed the software, and finished it, but I ...
1
vote
3answers
345 views

App like DOS navigator for Ubuntu? [duplicate]

Dos Navigator was a very popular file manager for DOS / old Win. Something like Like Norton Commander, but waaay better in terms of feature support, and especially usability/UI. I was wondering if ...
6
votes
1answer
598 views

Automatically cd into directories?

In the terminal You use cd ../../........ to get to wherever you want, But I am lazy, I am wondering if it is possible to automatically cd into the directories if the command is simply the directory. ...
0
votes
1answer
67 views

How do I change the location in the terminal with a custom string?

If I have a really long path to a folder, and I just want the string 'longlocation' to replace it in the terminal, I know I can edit the .bashrc file and add this command: alias changelc='export ...
1
vote
1answer
664 views

Command fails to execute in upstart session job

This command: mongod --fork --dbpath ../data --smallfiles --logpath ../data/mongo.log runs perfectly from terminal, while in directory /mongo/bin/ But, when I use same command and directory for ...
0
votes
1answer
956 views

Ubuntu two users logged with same name

I have a server and a ssh session, but it seems like I've pressed something and it was a shortcut so currently, when I do w it shows my other session (which I don't know how I opened). I closed my ssh ...
0
votes
1answer
427 views

Create folders in remote server after ssh login using commands

I need to create folders on the remote server, i try to ssh to the server and then create folders. The logs display that the ssh is successful but it stops after that and the screen stays at the home ...
4
votes
1answer
3k views

How to add commands to terminal

I'm a long time Windows user and how I usually do this in Windows is to edit the environment path and add the file path to the command that I want to use. Like when I want to use PHPUnit I just add ...
1
vote
1answer
1k views

How to run a command with one click, preferably from unity's launcher

I'd like to run this command without having to open up terminal every time. sudo openvpn --config /home/ubuntu/Documents/vpnbook/vpnbook-euro2-udp25000.ovpn --auth-user-pass ...
8
votes
2answers
12k views

connect to internet through 3g dongle in ubuntu server

As the title says, can i connect to internet through 3g dongle in ubuntu server fresh installation Any terminal / manual way? My purpose is to get connection using dongle in ubuntu server minimal ...
0
votes
1answer
567 views

make terminal show up when called in a shell script

I am writing a shell script that will execute some application for a specific mime type, and it does it correctly, but when I have echo in my shell script, I dont see any terminal with the echoes ...
1
vote
2answers
3k views

'root' user does not exist?

When I run the su command, the terminal returns: user 'su' does not exist.How do I add the root user? Can anyone answer this? I tried sudo adduser su, but after this, I get the same problem.
1
vote
1answer
258 views

bzcat to delete compressed file

By default, bzcat (or, equivalently, bzip2 -dc or bunzip2 -c) will keep the source (compressed file) and not delete it. Is there a flag or other means (besides thereafter manually rming the file) to ...
0
votes
2answers
13k views

Copy file to External Hard Disk

My UBUNTU (desktop part) does not boot completely because of low disk space; I logged in to terminal using my username and password, try to copy some file from /home/UserName/Desktop to my external ...
2
votes
1answer
517 views

Unity progress bar for gnome-terminal?

One of my favorite features of unity is the progress bar the launcher overlays on the icons for various programs like the file manager, or firefox. Gnome-terminal does not have a progress bar. What do ...
5
votes
1answer
2k views

Using QQ: How can I make Byobu the default terminal [duplicate]

I really like the Byobu terminal better than the default Gnome terminal that is installed with Ubuntu. How can I make Byobu the default terminal - for example, when I hit control/alt-t I'd like to ...
1
vote
2answers
258 views

Guake no longer showing desktop when opening

It used to show the desktop as a background when I open it, but for some reason it's just overlying (so the top most window is now the background). Is there a setting somewhere to prevent this? ...
0
votes
1answer
423 views

How to create multi users account?

I want to create multi users with generate password and print out as text file, how can I write in shell script? (Ex: Create 5 users, password 10 length)
0
votes
1answer
382 views

How can I enable history completion by program in terminator as guake has it?

In guake I can type ls UP-ARROW and it will show ls /home/blah for example. In terminator using up arrow after typing ls just brings me to the command I entered prior. Is there any way to enable this ...
0
votes
1answer
46 views

How to revoke partly executed commands?

After two weeks of no-problemo ubuntuing, my sound was gone. I looked for help and found this answer. I entered the huge wall of code and hit "enter" and "y" a few times. While the terminal was doing ...
0
votes
1answer
220 views

How is robust terminal emulation achieved in Ubuntu?

My question is using only Ubuntu and/or open source components, how is full terminal emulation with keyboard mapping, logging, and printing achieved in Ubuntu without purchasing a product? By using ...
3
votes
3answers
5k views

Close current tab firefox using terminal

I have firefox already running on my system, and now in minimised state. What I want is to close the current tab running in firefox. How can I do this by simply using commands in terminal?
0
votes
1answer
115 views

Configuring gmusicbrowser to copy now playing to X clipboard

I'm trying to get gmusicbrowser to copy song information to my X.org clipboard with the Now Playing plugin. For on song change, in the plugin's configuration, I have echo "%a - %t (from %l, %y)" | ...
1
vote
2answers
265 views

How did I do this? - File content removed!

first of all, thank you for your contribute to this forum! I switched to ubuntu a few months ago for working reasons and these pages are a great help! Now, getting to the point: I was trying to count ...
1
vote
1answer
486 views

How can I get back to a login screen after a freeze?

I have to manually shut down and to enter my SDA crypt pass and my user pass over again. How do I force the poweroff without having to hit the power button, or get back to a login screen. Nobody has ...
2
votes
2answers
950 views

FLV Metadata Editor GUI

Are there any programs for Ubuntu 13.04 that allow the user to edit the metadata of FLV videos? I would prefer a graphical user interface. Command-lines are fine if that is all that exists.
1
vote
2answers
9k views

How can I join an ubuntu 12.10 client to join a windows domain (server 2008)

In My office am using windows server 2008 recently am install ubuntu 12.10 in my offz its really awesome but Little bit am struggling about few configurations and settings... now also am struggling ...
62
votes
2answers
139k views

Run a shell script as another user that has no password

I would like to run a script from the main ubuntu shell as a different user that has no password. I have full sudo priviledges, so I tried this: sudo su -c "Your command right here" -s /bin/sh ...
2
votes
1answer
204 views

How to make everything on stdout be read aloud (using espeak)?

I've got the eSpeak TTS system up and running, and I like it quite a bit. I'm wondering, is there a way to pipe EVERYTHING that gets printed to STDOUT to espeak? I'm trying to set up a system without ...
0
votes
0answers
49 views

How do I find out where are command line commands installed? [duplicate]

I just installed apt-get install a few commands, but where are these things saved? thanks
12
votes
1answer
194k views

Connect to WiFi network through Ubuntu terminal [duplicate]

I am using my WiFi network adapter on the laptop to connect to the internet on Ubuntu 10.04. I have tried the following steps and got the below messages on the Ubuntu terminal. Please let me know what ...
0
votes
1answer
518 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
1answer
94 views

bash permissions

My friend was trying to tighten up security on his ubuntu server and changed the permissions on bash. He logged out, and now the computer won't let him log back in. The server is an off-site server ...
2
votes
3answers
222 views

Need Help Studying for Linux+ Cert

A user (Bob)accidentally makes a subdirectory (bobsdir) in their Home directory and try to remove it but when they use the "rmdir \bobsfile" command they get "No Such Directory". the Answer to the ...
22
votes
3answers
30k views

Open terminal from nautilus by right click [duplicate]

I use nautilus as my default file manager. Is there any way that I can customize it so that right click anywhere in the window gives an option to open the current directory in terminal. I have seen ...
84
votes
12answers
124k views

System Monitoring Tools For Ubuntu

I am looking for System Monitoring tools which are GUI and Cli or Web Based which include Basic Functions such as CPU Usage Ram Usage Swap Usage Disk Usage ( Space / I/O ) Heat Monitoring I know ...
2
votes
0answers
222 views

URxvt has lags in Ubuntu 13.04 [closed]

I use urxvt as my default terminal and zsh as default shell. I use this two tools everywhere, but after today upgrade from ubuntu 12.10 to Ubuntu 13.04 I got some lags in term. Lags means - when I ...
26
votes
2answers
6k views

Did I just delete everything with find -exec mv?

I tried to figure this out on my own. Here's the command I used in the terminal: find . -name "*.jpg" -exec mv {} pictures \; I did not create a directory named pictures first. What happened was a ...
1
vote
1answer
224 views

How to use readline to insert a predetermined string onto the command line with a shortcut when using Bash?

Is it possible to have an arbitrary amount of text placed next to the cursor on the command-line? I have heard that it is possible using Bash, but I am not sure how to accomplish it. It seems to be ...
1
vote
1answer
169 views

gedit opens different window though it should not

It's a follow-up of Why does gedit keep randomly opening new instances when opening files from nautilus? On Ubuntu 12.04 with Unity: I double click on a text file on the desktop or through Nautilus. ...
0
votes
1answer
698 views

How to tail output of program started from crontab that prints to stdout?

I have a program, say #!/bin/bash while ( true ){ echo 'hello' sleep 10 } Which is started from the crontab like so 0 0 1 1 * I can list this running process using a command like ps aux ...
0
votes
1answer
713 views

Make a program run in a terminal

What command should I give to make a program run in a (new) terminal window? Background: I want to add another right-click option to Peazip which will pass the selected par2 file to the (installed) ...
2
votes
1answer
2k views

Unable to run *.sh files by directly double clicking the file in 13.04 [duplicate]

Facing this issue after upgrading to Raring Ringtail. Before I could run .sh files by directly double clicking the file. But now it goes directly for editing instead of opening up a pop window which ...
8
votes
1answer
2k views

Keyboard shortcut for “open a terminal here” in Nemo [duplicate]

How can I make a keyboard shortcut for "Open a terminal here" in Nemo? I am finding the "Files" manager formerly known as nautilus that comes with Ubuntu 13.04 to be too crippled to bother using ...
1
vote
1answer
938 views

Term for “Modified (by you or by a script) since installation.” dialogue?

Sometimes I see the following dialog. Configuration file `/etc/...' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What ...
1
vote
1answer
436 views

How to generate WEP keys from a passphrase

I have a passphrase and I want to generate a WEP keys from it. Are there a linux command for that?
1
vote
1answer
562 views

Problem at opening NASA World Wind. I get a terminal error (java problem)

The program is zipped and these are the instruccions in README file: 2) cd to the World Wind release folder. 3) chmod +x run-demo.bash 4) ./run-demo.bash ...