The command-line is the interactive interface to your shell.

learn more… | top users | synonyms (1)

0
votes
1answer
114 views

Video archiving method?

I want to archive family videos, films, etc. I'm currently using: mencoder INPUT.avi -o OUTPUT.avi -ovc x264 -x264encopts bitrate=750 pass=1 nr=2000 -oac mp3lame -lameopts cbr:br=128 I want to ...
0
votes
3answers
2k views

Bring up shutdown menu of Cinnamon via command line

How can I bring up the shutdown menu of Cinnamon via command line? Note: I don't want the user menu. This menu for switching or logging out a user is brought up via Ctrl+Alt+Del.
0
votes
3answers
6k views

Why $JAVA_HOME does not persist on a mac?

On my mac os 10.6.6 I'm trying to persist env variable $JAVA_HOME but it doesn't stick! $ export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Once I restart it won't ...
-1
votes
1answer
97 views

What does ls -l | wc do?

I cannot figure out what this command does. It produces 3 numbers in my terminal but with no explanation of what those numbers are. I understand ls -l lists all files in log list format and wc is word ...
-1
votes
2answers
8k views

How to delete a file in Arch console?

pacman stopped working and asked me to delete a file if "another package manager isn't working". What is the file for deleting files?
-1
votes
2answers
632 views

How do I get a list of all directories and files with absolute paths each line ?

Using ls -R / i get every file and directory listed that exists, but not in the desired format. What do I need to write on the command line in order to get a list in such a format, that every line ...
-1
votes
4answers
209 views

Need a command sequence that will move files from one directory to another based on a particular year? [duplicate]

I'm looking for a sequence of commands (one liner would be ideal) which will identify all the files created in particular year, and move the resulting files to another directory.
-1
votes
4answers
69 views

how to move back from a current directory

Hi if suppose I am curently here: cd Desktop/kinectrobot/src/beginner_tutorials/src and after that working in src i want to move back one directory for example I want to go to beginner_tutorials. ...
-1
votes
2answers
546 views

How can I add lines in /etc/rc.conf

I followed this tutorial to install FreeBSD 10.1 and at the step where it says "Add the following lines to /etc/rc.conf" I must to add the following lines in there: hald_enable="YES" ...
-1
votes
1answer
121 views

How to use the “source” command to run commands simultaneously?

For example, I have an executable called ex01 (C++ program). And I have a text file that contains a set of invocations of this program with different arguments. The text file looks like this: ...
-1
votes
2answers
287 views

CentOS command issue

This is what I am trying to run in VMware using CentOS 5 /pwnat: invalid option -- p usage: ./pwnat <-s | -c> <args> -c client mode (default) <args>: [local ip] ...
-1
votes
1answer
34 views

how to still have control with sleep? [closed]

I computed a clock on a file exerciceIV_2.C with the gedit command of unix, And, by a night of september, I decided to use sleep 1000 in order to stop the clock. I wasn't able to use my device for ...
-1
votes
1answer
182 views

How to install stardict from a tar.gz manually ?

I have downloaded stardict-2.0.0-pre2.tar.gz and applied the extraction on it by writing: tar xzvf stardict-2.0.0-pre2.tar.gz , thereupon a new folder was created with the following content: From ...
-1
votes
2answers
696 views

How to create a new partitioning table on SD card from the command line ? [closed]

I have tried to mount a SD card on Linux Mint, I have found the right device file and tried: mount -t vfat /dev/sdb /mnt/zauberportal ,but it failed and I tried some variations like different types of ...
-1
votes
1answer
144 views

man command: is there a way to know the meaning of the output of a command >

Is there a way to know the meaning of the output of a command? Example given: If I type ls -l, I get this ouput: [root@localhost junk]# ls -l total 8 -rw-r--r-- 1 root root 1862 2012-08-25 16:20 a ...
-1
votes
1answer
57 views

How to enable someone to SSH to my server from Windows? [closed]

I want someone from windows to log in into my server using SSH, so he can edit files and install things. Is there a step to step how to do it? I need to: Create his user account. Configure it, ...
-1
votes
2answers
514 views

How to install Okular under SUSE (on a server)?

