Questions related to instructions issued at the terminal executed by a shell program and running Unix/Linux commands at the terminal.

learn more… | top users | synonyms

2
votes
1answer
60 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. ...
-1
votes
0answers
232 views

Why won't se-toolkit set up? [closed]

When I run "apt-get update" and "apt-get upgrade" on Backtrack 5 R3, I get this after waiting about an hour and a half or so: Setting up se-toolkit (4.2.1-bt0) ... Errors were encountered while ...
1
vote
1answer
22 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
68 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
0answers
27 views

Moving files in ubuntu 12.10

I am trying to move the file crt.ca to my /etc/openvpn. I have tried sudo move command and it says move or mv is not a valid command. Help would be appreciated. Thanks
1
vote
1answer
47 views

What is the best directory for script files?

I have my own shell script files and I want to run them in terminal, keeping them in /usr/bin folder. But my question is: which directory is best for keeping files of my own script? I want to use this ...
1
vote
2answers
43 views

Is there a way to show progress when copying/moving files using the command line?

sometimes with large files it takes a while and some sort of progress bar to know that its still working would be nice.
0
votes
0answers
10 views

How to restore original version of config file from package cannot be purged (e.g. base-files) by command?

I found a system's /etc/lsb-release has been modified and I want to replace it to the version in base-files package. However I can't apt-get purge base-files because it contains crucial system files ...
0
votes
0answers
22 views

snort configuration

When I want to install or configure libpcap in Ubuntu 11 for snort application, it says Fatal error: can't create pcap-linux.o: Permission denied make: *** [pcap-linux.o] Error 1 Some one know ...
0
votes
3answers
68 views

Download ZIP file with curl command

How can I download ZIP file with curl command? I tried curl -sO, but error occurred. I want to download zip file from address: http://github.com/ziyaddin/xampp/archive/master.zip but can't. What must ...
1
vote
2answers
65 views

A package was installed badly. How to remove it?

When I'm trying to update or install anything I get this error: Reading package lists... Done Building dependency tree Reading state information... Done E: The package equalx needs to be ...
10
votes
1answer
485 views

What does this “… | ps `cat`” command do?

On my Internet research, I found the following command as solution to find the process name of a window: xprop _NET_WM_PID | sed 's/_NET_WM_PID(CARDINAL) = //' | ps `cat` I just do not understand ...
1
vote
1answer
46 views

Any command to check packets received and transmitted

Is there any command line option to check how many packets my P.C is receiving and transmitting in real time (something like top) ?
0
votes
1answer
60 views

Terminal banner command

In Ubuntu Terminal must be a command banner. This command shows text like banner. But in terminal it doesn't exist. Why?
0
votes
0answers
44 views

Very basic command line question [duplicate]

I'm very new to Ubuntu (and Linux). I forgot my main password and looked up how to delete it and now I'm at a root menu screen that says "-d, --delete". My question is what do I actually need to type ...
0
votes
1answer
44 views

How to enter a folder with name # from the command line in Ubuntu?

I have a folder, name of my folder is #. How can I change directory (cd) to this folder.
0
votes
1answer
67 views

How to escape special characters in password? [duplicate]

I am trying to install SVN in Ubuntu. My network proxy has a password. In apt.conf when i do: Acquire::http::Proxy "http://username:pass@word@proxy_server:proxy_port"; It's not working . My ...
3
votes
1answer
95 views

What is the difference between `command` and `./command`?

I found that sometime I use the command to run a command, but sometime I use the ./command to run another command. What is the difference?
2
votes
1answer
70 views

Execute shell script or command on idle time

I'm searching for an possibility to execute a shell script or command on a idle time in the bash shell. As an example, if I'm in a SSH session to a server of mine and after X minutes of inactivity in ...
4
votes
2answers
358 views

What does this command mean ls -l test.conf -rw-r--r— l root root?

root@ubuntu:/etc/openvpn# ls -l test.conf -rw-r--r-- l root root 791 Mar 20 09:23 test.conf What does the above command mean?
0
votes
1answer
35 views

Dead keyboard when entering password [duplicate]

I lost all icon from my desktop. When I use the terminal I am able to enter the commands but the keyboard goes dead when ask for my password. The only key that works is the enter key and after 3 ...
0
votes
1answer
70 views

Getting configure command of php

I am using an ubutnu OS, I have installed LAMP stack using "tasksel", I am not able to find the "Configure Command" while I am going through phpinfo. But , in the same OS I am able to see the ...
1
vote
1answer
113 views

Graphics Driver for Ubuntu 12.10

Hello I am new to Ubuntu and I am having problems locating the graphics driver to install. I have a Pentium 4 HT 3.2 dual core, I tried the command jockey-kde but found out that is for an AMD 64 ...
0
votes
1answer
192 views

I've installed GNOME to try it out - Didn't like it. How do I get rid of it? [closed]

I'm running the 13.04 beta and have never tried GNOME3. I've installed it in the following manner: sudo apt-get install ubuntu-gnome-desktop ubuntu-gnome-default-settings sudo apt-get install ...
0
votes
0answers
36 views

Switching OS's on the fly

Is it possible to load Ubuntu after you boot in windows and shut windows down and then switch it back? Just for fun
6
votes
3answers
181 views

Replacing dots (.) in sed

I have a string of text: " . . ." that is space dot space dot space dot I am trying to replace all occurence of this string in text file to "..." that is dot dot dot I was trying to ...
5
votes
2answers
153 views

Generate a list of available commands and what each does

Does a Linux command set with descriptions exist on the net? I have a list of commands i obtained by using alt! with 1947 commands listed. I put these into a file but I am having to write what each ...
4
votes
3answers
190 views

