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)

1
vote
0answers
54 views

Unable to send files over 1 MB via FTP on Windows

I tried to send multiple files via FTP commands using simple batch script. It works fine when the file size is less than 1 MB but when the file is larger than 1 MB I get the following error log. ...
1
vote
0answers
53 views

Change playback device “default format” in Windows 7 from command line

How can I change the speaker's default audio format from the command line? I have an intermittent audio problem (probably from driver/sound card/motherboard incompatibility) that I can temporarily ...
1
vote
0answers
22 views

Is there a command line tool to run carbonite's “back this up”?

Is there some way to say "Back this up" to Carbonite on the command line on Windows? I know I can do it through explorer and the right click window, but I'm bit of a scripting fiend. I'm only trying ...
1
vote
0answers
28 views

Windows Script Issue - Works line by line, not as run.cmd

The following lines of code work perfectly for what I am wanting to do if I copy/past into CMD/DOS one line at a time. However, if I put all the code into a run.cmd file and run the file, it appears ...
1
vote
0answers
70 views

php is not recognized as an internal or external command although it is available in commandline

this is somewhat of a tricky question when it comes to "where should I place it?", but I assume a general problem behind it, which is why I am putting it on superUser. I have a Doctrine script which ...
1
vote
0answers
64 views

Linux command-line utils with built-in support of multithreading

I would like to be able to compare performance of multicore computers from a point of view of a user who performs typical day-to-day tasks in Linux. My current goal is to collect a list of compute ...
1
vote
0answers
80 views

allow sudo user to execute multiple commands for only ONE file

I'm trying to allow only one user to be able to use only 'cat,head,tail' on some of the log files. What is the exact syntax to use here. I tried user ALL /bin/cat /var/log/maillog Which works ...
1
vote
0answers
79 views

How to set up a multi-user text mode in Debian wheezy 7.6?

I'd like to set up one of the available runlevels to work as a 'multi-user text mode' runlevel. Such mode available e.g. on CentOS. Another example of what I need would be what you get when you add ...
1
vote
0answers
63 views

Appending filename and path in Batch file

I'm having a hard time learning how to use command lines and the using batch files. What I want to do is write a custom path and then add the filename so that the output could be saved there. This ...
1
vote
0answers
36 views

get output from cmdline application independently of system's locale

I'm trying to get the full OS-version information of a w32 host in a script (thus: from the cmdline), to be run on a variety of different machines. For this, i'm using the systeminfo as described ...
1
vote
0answers
53 views

Applications and .bat script get locked in Windows 7 for some minutes

I am playing around with Windows batch scripts and simple C++ applications on a Windows7 64Bit PC. The problem I am facing is that I cannot modify neither the batchfile nor the mingw-exe for minutes ...
1
vote
0answers
37 views

How to stop previous command proccess?

I moderate my windows server remotely by command line. Once I wrote: "netstat -an" It showed up the results normally, but after this command, when I write any command it displays the results of ...
1
vote
0answers
53 views

Why copy-paste in Windows command-line tools is usually cumbersome

I've used the command prompt, cygwin, mobaxterm in Windows. Although they do support copy-paste, the operation is usually not that straightforward. The selection of the text in the command prompt is ...
1
vote
0answers
125 views

.exe files wont close with task manager or command prompt - Windows 7

This is happening with my video game DayZ StandAlone and Google Chrome Browser and a few other programs. But I will close the program normally and it will appear closed until I check Task Manager. (I ...
1
vote
0answers
41 views

How to switch between DNS suffixes using CMD (netshell)?

at my job, I have to manually switch between: 1) append primary and connection specific DNS suffixes and 2) Append parent suffixes of the primary DNS suffix a bunch of times per day (due to a ...
1
vote
0answers
35 views

I copied a folder with copy&paste instead of 'xcopy'. How to fix that?

I copied a folder (Windows Server 2003) with copy-paste instead of 'xcopy' or 'robocopy'. Now I lost the original permissions, and I can't re-do the copy process (can't access the original folder). ...
1
vote
0answers
49 views

Working git from the command line

So I use Github for Windows (that fancy GUI app) to manage my various git-based projects, but I've noticed that on my machine I can't use the command line git to do anything with my projects. From the ...
1
vote
0answers
337 views

