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)

0
votes
0answers
11 views

zoompan filter creates shaky image?

I try to perform a basic zoompan with FFmpeg. I have an input list image (.jpg 400x300) and i create slice image video (.mp4 400*300) from it, with a zoom each image. This is my command: ffmpeg -y ...
0
votes
1answer
29 views

Windows - Run process on background after closing cmd

I have a Python script which I want to run as a background process on Windows. I can do that on Linux with: python script.py & and then disconnect the process from the terminal with: disown ...
3
votes
2answers
54 views

Loop/Batch file for extracting all .aac from .m4a files in folder

I'm desperate. I need to extract the .aac stream from ~1749 .m4a files with ffmpeg, but I can't get a batch file working for me and it would take years to do it manually. This is what I use for ...
0
votes
0answers
18 views

Doskey alias fails because of equal sign [on hold]

I am trying to make the following alias to work but it fails: doskey gittwo=git --git-dir=.gittwo I also tried it with single or double quotes but it still failed to work. alias gittwo="git ...
22
votes
3answers
21k views

What is the difference between CMD and Command prompt in windows?

Until now, I never thought (and never observed) that cmd and command are two different things. Well, are they? Take a look at this pic: Actually, I usually open cmd from the Run dialog whenever I ...
0
votes
1answer
39 views

copy files from directory/subdirectory listed in text file (Mac)