what is the right way to shutdown ubuntu using the command line? [duplicate]

I know that there are several commands that shutdown an Ubuntu computer. I was just wondering if there is a right one to use and what the implications are for using the other ones; or what the various ...
2
votes
1answer
171 views

How to use Xfce4-display-settings terminal commands?

What I want is a terminal command that would activate internal display in case it is de-activated in Xfce. (Then, I could run this command by a script+shortkey and get a solution to this problem). The ...
0
votes
1answer
34 views

to move all file with certain common string except the extension of the file to another directory

Suppose there is directory with files and most of them have "ubuntu" string in common to the name of file . i used the command mv ubuntu1 ubuntu2 ubuntu3 ubuntu/ now i want to move all these ...
3
votes
1answer
114 views

How to automate execution of sequence of commands in ubuntu?

I am new to LINUX operating system. I am using ROS (Robotic Operating System) where I type few commands in separate terminal windows for doing the setup. ie Before I run my program, I have to ...
4
votes
2answers
301 views

How to display notebook model number?

I have a notebook HP Pavilion dm4 running Ubuntu 12.04 and I'm trying to determine the model number (like HP Pavilion dm4-2015dx or HP Pavilion dm4-2033cl, etc). There's no such information on ...
1
vote
0answers
37 views

How to know if my Ubuntu machine is running 32 or 64 bit OS [duplicate]

What command should I run to identify if I am running a 32 or a 64 bit OS
1
vote
1answer
208 views

Ubuntu 12.10 64bit not picking up my Ethernet

I logged onto Ubuntu to realize that my Ethernet connection is not connected. It has worked fine until now. Any help would be appreciated. Also, I'm using Realtek Ethernet.
29
votes
4answers
1k views

Removing files with a certain extension except one file from terminal

I need to remove all files with .gif extension except one file with name say "filename.gif". What is the optimal way to go about doing this in terminal? The command rm *.gif removes all gif files ...
1
vote
3answers
2k views

I can't install flash player

I tried every version of Flash player for Ubuntu 12.10, but it doesn't work. When attempting to install it, I got this error. Reading package lists... Done Building dependency tree Reading ...
3
votes
1answer
109 views

Creating A Shortcut to Open Terminal & Run A Command

everyone. I'm new to Ubuntu Gnome, and I just wanted to know if it's possible to create a shortcut such as CTRL+1, and have the terminal popup and run a command such as 'sudo apt-get upgrade'. Is ...
0
votes
1answer
34 views

wrong use of #MV

I've a done wrong use of sudo mv command. Example: sudo Mv/home/USER/Downloads/piff.pdf /root/PDFs Then the directory /root/PDFs has been changed to a plain text file. I can undo the command? I ...
0
votes
0answers
18 views

How do i open a cfile in Ubuntu?

How do i open a command file in ubuntu 12.04? I am trying to run gr-bluetooth using USRP2. and i get an error: socket(PF_PACKET, SOCK_RAW, htons(0xBEEF)): Operation not permitted eth0: socket: No ...
2
votes
1answer
30 views

What is the difference that explains different results of different ways to assign values in a command-line?

What is the difference that explains the different results of these commands? a=2 echo $a set a=2 echo $a a=2; echo $a set a=2; echo $a
1
vote
0answers
137 views

How to remap the F1-12 keys to require the Fn key + F1-12

I recently bought a new laptop, and mapped the F10/11/12 keys to media controls so that I would be able to just press, say, F10 to mute the volume. However, I now cannot use the F10 key normally. ...
0
votes
0answers
40 views

Running a command from within Zenoss

I am using Zenoss to monitor some Ubuntu VMs I have. I want to configure Zenoss so when I receive a notification it runs a command. How do you run a command as a user in Ubuntu silently i.e. I want ...
0
votes
1answer
64 views

playing with head in ubuntu

Hi while I am playing with Ubuntu head command of CLI, I came to a situation.There what ever I am giving as input thats echoing automatically. The command and its play mentioned in the image. so ...
6
votes
1answer
153 views

What is wrong with this method of using an alternate lock screen background?

I have recently been trying to separate all three wallpaper states that are all the same as default. They are: Unity Greeter Lock screen Desktop All of them have a wallpaper, and as default the ...
0
votes
0answers
11 views

query related tobroken package [duplicate]

Possible Duplicate: How do I resolve unmet dependencies? I'm unable to update or install new packages. wheneer i try to do so,it comes out with output that you have held broken packages. ...
10
votes
6answers
543 views

Command to see media file info in terminal?

I need a command to quickly see in terminal essential information about an audio or video file. (Then I'll consider adding that to Thunar's custom actions, etc.)
0
votes
0answers
187 views

Delete duplicate files with different extensions

/dir/ect/ory/ contains n folders each containing r files. Of which a certain number are the same file with a different file extension. These files are both in the same folder. Is there a simple way to ...
2
votes
1answer
60 views

How to convert multiple files to png (instead of one) in Thunar custom actions?

I have added convert %f %f.png to Thunar's custom actions to convert a selected image to png. What would be the command that can be added in the same way that would allow selecting multiple files or ...
2
votes
2answers
99 views

How to convert flv file(s) to mp3 from PCManFM's (Open with) context menu?

Opening a terminal in a folder that contains a flv file called "one" (one.flv) and running this command: ffmpeg -i one.flv one.mp3 the flv file is converted to mp3 with the same name and in the same ...
0
votes
2answers
118 views

What are the corresponding commands in Ubuntu?

This link: https://community.openvpn.net/openvpn/wiki/BuildingOpenVPN-GUI provides the following instructions: $ autoreconf -v $ ./configure --with-crypto-includes=/c/openssl/include ...

1 2 3 4