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
37 views

Cygwin and Cygwin64 missing prompt in terminal

I tried to install and reinstall cygwin and cygwin64. I also tried different mirror sites. Instead of seeing a line like user@PC~ $, I see a blank screen with a blinking cursor. The properties of ...
1
vote
0answers
19 views

How do I script chntpw wizard

I am using SystemRescueCd to reset passwords on laptops I need to fix for work. SystemRescueCd supports autostart scripts http://www.sysresccd.org/Sysresccd-manual-en_Run_your_own_scripts_with_autorun ...
1
vote
0answers
31 views

Is there a command line or scripting interface for KDE Baloo's file tagging?

KDE's Baloo allows to tag files by adding an extended file system attribute on the file system level (where supported), while keeping a separate index of all the tagged files. Searching within ...
1
vote
0answers
129 views

Windows .bat script to recursively archive (with 7zip) files in subfolders

I'm struggling to achieve the following DIR1 FileA FileB SUBDIR2 --->FileC --->FileD --->SUBDIR3 ------>FileE ------>FileF etc and end up ...
1
vote
0answers
86 views

Using batch to automate manage-bde

We would like to encrypt C (full disk) specifying a startup password (we are ok with this in plain text, it's temporary) and simply backup the recovery key to the desktop. So far what's working is ...
1
vote
0answers
221 views

What is @OpenWithToastLogo.png?

Background Recently, I copy-n-pasted some text from Notepad into a command line window. The copied text included a TAB character prefixing the text I copied, for example "{tab}test.exe". When I ...
1
vote
0answers
77 views

Pipe a list of files into vlc and mpc

I'm trying to pipe a list of all my files that start with "m" in my music folder. This line grabs all of my filenames correctly. I'm using windows 7 command line. dir /s /b | findstr -i -r ...
1
vote
0answers
19 views

Windows 7 text input/graphics repainting in random areas

In the past few months I've been encountering this issue where the line of text being typed in the command prompt window reappears in a random place on screen and paints over whatever was previously ...
1
vote
0answers
56 views

7zip on command line: can I use both include and exclude switches?

Here's my directory structure (in Windows 8.1): parentdir\ child1\ child2\ grandchild1\ grandchild2\ grandchild3\ ... child3\ child4\ ... Using ...
1
vote
0answers
102 views

Batch File to upload via FTP - 550 Permission Denied

I am trying to create a batch file that will upload a single file by FTP every time it is ran. Everything looks good in windows cmd. I get past the authentication of user name and password and after ...
1
vote
0answers
34 views

Sort lines to form a unique words dictionary listing

Many a times we build dictionaries in online forums for typical words used in a forum, the user responds in following format in a phpbb forum term: defination hence the job is to collect all these ...
1
vote
0answers
15 views

yast network settings: print or log

I'm trying to configure a static ip address on OpenSuSe but don't know how to log or print the network settings to the console with Yast. How do I print out the yast settings? I've been reading the ...
1
vote
0answers
81 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
117 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
75 views

Invoking a local command on every successful connect when using ssh multiplexing?

I'd like to automatically run a command every time I successfully connect to a remote host via ssh. I can do this for the first connection to each host using the PermitLocalCommand yes and ...
1
vote
0answers
47 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
31 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
218 views

Display image with fit to window and single instance mode

I’ve got a stream of images (jpg) and I want to display each one as soon as it arrives. So, basically, here is what I want: There is currently some image on the screen; a new image arrives, my ...
1
vote
0answers
96 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
97 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
108 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
89 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
63 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
59 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
73 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
179 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
67 views

understanding HTTrack actions

i just started using HTTrack . and it offers 5 actions whenever i want to download a website for offline viewing. which are 1 Mirror Web Site(s) 2 Mirror Web Site(s) with Wizard 3 Just Get Files ...
1
vote
0answers
62 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
39 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
57 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
612 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
1k 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
166 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
137 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
47 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
42 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
115 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
76 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
517 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
259 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
142 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
72 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
367 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
210 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
619 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
323 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
107 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
1k 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
29 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
30 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 ...