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

learn more… | top users | synonyms (5)

0
votes
0answers
36 views

How can I reset the terminal colors? [duplicate]

Possible Duplicate: How to reset the terminal properties and preferences? I was messing around with my terminal colors, and didn't realize I was modifying the default profile. Now I want it ...
13
votes
2answers
5k views

Are terminal and shell the same?

I know this might sound foolish but I just wanted to know if there is really a difference between the two words used in the Linux world. I do know that the Shell is a Command Line Interface and has ...
8
votes
2answers
5k views

How can I invoke a user switch from the command line?

In 11.10 I used 'gdmflexiserver -xnest' to switch users without logging out however I think gdm has now been completely removed. I'm trying to bind a keyboard shortcut to do the equivalent of 'Me ...
1
vote
1answer
188 views

Changed bottom bar in gnome to left, now both bars are gone. Can I use terminal to fix this?

I don't even know if gnome just crashed or went hidden or what.
3
votes
1answer
337 views

Lines disappearing intermittently from both Terminal and Emacs

I'm having trouble even finding the right search terms to diagnose this problem. It's also hard to reproduce on my own machine. When I enter a command in the terminal, occassionally I will see no ...
7
votes
3answers
15k views

My program cannot run with “command not found” error

I just switched from Windows to Ubuntu 11.10. I wrote the following code in C with the text editor and saved it as HelloWorld.c in Documents. #include <stdio.h> int main() { printf("Hello ...
1
vote
2answers
2k views

How do I measure performance of a virtual server?

I've got a VPS running Ubuntu. Being a virtual server, I understand that it shares resources with unknown number of other servers, and I'm noticing that it's considerably slower than my desktop ...
0
votes
2answers
279 views

Run a Command doesn't do anything

After I press alt + f2 the window for "Run a command comes up" after that I specifically type in a command and then select or enter the command and nothing happens, it is suppose to ask me to type in ...
12
votes
3answers
14k views

How can I know how long `dd` cloning will take?

I have to dd a couple of 1TB hard drives. They are taking several hours to clone and I was wondering if there was any way possible of knowing how fast they are going, how much they have done and how ...
4
votes
2answers
2k views

Command Line Clipboard Access

I'm building a command line tool in order to make some of my tasks more efficient. I need to be able to write content to the clipboard, but for some reason it's not working for me. I've tried ...
2
votes
1answer
962 views

problem with halt command to power off

I use Ubuntu 11.10. My problem is that I cannot power off the computer with sudo halt command. Ubuntu shutting down screen comes and stops at there (something like the pic below). I waited about 15 ...
2
votes
1answer
328 views

Terminal suspend on Ubuntu 8.04

I'm trying to put my old laptop into suspend mode through the terminal. Typing rtcwake -m disk -s 10 works in newer versions but in 8.04 I get: error /sys/class/rtc/rtc0/device/power/wakeup: No such ...
0
votes
0answers
383 views

How to change the root password on Ubuntu 11.10? [duplicate]

Possible Duplicate: How to know my root password? I am using Bash. I have a freshly installed Ubuntu 11.10 and I need to change the password.
1
vote
1answer
302 views

Terminal non responsive after installing XAMPP in virtual machine and using sudo

I have just installed Ubuntu 11 on virtual machine running on a windows seven, I just downloaded the xampp package and wanted to install it, so I Googled how to install xampp, and it says I should ...
1
vote
1answer
891 views

How do you get “reaver” to run? [closed]

I found directions on this site, on how to do this, but it won't work for me. The Echo i get is a Syntax Error I used the commands, that came with these directions as followed: You need to install ...
2
votes
1answer
121 views

Using aptdcon or other apps in non-interactive script(s)?

I was trying to find a way in order to use aptdcon -- the command line client for aptdaemon in a script. aptdcon misses options such as: Loggable output - no progress indicator. Assume No to all ...
3
votes
2answers
31k views

How to add path of a program to $PATH environment variable? [duplicate]