I'm looking to search and then copy all files with filenames matching in a text file from a directory (with subdirectories) on a server to another directory. I've found a great solution (though quite ...
17
votes
5answers
45k views

Download a file via HTTP from a script in Windows

I want a way to download a file via HTTP given its URL (similar to how wget works). I have seen the answers to this question, but I have two changes to the requirements: I would like it to run on ...
1
vote
3answers
2k views

Split audio file with cue file

I have a FLAC file and a CUE file. Using the command line, I would like to split this file, with one track per file.
4
votes
3answers
466 views

a linux cli equivalent to mac's “open” command? or windows “start” command?

In a mac cli, I can type open file.jpg and the mac will automatically figure out the correct application and open it for me. In Windows, the start command does the same thing, but also will open up ...
1
vote
0answers
50 views

How can I flash the screen to indicate a CMD process has completed?

I'm running a process on a remote Windows 8.1 PC through CMD, and have a Remote Desktop window open to monitor it. That window is usually in the background. How can I have CMD display a visual cue ...
2
votes
1answer
5k views

How to install ffmpeg on OS X? [duplicate]

You can get the binary here http://ffmpegmac.net/ How do I install said binary to use it as a commandline tool. I have a mac, with mavericks. If possible, it would be nice to install it without the ...
3
votes
1answer
58 views

How to set chrome as default browser Windows 10?

I've tried setting default in the reg keys hkeycu>software>microsoft>windows>shell>associations>urlassociations>http and https. Tried using master_preference file tried using command switch ...
0
votes
1answer
15 views

How to get archive in cpio format with 7zip command line

"C:\Program Files\7-zip\7z.exe" a -tcpio initrd initrdcpio\bst mods\bstnet.ko I have tried this command, but got an error
0
votes
1answer
27 views

Is there a way to toggle the Windows “compress this drive” command through a command prompt?

My friends laptop (a 64-bit Windows 7 Home Premium with 4GB RAM) was running slowly and she asked me to take a look at it. One of the things (besides that the disks had not been defragmented for a ...
1
vote
2answers
21 views

can't run console program in batch file

I have a batch file (run.bat) which is to change my IP address setting: netsh interface ip set address "lan" static 192.168.30.77 255.255.255.0 192.168.30.2 The command worked as I expected when I ...
1
vote
1answer
3k views

Bypass wifi-activation-button in XP start-up on Amilo L1310g

Right then. I have a problem on a Fujitsu Siemens Amilo L1310g. This (old) machine is constructed with a ("feature") physical button that activates the wireless internet. When pressed XP starts ...
74
votes
4answers
80k views
0
votes
0answers
18 views

Updated Drivers - Command Prompt periodic executes

Well just recently I updated my drivers a bit ago and I would rather not have to rollback my drivers, but is there anyway I can track what program or the source of this commmand prompt that keeps ...
0
votes
1answer
11 views

Restart Windows Services from Linux while keeping password off the command line

I'd like to write some scripts (run on my linux computer) to help automatically restart some windows services. While I've found many answers that suggest using net rpc service, they all involve ...
-2
votes
0answers
56 views

How to uninstall an app installed with another user in Windows 10?

Yesterday I had a problem with my current user, and to solve it I had to create another user account in windows, and delete my previews account to be able to logon with my Microsoft Account in the New ...
0
votes
1answer
24 views

Access denied when modifing value of registry key [run as admin & owner of key]

So i found out that i cant really modify value of the registry , whatever i do with my permissions i cant get it to work from command line (I need to do this from command line since i want to use ...
0
votes
2answers
4k views

What command lists the files created in a specific month and readable for the owner?

I am supposed to find the command that lists all the files that are created in September and readable for the owner. Also explain how the command works. I know I'm supposed to use ls -l and I ...
0
votes
1answer
113 views

SVN: Vacuum/delete pristine copies from command line

How can I vacuum/delete all pristine copies of a working copy from command line? Use case: I have multiple working copies (20+) checked out (same case for many developers in our firm) some of those ...
0
votes
1answer
16 views

Create a batch file to add a beginning and end to text file lines

Can anyone show me how to create a batch file to add a beginning and end to each line of a text file? I have a large list and it would take endless time to add this to beginning and end. Even a ...
10
votes
5answers
2k views

How to open Command Prompt in a specific folder as Administrator?

I made a shortcut to cmd.exe and specified the folder that I want to start in. I then went to Advanced and ticked Run as administrator. When I double-click on the shortcut, it always starts in ...
1
vote
1answer
5k views

cmd > attrib - Unable to change attribute

I'm following this tutorial because I'm having problems with the Task Scheduler service: http://technicallyeasy.net/2010/10/how-to-fix-keyset-does-not-exist-for-scheduled-tasks-in-windows/ Basically ...
0
votes
1answer
4k views

tracert command is not working but able to access the same site through browsers

tracert [site name] is not working in cmd prompt. But the same site has been working in all of my browsers . Please find below output of command. I need to use this command in my batch file but there ...
3
votes
1answer
135 views

Windows Batch. Append to PATH Environment Variable, when It Contains Spaces

I want to add some binaries to path for my console session and I'm doing it like so if not defined WIXTOOLKIT_IN_PATH ( set WIXTOOLKIT_IN_PATH=1 set MY_PATH=%~dp0..\tools\wix SET ...
22
votes
4answers
20k views

Command-line video editing in Linux (cut, join and preview)

I have rather simple editing needs - I need to cut up some videos, maybe insert some PNGs in between them, and join these videos (don't need transitions, effects, etc.). Basically, pitivi would do ...
0
votes
1answer
15 views

Using the “%~dp0” with command line arguments not working

Been concocting a deployment script for a software, which needs to install Visual C++ 2013 Redistributable, in silent mode, from a moving source (aka, the folder might be on a key, on a server, ...
11
votes
4answers
4k views

Alternative to the tee command without STDOUT

I'm using | sudo tee FILENAME to be able to write or append to a file for which superuser permissions are required quite often. Although I understand why it is helpful in some situation, that tee ...
20
votes
6answers
12k views

How to mass prepend text to file names?

Lets say I have a directory full of .md files all named various things. Lets say I wanted to prepend "text" to the front of each file name. So for example: file a.md, b.md, and c.md would become test ...
15
votes
7answers
7k views

sed: how to replace line if found or append to end of file if not found?

With a single input file that only contains comments (starting with #) and VARIABLE=value lines, is it possible to replace a value for a single variable if found and, otherwise, append the pair to the ...
2
votes
1answer
4k views

How to add files to specified folder in archive with 7zip command line

I have folders and files on my disk C:\builds\main.exe D:\components\a\testa.exe D:\components\b\testb.exe D:\components\c\testc.exe D:\dependencies\abc.dll Can I create an archive with 7z command ...
0
votes
1answer
25 views

Copy Multiple Files w/ Same Extension but Add Date

I want to create a single command that will backup all my *.db files in a directory but I want to append the current date. a.db -> a_2016-04-21.db b.db -> b_2016-04-21.db c.db -> c_2016-04-21.db I ...
0
votes
2answers
279 views

How to run a bash script via absolute path?

I have a file: /Users/danylo.volokh/test/test_bash_script.sh Content is very simple: #!/usr/bin/env bash echo "-- print from script" I'm in folder "danylo.volokh" This command runs fine: ...
1
vote
2answers
579 views

OSX: How can I open Chrome from the command line with specific pages in tabs?

From the command line in OSX, how can I open Google Chrome with a specific list of URLs open in tabs, with certain ones pinned?
0
votes
4answers
11k views

7-Zip not working from the DOS prompt or command line?

I have "7-Zip" installed and it works from Windows, but not from the DOS prompt or commandLine: 7z e max_logs_can_messages.tgz Yields: '7z' is not recognized as an internal or external command, ...
0
votes
1answer
37 views

Convert MKV with DTS audio to MKV with AAC, AC3 or MP3 audio

I have an MKV with multi-channel DTS audio. Using ffmpeg from the command line I want to convert to MKV with either multi-channel AAC, AC3 or MP3 audio. Can someone please tell me command-line for all ...
3
votes
3answers
2k views

Windows cmd output redirection to standard input ( >&0 )

From a question on Stackoverflow, i've being testing with redirection from/to stdin stream. And this tests, trying to send data to the stdin stream, just to see what happens, end with an apparently ...
3
votes
2answers
3k views

Fix P4 command line to always work

Summary: The Perforce command line p4 does not work correctly unless I open the shell from P4V. How/where do I edit things to fix my configuration so that it always works? Details On Windows 7x64, ...
0
votes
0answers
12 views

Combine 2 xml tags with SED

I create an xmltv.xml for TV listings and need to use SED for some post processing. Im using Windows 10 with SED for Windows run via a bat file. The trouble is only certain tags are shown on my ...
51
votes
10answers
28k views

How can I trigger a notification when a job/process ends?

The place I work at has commands that take a long time to execute. Is there a command/utility that I can use to notify me when the command execution is over? It could be a popup window or maybe a ...
4
votes
2answers
6k views

Sending message to a remote user using msg

How can I send a message form one user to another user using msg command if both accounts are on same server and are using a client machine? I know the basic use of msg command. msg "username" ...
5
votes
1answer
19k views

DllRegisterServer fails with 0x80070005 even on cmd opened as Administrator

This error code is supposed to mean 'Access Denied', and the solution given everywhere on the net (eg. http://stackoverflow.com/questions/3808954/dllunregisterserver-failed-with-error-code-0x80070005) ...
0
votes
1answer
18 views

Rename php.ini.default to the more recognizable and standardized php.ini

When I type command: mv /etc/php.ini.default /etc/php.ini I get: bash-3.2# mv /etc/php.ini.default /etc/php.ini mv: ...
0
votes
2answers
45 views

Why does ls // hang in Cygwin

When I run the command ls // is Cygwin, the shell hangs for about 12 seconds, then gives the error ls: reading directory '//': Permission denied. I remember reading somewhere that /some//path is ...
30
votes
6answers
39k views

There's no 'sudo' command in Cygwin

Because there's no sudo command in Cygwin, scripts that I want to run fail with ./install.sh: line N: sudo: command not found What's the standard way for getting around this? Editing the scripts ...
87
votes
9answers
243k views

How can I put the computer to sleep from Command Prompt/Run menu?

I know that almost everything on Windows, like opening any sort of application, can be done from the command prompt or from the Run menu. How can I put my computer to sleep or shut it down? What is ...
10
votes
3answers
39k 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 ?