OSX terminal command not found

I'm following a guide to setup airport in monitoring mode to do my networking exercise. I've made a shortcut to airport using this command: sudo ln -s ...
1
vote
0answers
915 views

Can't add Android platform to Cordova project as 'the command “android” failed'

I'm having trouble adding the Android platform to my Cordova project. When attempting to add the platform, I get the following error: Error: The command "android" failed. Make sure you have the ...
1
vote
0answers
2k views

DISM /StartComponentCleanup fails, but /ScanHealth reports healthy

My WinSxS cleanup task was giving the "Last Run Result" of The component store has been corrupted. (0x80073712). No problem, to elevated command prompt and DISM. >DISM /Online /Cleanup-Image ...
1
vote
0answers
130 views

How do i add command to my batch file to go get a screen shot of a webpage and return and save to my desktop?

I'm just learning about batch files and such, and I have been googling round and round trying to find how to create a batch file with a command that will go to my youtube page link and take a ...
1
vote
0answers
206 views

How do I get the aws cli completion to work with zsh on ubuntu?

I installed aws console cli following the instructions here: http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-set-up.html#install-bundle-other-os I want to get completion working ...
1
vote
0answers
123 views

Command line rar.exe and delete files from archive older than sytem date minus 14

I know there is a d command line switch but how do I add system date minus 14 for example? I would like to remove from the archive d:\Backup\Transactions all the files older than 14 days. So far I ...
1
vote
0answers
44 views

Recursive search occurs instead of last command when using up arrow.

I'm using an internal product "shell" based on spring shell. When I press the up arrow to get my last command, instead I get (reverse-i-search)`': Retrieving the last command works for all my ...
1
vote
0answers
30 views

How do I extract files from one tarball to another tarball in one step?

I have some fairly large tarball archives, from which I need to extract some files. I will later repack those files to transfer them to another server. Currently that is a two (multi) step process for ...
1
vote
0answers
51 views

Disappearing characters between youtube-dl, ffmpeg, and cmd

so what happens is that if the video title has a symbol that isn't supported by your current locale then ffmpeg won't be able to get to that file properly. Here's one example ►2 HOURS BEST MELODIC ...
1
vote
0answers
93 views

How to perform this Windows 7 permissions change on many files via GUI or command line

After using my external hard drive on another Windows 7 computer to tweak photos with Windows Live Photo Gallery then upload them to Facebook I found the modified images were now not visible on the ...
1
vote
0answers
62 views

Dtrace shows posix_spawn called with only 3 argument. Trying to launch by hand

I ran dtruss on a process that launches another one: the League of Legends Launcher starts the main game process with certain arguments that I can't seem to pass via the command line. What caught my ...
1
vote
0answers
349 views

Play two files in VLC dummy and give sout parameters to both of them

I want to add multiple files to VLC's web interface. And the commands below do exactly that. Two files are added to the VLC's web interface's playlist. But as you can see, that's not all I wanted - ...
1
vote
0answers
174 views

Is it possible to pause/rewind in VLC's dummy interface?

I got it working what I initially wanted. I have a desktop computer, which I use as a "streaming server". I send all the VLC streaming commands to it, and my desktop computer sends the video to the ...
1
vote
0answers
74 views

How can I feed a file into a program that reads stdin (on Windows command line)?

I have a program P that processes stdin. How can I feed a file into this program from the windows command line? P < filename does not work. filename | P filename > P does not work either. ...
1
vote
0answers
61 views

Batch window's colors are screwd up by Node.js and related commandline services

I run node.js from a batch file and whenever some command that has colorful output it screws up my batch window's default colors. ^ Here it's debug that does it, but any command that has colored ...
1
vote
0answers
229 views

How can I quit Firefox via command line in Windows without forcing it?

I want to quit Firefox from the command line, without "forcing" it. I just want to cause the same as clicking Quit in the menu in Firefox would. Seems I need to call "goQuitApplication" somehow, ...
1
vote
0answers
143 views

Windows command line - accessing of remote windows server folder

I am logged in a Windows 7 and was trying to access the shared folder located in a Windows server 2008. I can successfully map the network drive with the URL: \\\ServerName\DavWWWRoot\Shared ...
1
vote
0answers
40 views