Possible Duplicate: How to add a directory to my path? I need to use a program in my job. I followed the installation instructions of this PROGRAM. However, when I try to run it the message ...
3
votes
1answer
670 views

File wont delete from trash even after sudo rm -rf ~/.local/share/Trash/

I've tried using sudo rm -rf ~/.local/share/Trash/files/ and even going myself as root doing the same, and recreating the folder its still there, it was from a pendrive at one point and I deleted it ...
1
vote
1answer
262 views

Editing with nano, Alt is caught by the window menus, how can I fix that?

The Alt key is used for many useful commands, but unfortunately it's caught by the terminal window to activate the window menus (File, Edit, ...). I would like to either force the terminal window to ...
2
votes
5answers
4k views

How do I turn off the screen saver using the command line?

I would like to turn off the screen saver from command line, which used to work with gconftool-2 -s /apps/gnome-screensaver/idle_activation_enabled --type=bool false in natty & oneiric for ...
2
votes
2answers
628 views

Why wont my pipeline work?

I am trying to make a bash script that will find all the mp3s in my Downloads folder and move them into a music folder. Why won't this line work? find ./ -type f -name \*.mp3 | mv *.mp3 ...
3
votes
3answers
3k views

Enable/Disable Passwordless Login/Autologin Via GUI/Command Line

