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

learn more… | top users | synonyms (4)

1
vote
1answer
22 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 ...
3
votes
3answers
837 views

How to fix strange backspace behaviour with urxvt + zsh?

I use urxvt in combination with zsh. However since my fresh install of ubuntu 10.04 I have the following problem. If I type backspace the cursor moves to the right (instead of deleting the characters ...
1
vote
1answer
44 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 ...
0
votes
1answer
20 views

Get Security Updates Delta, and install them

I am writing a script that is supposed to run every day to check if there are any new security updates for Ubuntu. If there are, it will make a list of those updates, it will download them, and then ...
0
votes
1answer
40 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 ...
0
votes
0answers
45 views

Connecting to wifi on ubuntu 10.04 through terminal

When I tried to use the terminal commands as shown below Open the terminal. Type ifconfig wlan0 and press Enter. You will not see any output in the terminal, as this command just turns your ...
2
votes
1answer
10k views

Connecting to wireless networks from command line

I need to write a shell script which connects to one of the two available wi-fi connections. One is a un secure connection and the other is secure connection. My question has 2 parts- How to connect ...
22
votes
2answers
13k views

Make gedit embedded terminal colours the same as the default terminal

I've just updated to 11.10 and now my embedded terminal in gedit does not match my default terminal. I hate looking at a white and black terminal. Does anyone know how to make the embedded terminal ...
0
votes
1answer
102 views

Ubuntu 12.04 lost data?

My Ubuntu 12.04 suddenly rebooted after working great for a month. I checked and saw that all my downloads,installed programs and bookmarks are gone. It looks like a fresh installation all together. ...
0
votes
0answers
47 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
9
votes
2answers
1k views

What are “$PATH” and “~/bin”? How can I have personal scripts?

What is $PATH? How can I have commands/programs which are only available for me? I have seen this path ~/bin mentioned before, but what is it used for, and how do I use it?
0
votes
1answer
89 views

Connect to WiFi network through Ubuntu terminal

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 ...
5
votes
3answers
18k views

How to run a .run file as root?

I downloaded a .run file for a Nvidia driver, but when I run it in the terminal it tells me it must be run as root. I'm a complete noob and I barely even know what root is. I think it's somewhere ...
15
votes
6answers
4k views

How do I make my terminal display graphical pictures?

This is a quick mockup i copy and pasted together. I imagine this being super cool and useful. Does something like this exist already?
2
votes
2answers
1k views

Connecting to 3G Modem with Command Line

i have a 3g Modem and it's my only way to connect to internet . in the GUI Mode it's easy to connect via Network Manager , But how to connect to internet with this modem in the Text Mode? Thanks in ...
0
votes
1answer
67 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
29 views

Terminal Vim no longer starts after upgrading from 12.04 -> 12.10 -> 13.04: undefined symbol: init_hashlib

When I attempt to run Vim from a terminal, I get the following error: vim: symbol lookup error: vim: undefined symbol: init_hashlib I did some searching and the general consensus is that this is ...
3
votes
2answers
6k views

List samba shares and current users

Looking for a simple way to do this from the command line. List samba shares and the users who can access each of them. List samba shares and the users currently connected to them. List samba ...
0
votes
1answer
44 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
66 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 ...
2
votes
2answers
68 views

Open terminal from nautilus by right click

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 ...
22
votes
8answers
7k views

What terminal emulators are available for heavy terminal users?

I spend a lot of time at the command-line during the workday and at home too since I run Ubuntu exclusively. I've been using the default gnome terminal but I've reached a point where I'd really like ...
0
votes
0answers
21 views

Connect to remote drive (University computer)

To connect to my university drive, the instructions on their website say: Open a terminal Type the following, to mount your P: drive to /mnt: mount -t cifs -o ...
4
votes
2answers
134 views

How can I measure how much RAM has been used by a command

I'm trying to measure the memory of a process that I call via the command line (i.e., I want to find out much RAM it takes to for the process ). Is there any command that I can add to the command ...
-1
votes
0answers
32 views

tcl command somehow not properly installed? [closed]

here is ubuntu 12.10 (pearOS) and there seems to be tcl-package double in container of ubuntu (2 different versions). I made sudo apt-get install tcl tclx quite normally (need this for sguild ...
2
votes
0answers
76 views

URxvt has lags in Ubuntu 13.04

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 ...
1
vote
1answer
33 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 ...
2
votes
1answer
401 views

Unable to unzip file

trying to unzip a file so im trying the following command Sorry im really quite new to linux btw this is Ubuntu server latest release. user@serverubuntu:~/minecraft/server$ ls rtk.zip ...
0
votes
0answers
47 views

Can't display IP address with a file.desktop in Ubuntu 13.04

Why this command doesn't run ? : Exec=gnome-terminal --command "ifconfig -a | grep 'inet adr' | sed /127/d | awk '{print $2}' " I must do before: chmod 700 on my "file.desktop" and clic on it to ...
0
votes
1answer
19 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 ...
8
votes
3answers
402 views

`shutdown -r now` command completely shutting down instead of restarting

Hi we've just installed Ubuntu 12.04 LTS onto a new server. It's on a SuperMicro X9SCA-f Motherboard . Now we're aiming to locate this in a remote server room - however when we execute a shutdown -r ...
0
votes
1answer
52 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) ...
0
votes
1answer
116 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 ...
0
votes
0answers
101 views

Keyboard shortcut for “open a terminal here” in Nemo

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
24 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
29 views

What is debootstrap --second-stage for

I just played around with debootstrap and schroot. I'm setting up my environments with debootstrap. I'm not using --second-stage option of debootstrap. When and how do I need to use this option. What ...
-2
votes
0answers
39 views

How to generate 4 WEP keys with linux commands? [closed]

I have a sagem router. this router is able to generate 4 WEP keys from a given passphrase. Example: Passphrase: "hahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaha" key1: ...
1
vote
1answer
38 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 ...
1
vote
1answer
33 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
0answers
389 views

Ubuntu 13.04 Gnome Remix: Gnome-Shell crashes when changing user/exiting session

As the title says, i got Ubuntu 13.04 Gnome Remix edition, i installed some Gnome Shell Extensions (Application menù, Netspeed, Impatience and User Themes) but i found out that they are not the cause ...
0
votes
1answer
27 views

Gnome Terminal hotkey change globally via cli

Gnome Terminal has an option to turn off F10 and menu access hotkeys. I've also found out that this option can also be adjusted at /apps/gnome-terminal/global/use_menu_accelerators and ...
1
vote
1answer
29 views

meaning of this ps aux output

I wanted to be sure if I am running named. So did following: ps aux | grep named root 6613 0.0 0.0 13588 920 pts/2 S+ 23:12 0:00 grep --color=auto named what this output ...
2
votes
1answer
110 views

Why doesn't this command work as an alias?

I've been using the following command to list the ten largest files, at any depth, under the current directory: find -type f -size +10M -exec ls -gGsSh1 {} + | awk 'NR<=10 {print $0}' (I use awk ...
6
votes
4answers
15k views

How can I execute a .jar file from the terminal

I know that to execute a file, I use the . command, then the file name with a space between them. But I'm trying to execute a .jar file using the . and it does not work. I went into the properties and ...
60
votes
14answers
79k views

How to send mail from the command line?

How to send mail from the command line?
1
vote
1answer
32 views

Printing accented characters on the terminal

I'm running a Java program from command line in Ubuntu, and trying to print accented characters onto the console. But the characters get displayed as ? on the console. How do I make the shell display ...
64
votes
12answers
77k views

How can you log out via the terminal?

Is there a command, that will take you back to the login screen?
0
votes
1answer
61 views

Sudoers NOPASSWD for command not working but ALL is

I've been trying to grant www-data to use sudo service apache2 restart without a password but no matter what I try, nothing works. I have read a few hundred posts regarding this issue on different ...
1
vote
2answers
262 views

Will Ubuntu Phone and Tablet have Bash?

Will the Ubuntu for phone and tablet have the staple software suite installed, such as the Terminal etc? Will updates be possible using apt-get? In short will Ubuntu be Ubuntu?
0
votes
2answers
84 views

Error with 'tar' commad, “Cannot open: No such file or directory” [closed]

I am trying to connect my Xbox with my laptop using uShare. For that I am following exactly what I have to do according to Installation of uShare on Ubuntu documentation. Unfortunately, at step 3 ...

1 2 3 4 5 65