Converting file to PCM using SoX

I am using SoX. A-Law, 8000 Hz, 64 Kbps, mono Is the format I need What I tried: input -c 1 -r 8000 output It is not working for me, please advise. I get the file output, it's just not ...
1
vote
0answers
379 views

Windows7 command: set http_proxy and bypass

I am sitting behind a company proxy. To start vagrant i had to use set HTTP_proxy=http://http-proxy.example.org:9999 i tryed using netsh winhttp but that didn't work. So now my command line uses ...
1
vote
0answers
229 views

cannot type at command prompt in mac single user mode

I am trying to run applejack. At the bong, I press the command + s keys. The prompt comes up, but when I type, nothing happens. I have a Mac USB keyboard attached and a dynex USB mouse. I tried ...
1
vote
0answers
75 views

Creating multiple screens in a for loop to run parellel programs and sending commands to each

Before flagging this questions as redundant, i have read and tried every answer to similar questions with no success I have this loop where it traverses a directory structure, and runs a program ...
1
vote
0answers
770 views

How can I import a security template in Windows 7 using command line?

I would like to remotely deploy some specific change in Security Policies to several computers via remote console (SSH). This is my just exported security template .inf file, extracted according ...
1
vote
0answers
25 views

Associantion of a jpg by command line fails

I'm trying to associate files by command line. I could associate .rar file by this command assoc .rar=rarfile ftype rarfile=%USERPROFILE%\Dropbox\bin\WinRAR\UnRAR.exe x -ad "%1" But it fails with ...
1
vote
0answers
27 views

How to bind a command line to a user logging out in XP?

I have access to a central kiosk at work (windows XP). I installed Dropbox on the computer, but it hangs and must be force closed whenever a user logs out or I try to shut the system down. Since I ...
1
vote
0answers
64 views

du on Mac OS 10.9 gives two different answers for the same directory

If I run du on my iMovie Library.imovielibrary I can get two different results depending on how I run du. However, I believe both of these should result in the same value. Behold: davids-imac:Movies ...
1
vote
0answers
211 views

Nested environment variable does not expanded

I can't explain the below strange issue. I have two system variables: PYTHONHOME = D:\Tools\ISDC_Tools\Scripting\Python.2.7 PYTHONPATH = %PYTHONHOME%;%PYTHONHOME%\Lib After creating a new cmd ...
1
vote
0answers
126 views

Is it possible to modify (or create) an scheduled task in Windows command-line to disable “Stop task if it runs longer than”?

I wanna change this option via command line using schtasks (or whatever), but the docs seems not to have an option for it: Stop task if it runs longer than only the GUI seems to allow it: I ...
1
vote
0answers
174 views

How to list all apache modules in windows command line? ( WAMP installed )

I have WAMP installed and I would like to list all Apache modules using this command: httpd.exe -l but when I hit enter, list of modules ( as far as I could read ) appears and disappears quickly ( ...
1
vote
0answers
388 views

What is the command line to start a gadget in Windows 7?

I need to make sure that some Windows 7 gadget is running at a specific time of day (10am) for an user. Surely, I can start it once and let it run forever, but the user may accidentally or ...
1
vote
0answers
80 views

VBoxManage: error: Cannot read the partition information from '/dev/disk0'

I'm trying to make a partition .vmdk file for Virtual Box. Basically I want to boot my bootcamp partition box up in Virtual Box. But I get the following error when I try to make the .vmdk file ...
1
vote
0answers
35 views

Getmail: Can it remove deleted messages?

I understand that getmail can download messages via IMAP. But what about deleted messages? Can I set up getmail to remove deleted messages also from the local disk? Background: I’m looking for a ...
1
vote
0answers
55 views

How to split MIDI file on Linux in command line?

Expecting something like split_midi input.mid --from 1:00 --to 2:45 -o output.mid It whould be good if the tool also allow joining, changing volume, filtering tracks and transposing the MIDI.
1
vote
0answers
270 views

Dropbox in a networked shared home folder environment

I've got access to a cluster of servers, and my home directory appears on all of them (as it's on a networked drive). I installed the CLI version of Dropbox on one of them, and when I make changes to ...