Before I ask the question, would someone please help stipulate the Ubuntu definition for these two seemingly identical but different terms (I've given drafts.): Autologin - When you power up the ...
2
votes
1answer
5k views

How to unzip files into the current directory?

I am trying to write a bash script that will automatically unzip mp3 downloads and move them into my ~/music folder. My problem is that when I use the unzip command, it creates it's own folder ...
2
votes
0answers
310 views

How can I make the LXTerminal accept the arrow key for history search? [closed]

In the bash, one can enable a "search-as-you-type-like" behaviour by changing eg. the .inputrc : 1 ## arrow up 2 "\e[A":history-search-backward 3 ## arrow down 4 ...
3
votes
1answer
265 views

How can I find which song is currently playing programmatically?

I'm trying to make a little bash script which I could call with a keyboard shortcut and which could detect which song is currently playing and vote it up or down, stuff like that. How can I get ...
1
vote
1answer
452 views

Slow server on web-based writes and SSH login

I have an Ubuntu 10.04 server that's going a bit slow. It's very slow to log in via SSH, and it's very slow when making edits via a Mediawiki instance installed on there. For normal read access to ...
3
votes
1answer
480 views

Command line suspend for a pre-determined amount of time

How can I suspend from the command line for a pre-determined amount of time? For example, in the terminal i can do "pm-suspend", and that suspends the computer. But I want the computer to come out of ...
1
vote
1answer
893 views

I cant install gnome classic or the shell one

sudo apt-get install gnome-shell Reading package lists... Done Building dependency tree Reading state information...Done Package gnome-shell is not available, but is referred to by another package. ...
1
vote
1answer
288 views

Printing a file from server

Is it possible to print a file from my schools server terminal to my printer. How would i do that? Im not sure if this is possible if not how would i view the printers that are set up to print ...
2
votes
0answers
271 views

Gnome shell transparency issue with a theme [closed]

just installed Gnome Shell and started theming it, and "le wild gray stripe appeared" on the panel, doesn't matter what theme I use, except for the default as I guess it doesn't use transparency, ...
6
votes
5answers
2k views

Selective command-history in the terminal?

Within a terminal, when you press up in your keyboard, you get to see the past commands you have given to it before in order. I was wondering if there was a way to see only the commands in the past ...
0
votes
2answers
284 views

Prevent user from executing a shell command

How can I prevent a none root user to executes e.g. the passwd command in terminal?
2
votes
1answer
2k views

Mplayer does not work anymore and I don't know why or what happend

Whenever I try and sue mplayer it says: mplayer: relocation error: mplayer: symbol ff_codec_bmp_tags, version LIBAVFORMAT_53 not defined in file libavformat.so.53 with link time reference What do ...
3
votes
3answers
18k views

How can I make a hidden file/folder? [duplicate]

Possible Duplicate: How can I hide directories without changing their names? I'm using Ubuntu 11.10 and I want to make a file hidden. How do I make for example a .docx file or a directory ...
39
votes
5answers
66k views

How do I download and install Handbrake?

I'm new at Ubuntu so I don't know very well how to use the terminal in order to download and install programs that aren't in the software center. I've tried without success downloading and installing ...
2
votes
2answers
3k views

How to Automatically run two commands after login?

I have these two commands that I need to manually run every time after login: autossh -M 2000 -N -f -q -D 127.0.0.1:7070 user@domain.com and sudo mkdir /media/C sudo mount /dev/sda2 /media/C I'd ...
1
vote
1answer
220 views

Ifconfig bandwidth tracking

I've been using ubuntu servers for a long time, but something i've never quite understood was the ifconfig command and total bandwidth. I've found that on every server i've used, and some desktop ...
0
votes
1answer
493 views

Using Compizconfig keybindings to run command

I'm trying to fix my keyboard keys brightness up/down. Using acpi_listen pressing brightness up/down I have the result: video DD03 00000087 00000000 video DD03 00000086 00000000 Running showkey: ...
0
votes
4answers
1k views

Unable to “cd” into an external drive

I am new to Linux. So please excuse me if my question is amateur. I have two partitions: "Windows and Linux OS" Both are listed as Storage-Files, called under the name of "New Volume" The external ...
0
votes
2answers
3k views

Perl Script Permissions

I'm having a few problems with running a Perl script. Every time I try to run it (its from a runescape launcher client), it give me the following message in terminal: Permission Denied How can i fix ...
1
vote
1answer
326 views

How to rotate background Images in Gnome-Terminal

I have an image I use as a background while using the terminal. I would like to know if there is a way for a selected few images can be rotated when using the terminal. Not like a moving ...
0
votes
3answers
99 views

how do i make a command that executes a program when a custom hotkey is pressed?

how do i make a command that executes a program when a custom hotkey is pressed? Are there any good tutorials on how the command / terminal system works in ubuntu? I want to know how (using the ...
4
votes
1answer
1k views

CLI: Extract metadata, properties from video files

I would like to extract some properties and metadata from video files, e.g.: Resolution Codec Sound quality and format How do I do it form the command line?
2
votes
2answers
1k views

PDFtk Password Protection Help

I am using Ubuntu 11.10 and am looking for a solution to password protect a bunch of pdf files in a directory in batch. I came across PDFtk and it looks like it might do what I need, but I've reviewed ...
2
votes
3answers
2k views

How would you configure byobu as a login shell?

I need to have my telnet and ssh users use byobu as their login shell. I would like to avoid using .login/.profile/.bashrc and the likes to spawn byobu. I'd like to have byobu as the shell defined in ...
2
votes
1answer
589 views

How do I get to the options in nvlc?

I recently found out about the ncurses vlc command line interface, nvlc and tried to access the options with no success; the nvlc -option command as the help manual suggested didn't do anything I'm ...
2
votes
1answer
7k views

Issues with Quickly: tk-WARNING **: Unable to locate theme engine in module_path: “pixmap” [duplicate]

Possible Duplicate: Gdk Gtk warnings and errors from the command line I'm fairly new to Ubuntu, and I decided that I want to learn to develop applications for it. I found some great ...
1
vote
1answer
267 views

The color-coding of file types in my terminal has stopped, help?

I was messing around in the terminal earlier and the way file types and directories are color coded has stopped. Now when I pull up a list of all files in a directory, they are all white. What ...
18
votes
4answers
12k views

Take a picture from terminal

I want to be able to take a picture using the webcam from the terminal. this image then will be send to a specific directory. How can this be done.
4
votes
1answer
810 views

Scanning from terminal

I want to be able to scan from the terminal and then send the scanned output to a specific directory. Can this be done from the terminal.