A command-line interface (or CLI) is a method of interacting with your OS or software by typing commands on your keyboard.

learn more… | top users | synonyms (3)

2
votes
3answers
3k views

How can I change the creation time of all a folder's files to the current time?

Under a Linux shell, how can I change the creation time of all a folder's files to the current time?
0
votes
1answer
379 views

Windows 7 change Buttons ( CMD MAC )

I have Windows 7 and Macintosh and I use Macintosh Keyboard. But, on Mac keyboard have "CMD" which I want to use like "CTRL" on Windows 7, how can I do that?
3
votes
1answer
115 views

Play sound depending on command return status

Is there an utility which takes a command as argument, runs it and plays sound (or just beeps) depending on the return status? "Good" beep if it's success and "bad" beep if it's failure. So I can run ...
15
votes
3answers
4k views

How can I play a sound from the command line in Mac OS X?

I would like to play a short sound file from the command line in Mac OS X, independent of any audio player application, in order to provide notification that a long job has finished.
1
vote
2answers
424 views

Unix, find command, and false negative

Performing a search from the current directory where this file resides, this find command finds the file. # find . page.tpl.php However, when I search from a child directory, this command, # find ...
4
votes
1answer
736 views

How do I make ESC clear a line in Bash Under Windows instead of Ctrl+u?

I use bash in Windows, both in Cygwin and in Git Bash (part of Git for Windows). In bash unlike in the Windows cmd.exe Esc does not clear the line, only Ctrl + U. How can I make clear the line also? ...
2
votes
3answers
1k views

DOS Downloaders / Downloads Managers (e.g. WGET) any more? [duplicate]

Possible Duplicate: wget/cURL alternative native to Windows? I am currently looknig for a DOS down-loader similar to wget, are there any alternatives for Windows?
155
votes
8answers
9k views

What do the parentheses and number after a Unix command or C function mean?

I keep seeing parentheses and a number after a command in Unix or Linux or C function. For example: man(8), ftok(2), mount(8), etc. What do these mean? I see them in man too.
4
votes
2answers
346 views

Non-alphanumeric character folder name auto-completion problems

I have been working with Windows 7's command line and have some folders that begin with non-alphanumeric characters. When I try to use tab completion to complete the folder name, the initial character ...
0
votes
1answer
275 views

DOS pauses in stdout/execution

I've been having this odd issue recently where my command line screens will basically lock the programs writing to them until I give mouse focus to the DOS window and then perform some keyboard ...
2
votes
3answers
2k views

Windows 7 and cd to symbolic links

So I have created a bunch of symbolic links to top of source code tree, data directories, etc How do I, from command line, cd to these links?
5
votes
1answer
9k views

Why won't the Linux wall command broadcast a string argument?

I read here that this should work, but it doesn't: # usage: wall [file] root@sys:~> mesg is y root@sys:~> wall "who's out there" wall: can't read who's out there. If mesg is set to y, ...
1
vote
1answer
2k views

USB Device active in Safe-Mode with Command Prompt(XP)

I have come across mixed answers for this so I would like to set the record straight. This poor PC is damaged beyond repair and the only attempt at recovery is by booting in safe mode with command ...
10
votes
5answers
10k views

Store the output of date and watch command to a file

I am a newbie to linux and I am trying to watch a command and try to log it into a file. I tried watch -t -n 10 "(date '+TIME:%H:%M:%S' ; ps aux | grep "pattern" | wc -l)" >> logfile and am ...
6
votes
1answer
4k views

Passing Log in Credentials with Pushd? other command?