I would like to install the pdf viewer Okular on a SUSE Linux Enterprise Server 11. I am familiar with apt under Ubuntu, but on SUSE, I only found rpm to install .rpm files. I am wondering how Okular ...
-1
votes
1answer
878 views

Delimiters of program arguments?

What is the syntax to delimit the arguments of a C program. For example, if I type : ./myprogram 1 2 3 | grep result The | grep result will be interpreted as arguments (and passed as argv). So how ...
-1
votes
3answers
88 views

cannot move Directory not empty

Edited due to people want to know more then me just wanting to know how to deal with two directories with same names in different places and move one into another when mv will not allow it if files ...
-1
votes
1answer
48 views

How do I backup /var/log to my home directory? [closed]

I need to create a script to backs up the entire content of /var/log into my home directory. The output folder name should be auto-generated in ~/backups/logYYYYMMDD format.
-1
votes
2answers
152 views

Not able to install any package or software on Linux 64-bit

I am using Linux RHEL6 and not able to install any package. [root@linux6 Python-2.7.9]# uname -a Linux linux6.4 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 ...
-1
votes
3answers
12k views

How do I override rw-r--r— root/wheel for a all files in a directory?

I am trying to delete a directory on OS X. I do rm -r /path/dir but I keep getting many, many messages like this: override rw-r--r-- root/wheel for cron/migrate.php? I type y for one message, ...
-1
votes
1answer
2k views

How to create a GUI in shell script without any third party libs just like setup command [closed]

How to create a GUI in shell script without any third party libs (like setup command)
-1
votes
3answers
366 views

Duplicate bash prompts

I'm having an interesting issue with XFCE Terminal/Gnome Terminal (not reproducible in XTerm), where executing bash or logging in using login or su will open a new Bash instance inside a Bash instance ...
-1
votes
1answer
296 views

Unzipping several specific files out of many into a directory using the terminal?

I recently installed Linux Mint 17 on my laptop. I had Windows 7 before, and I backed up all of my data onto an external hard drive. Windows 7 crams all of your backup data into a ton of .zip folders. ...
-1
votes
1answer
76 views

delete file with name --help.tgz [duplicate]

I have file with name --help.tgz. I want to delete but don't know how. I tried rm "--help.tgz", rm \-\-help.tgz and it did not work. How can I delete a file with such name?
-1
votes
2answers
818 views

Downloading DeviantArt : Favourites, Groups, Gallery…

Is there any command-line Linux tool for downloading user favourites (including subfolders), selected users galleries, groups ? (Preferably with ability to run in incremental mode, to update rip from ...
-1
votes
1answer
29 views

Linux file create time [duplicate]

Hi I am new to Linux and I am searching a command that gives me the file create time in a folder. Thanks in advance
-1
votes
0answers
62 views

Understanding {1},{2},{3},{4}… parameter to parallel [closed]

DISCLAIMER: I am using Mac OSX. The bash script is in a different directory from the files that require processing. From here my struggle begins… HELP 1: I have multiple files each housed ...
-1
votes
2answers
49 views

GUI gone after apt-get upgrade on clean install, Ubuntu Wily-

I was pointed here from AskUbuntu because my question was about an unsupported Ubuntu derivate, here is the copy-pasted question: I upgraded my fresh install of Netrunner 17 Horizon (Ubuntu-based, ...
-1
votes
0answers
20 views

sed search and replace is not working for below XML

My input is: <TransactionMode modified=\\'1\\' type=\\'int\\'><![CDATA[2]]></TransactionMode> <ClientCharacterSet modified=\\'1\\' ...
-1
votes
1answer
88 views

How to take a directory or file backup using command?

I have uploaded my file there will be a daily changes in that file for safer side i want to take backup that directory,when i tried copy that folder to another it is showing whenever i have created ...
-1
votes
1answer
28 views

What is the effect of a lone backtick at the end of a command line?

I accidentally typed in cd ` into terminal today and terminal didstrange things. It put a "> " signed on the next line followed by my cursor like it wanted some input. No matter what I entered ...
-1
votes
2answers
660 views

Need advice fixing this source error in Kali Linux

W: GPG error: http://http.kali `enter code here`.org kali Release: The following signatures were invalid: BADSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org> *This is the result i ...
-1
votes
1answer
926 views

How to recover the deleted file from linux system? [duplicate]

I am using centos7 locally. Mistaken I deleted text file(keystone.conf.disabled) using rm, from /etc/httpd/conf.d directory, How to recover this file. This file is very important to me. Please help ...
-1
votes
1answer
72 views

Replace mutiple strings with different values in a file using unix [duplicate]

I have a file in which the data is like below, 01,0000000,xxxxxxx/ 02,xxxxxxxx,yyyyyy/ 03,test1,41203016,,/ 01,0000000,xxxxxxx/ ...
-1
votes
3answers
3k views

run file from different directory [closed]

I have a directory mainfolder with a subdirectory execution which contains a configure script. I can switch to the execution directory and run ./configure and it works fine. Now I'm trying to figure ...
-1
votes
1answer
124 views

Why do many CLI apps take a single “--” argument? [duplicate]

Possible Duplicate: What does “--” (double-dash) mean? There are many command line tools that take a single "--" argument. For example: gem install mysql -- ...
-2
votes
2answers
60 views

I don't have writing access to a subdirectory in /

I have a server running under Debian wheezy. I want to create a directory in /. I can't without running sudo mkdir myDirectory. Once in /myDirectory, I can't write anything or create a repertory. I ...
-2
votes
3answers
45 views

Can an argument be passed through the “alias” command? [duplicate]

I want to know if i can pass an argument with an alias command. for example: alias d="dmesg|grep -iw usb|tail -5" Now d will print the last 5 lines. if i want to use d to print a different number ...
-2
votes
1answer
119 views

Bash: How can I replace a string in a previous command?

I need to replace a word in line or URL but I need to do it from command line/terminal. I mean $ ./myscript.sh xxx.xxx.xxx.xxx:8080/code -c code1 -t query Now from there, without going back, I ...
-2
votes
1answer
88 views

how to delete swarm of ._ files using commandline

I have these files in MAC which have weird ._ character before filenames/folders. Which I want to delete in one shot. Is there a way to do it in commandline? eg. ._js ._css ._image if I go into ...
-2
votes
2answers
640 views

Can I copy multiple directories into a single directory with a single command?

I have used photorec to recover data from a HDD and now have many directories /home/ray/recup_dir.1, to /home/ray/recup-dir.598 taking up valuable space in my Home directory. I want to copy them ...
-2
votes
1answer
105 views

how do I make a $VAR empty so it don't effect the command line argument and still be within that argument?

This is the basic setting for hsetroot for it to work: hsetroot -center /path/to/image/ - setting the wallpaper with just that the picture. To use these options, just one has to be place within the ...
-2
votes
1answer
34 views

What does the -p option do exactly with the cp command?

So I am trying to understand what is the significance of the -p option for the cp command. I opened the manual of the cp command and it says -p same as --preserve=mode,ownership,time stamps. But ...
-2
votes
1answer
58 views

Error while trying to copy file to many files using cp [closed]

Error when running this command, I think the command is clear to get the idea. cp file.txt /folder/*/*/*/file.txt I found out cp dosen't support *, so how can I do the same thing in bash or ...
-2
votes
3answers
341 views

Auto continuous scrolling of man output

When I execute man foo the terminal shows only the first page and then pauses. Then I have to manually press the keys to scroll here and there. After executing man foo how do I get an output which is ...
-2
votes
1answer
115 views

txt file to zip file

I have a simple text file named as 'file.txt' I want to create a .zip file which only include that 'file.txt'. I tried cat file.txt | zip newZipFun.zip -@. But it compressed my parent folder. ...
-2
votes
1answer
98 views

ls: No such file or directory [closed]

I have been messing around trying to install macvim to a higher version of 7.4. I finally got it working but now I get the error ls: No such file or directory when looking for a directory. I can ...
-2
votes
1answer
161 views

Get CIDR of my IP on the WAN

I have a script that updates some remote systems with my laptop's IP and CIDR on the WAN, how the Internet sees me, in other words. I use the following to get my IP on the WAN in bash: dig +short ...