My Scenario: I am running the pushd command to run searches on remote domain computers. However the search performs very slow/or not at all when a user is not logged on to the machine(machine is still ...
5
votes
2answers
14k views

How to find file with name=“php.ini” on linux using grep command

How to find file with name="php.ini" on linux using grep command ? Can anybody show me ?
0
votes
4answers
7k views

Command Prompt shows up and disappears immediately

When I open Start > Run, type cmd.exe and press Enter, a black window shows up and disappears immediately. I've tried opening it from C:\windows\System32\cmd.exe I've tried cleaning the PATH ...
2
votes
3answers
2k views

Powershell vs. vbs vs. bat

I need to configure few Windows 7 machines (with a wide variety of tasks - from setting up screensaver, disabling services, adding task schedule entries to setting up IPsec/firewall rules). Since ...
1
vote
1answer
747 views

“command prompt here” context menu: how to uninstall it in windows7

I ran the MS powertoys to add a contextual menu "command prompt here" for easy command prompt access in Win7. How can I get rid off it now ? There is a string to unistall it : c:\windows\rundll.exe ...
8
votes
3answers
3k views

Is it possible to override the command line's built in “cd” command?

Just about every time I 'cd' to a different directory on my machine (in this case, running Mac OS X 10.6.7) via the command line (which is bash), I immediately type 'ls' to get the list of contents in ...
0
votes
1answer
2k views

Trouble using Cygwin rebaseall: "only ash or dash processes [duplicate]

Possible Duplicate: Running rebaseall on Cygwin I'm following the instructions from this post on how to run the rebaseall command: Cygwin fatal error unable to remap.. What does it mean? ...
0
votes
2answers
489 views

How process multiple files at once?

I have to use this vera++ tool against multiple *.cpp and *.h files. I accepts a filename as a parameter. How to search for *.cpp files and send them to vera++? Is this an one-liner or will I need a ...
5
votes
3answers
2k views

java.exe -version and pushd?

I have noticed that when I run the following command Pushd \\RemoteMachine\C$ && java.exe -version I get the java version of the computer I am on. However when I run the pushd command with ...
2
votes
1answer
772 views

Set MacFUSE options with EncFS and password from stdin

Today I set up an EncFS volume and I want to automate it as much as possible. I discovered that I can pass the password via stdin with the -S switch: echo sekret | encfs -S ~/encrypted JC ...
4
votes
1answer
848 views

Linux equivalent for “start” and “open” on the command line [duplicate]

The Windows command line uses start programname and start filename.ext to process the file as if the user had double-clicked it in the GUI shells we all know and love. MacOS's command line does the ...
1
vote
2answers
178 views

Use sed to modify and execute previous command

I've got a bunch of pdf files that are joined with a very long command line sitting in a directory. Some are in English and some are in French, differentiated by _e.pdf and _f.pdf. Because they're ...
15
votes
4answers
403 views

How to copy text in the Windows command line 'cmd'?

Is there any way to copy text that's shown in the Command Prompt window C:\Windows\system32\cmd.exe to the clipboard?
3
votes
2answers
7k views

List running processes with CPU and network usage in command line

How do I find the list (only prints each time called) of running processes with its CPU usage, and network usage in command line on Windows? I know tasklist.exe but that doesn't have CPU/network ...
3
votes
4answers
4k views

Is there a utility to create blank images?

I'm looking for an xpm icon to use as a placeholder until I make something better. Are there any linux command line tools that create blank images of specified dimensions? Like people use touch to ...
4
votes
1answer
786 views

What's Popup Text and Popup Background in the command window properties for?

When configuring command window properties in the 'Colors' tab we get - Screen Text Screen Background Popup Text Popup Background Can anyone tell me what the difference is between the 'Screen' ...
0
votes
1answer
979 views

msg.exe on command prompt

I try this command to my own laptop and it's a success. Here is the code: msg /server:mylaptopname * then I type the message, and it's success. But, when I change to my friend's it doesn't work. ...
8
votes
4answers
5k views

PDF to TEXT open source command line tool

PDF to TEXT open source command line tool ? It must be Command line utility & should be open source, free to use.
2
votes
1answer
2k views

Trouble copying a folder from my computer to another network computer using ROBOCOPY

I am trying to write a batch file to copy all files and subfolders in a folder from my local machine to another machine on our network. I am trying to use the ROBOCOPY command and would like the ...
1
vote
4answers
5k views

OSX - commands in terminal returning command not found

I recently downloaded and installed scala(tried to anyway) and just noticed that commands in terminal are not found.. I was tinkering with my path variable so I assume that is the problem... I was ...
0
votes
2answers
1k views

Making sound spectrum images from command line

Most of the audio editors are able to show us different kinds of audio analysis like this: Wave form (whole file); spectral frequency (whole file); spectrum analysis (for a slice). The generated ...
1
vote
2answers
375 views

OS X (Unix, Linux): Find files with a space in the name, copy and rename them, and move them to a separate folder

Google Music Beta won't upload mp3's with spaces in the actual filename. I would like a script that will find all the ones that have a space in the filename and copy them, rename them (just remove the ...
5
votes
2answers
8k views

Get bare file names recursively in command prompt

I ran into a little snag trying to get only the filenames (no extensions or file paths) recursively.This worked for me in the root folder: dir /b But when i added /s to scan recursively i also got ...
2
votes
4answers
294 views

Similar commands to %temp%

Are there any other commands similar to the %temp% command in windows. For example is there one for My documents or application data?
4
votes
1answer
4k views

How to play MMS stream with VLC via command-line?

I try to wake up in the morning with VLC and Cron (Mac OS X). the command Cron should run is : /Applications/VLC.app/Contents/MacOS/VLC mms://213.8.138.13/glz-stream but VLC gives me the following ...
2
votes
1answer
251 views

Windows XP CMD properties shortcut

I changed properties like screen length and buffer size of my cmd.exe (in system32). I expected changes to last for all instances, but the following is happening: any execution from within the ...
2
votes
2answers
6k views

Uninstalling Msi package with MSIEXEC

I need to uninstall a MSI package through command line. So i used: msiexec /x package.msi But this command requires the package.msi to be present in the local machine. I want to uninstall the msi ...
2
votes
3answers
2k views

Using cacls to set permission on executables

How exactly is it possible to restrict read and execute permissions of a file, and leave everything else in tact. So you can't open the file, although you can do things like move it and delete it etc. ...
5
votes
3answers
13k views

cmd.exe shortcuts and parameters

I have made a shortcut that opens cmd at a specific directroy How can I add a program to execute at the end of this statement? C:\Windows\System32\cmd.exe /k cd "C:\Program Files\App" I have ...
16
votes
6answers
314 views

Want to try out Linux, what do?

I've been learning ruby on rails for a while. At first I resisted using the console, but after a while I can say that I LOVE it. If Linux is anything like that, I think it's going to be legit. I ...
5
votes
1answer
3k views

Extract ISO file as non-root on CLI

I have this ISO file I should extract on a rather barebones server. However: I am not the root user, and I don't have any sudo-like possibilities, so no mounting I am not on Ubuntu (ArchLinux ...
2
votes
2answers
624 views

Kde equivalent of `gnome-open file` command

There is cool CLI utility an gnome-open file which does an application launch given the file the same way as douburu-clicking on this file in file-manager of gnome. How should I do the same with kde? ...
21
votes
4answers
11k views

Change iTerm2 window and tab titles in zsh

I want to label the window tabs of terminal sessions. I'm using the zshell in iterm2 on OSX. Is it possible to change the label of a window tab dynamically in the terminal?
0
votes
2answers
542 views

Why does xcopy's /f option affect spaces in exclude files?

I used asked this question and got an answer that seemed like it could not possibly be right, but I tried it and it worked! How could the /f option, which according to the documentation : ...
9
votes
3answers
28k views

Chkdsk Questions

Recently in running chkdsk /r on my system drive (platter drive, Windows 7 Ultimate 64bit) I've gotten back "4 EA records processed" and "76 reparse records processed". Am I right in assuming these ...
1
vote
3answers
2k views

can't exclude path with a space (xcopy)

I'm trying to use xcopy /exclude:exclude.txt and one of the paths in exclude.txt has a space in it and it's not working. Is there any workaround for this?