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
0answers
174 views

Open in Command line doesn't work anymore since the last windows update

Since the last Windows update (2013/11/12), this doesn't work anymore on Windows 7 64bit: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmd] @="Open cmd here"...
2
votes
0answers
712 views

Error 10053 using composer

I need to use Composer in my wamp server on a windows 7 machine but I keep on getting a 10053 error. For example when I try to install laravel I get the following message: [Composer\Downloader\...
2
votes
0answers
1k views

File shows different size after copying to another directory

I used cp -rP <dir name> <new dir name> to copy the contents of a directory, including permissions etc from one dir to another. The odd thing is, either du is giving me some strange ...
2
votes
0answers
65 views

Launching Sublime Text 2 on the command line doesn't result in opening the specified file

When I type subl ~/.profile I expect Sublime to open my .profile file. This works with some files, although I couldn't find a pattern to which files. Is this a bug in Sublime or have I done ...
2
votes
0answers
253 views

Dummies guide to mailutils

As a prelude to learning more about postfix and dovecot (as a pure hobbyist) I'm trying to understand the mailutils package. I'm using Davmail so I have the server set up at localhost and my mailutils....
2
votes
0answers
936 views

Start/stop services from command prompt under non Administrator user, but belonging to administrators group

I have a WIN7 computer with user which is in Administrator group. Let's call it MyUser. UAC turned ON. I have several services launched under local system. When I'm trying to start or stop these ...
2
votes
0answers
646 views

zsh - prompt redraw after executing command

I just started using zsh and I'm configuring a few things. I've chosen the vi bindings as I'm more familiar with those. As many people before me, I soon found it would be useful to have some visual ...
2
votes
0answers
648 views

How to reload windows color settings after change of registry key?

I've got a little question regarding the color settings in windows 7: Via Desktop-Right-Click -> Personalize -> Window Color -> Advances Settings I'm able to change the color of the selected items. ...
2
votes
0answers
128 views

Binding .inputrc on Mac?

On Linux I had this line on my .inputrc: "\C-/": undo which doesn't work on Mac. Is there a way to make it work? On another note, is there a way to bind command keys on inputrc?
2
votes
0answers
801 views

Windows Command line way to get network usage of a process

I would like to get the network usage (in bytes or KB) of a specified process through the Windows command line (I'm using Windows 7). Also if its possible to get a list of all running processes with ...
2
votes
0answers
342 views

Imagemagick batch converting memory overload

I must to convert about billion of images from jp2 to jpg... I create such .bat for /d %%d in (*) do ( for %%f in ("%%~d\*.jp2") do ( convert -limit memory 0 -limit map 0 "%%~ff" -quality 25 "%...
2
votes
0answers
2k views

DNS Server not authoritative for this zone in windows Command Prompt

Every time I try and enter a location on my computer through the command prompt, e.g. C:\Users\Owner\workspace\swarm it keeps returning with "DNS Server not authoritative for this zone", what ...
2
votes
0answers
568 views

Refresh Domain Credentials Cache via command-line

Is there a way to refresh the cache a domain-computer keeps to store domain passwords? I have a PC that is infrequently on the network, and the occasion happens where I would like the manually update ...
2
votes
0answers
72 views

Using the heap command line tool

I am getting a crash while using libgmalloc and I get a complain which says something like Failed to VM allocate XYZ bytes Explicitly trapping into debugger!!! Now I when I encounter this ...
2
votes
0answers
2k views

How can I specify an /EXCLUDE file with spaces in it to xcopy?

I have tried to specify an /EXCLUDE filename with spaces in it to xcopy, but it always chokes. How can I specify such a path to xcopy without copying the /EXCLUDE files into the current directory and ...
2
votes
0answers
2k views

TrueCrypt Command Line: Dismount by Volume Name?

Considering the command: TrueCrypt.exe /q /e /v "dummy.tc" 1: Is there a way to dismount dummy.tc from the command line WITHOUT knowing its drive letter? 2: Is there a way to discover, after this ...
2
votes
0answers
1k views

Chrome: How to refresh tab if open, otherwise open new tab?

I'm opening a .pdf file from the command line in Chrome (Windows 7 64 bit). Every time the pdf file changes open the pdf to view it, but I don't want Chrome to open it in a new tab every time. Is ...
2
votes
0answers
258 views

read unix config file from CLI

I need to access a configuration file from a Makefile, and thus seek for a short-readable-maintanable way of doing. The file is a python ConfigParser compliant file. #foo.cfg [foo] bar = baz I use ...
2
votes
0answers
879 views

Command line switching

I have read through some suggestions but I am just not technical enough to get this I think. I am a CAD designer and each file has 5 files associated with it. I have 3 sets of 5 files, and each set ...
2
votes
0answers
389 views

Editing about:config values from commandline

Is it possible to edit about:config parameters from command-line on Ubuntu desktops ?
2
votes
0answers
343 views

Script to join WPA2 Enterprise wifi

When I head to work with my MBP running OSX 10.7, I have to go through this series: Join Other Network Enter SSID select Security = WPA2 Enterprise generate a pw via my RSA soft token Join ...
2
votes
0answers
397 views

Getting return code from tee on windows

tee is a slick little utility that allows piping output to a file as well as stdout (the console). Windows ports for tee exist (wintee, gnuwin32's tee, etc), but all the ones I've tried have the same ...
2
votes
0answers
689 views

How to change the profile of current tab in gnome from command line

If I do this gnome-terminal --profile=NEW_PROFILE it indeed changes to the new profile but opens a new window. But I want it to change the profile of the current tab and not pop up a new window. ...
2
votes
0answers
4k views

Why Task Scheduler fails to open a GUI application window when /sc onstart parameter specified?

This works: schtasks /create /tn calc /tr c:\Windows\system32\calc.exe /sc minute After running this and a computer restart: schtasks /create /tn calc /tr c:\Windows\system32\calc.exe /sc onstart ...
2
votes
0answers
664 views

How to downmix 6-channel DTS to stereo from the command line?

I tried command eac3to.exe src.dst dst.wav -down16 -down2 (v.3.24) but it just re-produces the same 6ch audio without any warning. Operating system: both Windows 7 and Ubuntu. Update: See a solution ...
2
votes
0answers
80 views

Financial and real-time market-data software for the command line

I can easily build HUDs at command prompts for stuff like the weather, my to-dos, Twitter, IRC, etcetera; but the one thing I’m always stuck going to my iPhone or browser for, constantly, is real-time ...
2
votes
0answers
344 views

forslash as the default path separator in windows?

Since windows now accept the forslash "/" as a path separator in addition to its default backslash path separator, so that both c:\windows and c:/windows are valid paths (though the former is ...
2
votes
0answers
2k views

How to provide multiple input to ffmpeg?

I'm using ffmpeg to create time-lapses and it's working great. As input I have images named 001.jpg, 002.jpg, etc. and then with the command ffmpeg -i %3d.jpg -sameq -s 1440x1080 video.mp4 I create ...
2
votes
0answers
113 views

Query value of button with current focus (together with xdotool) from the command line

I am using xdotool to automate some GUI usage. That works pretty well, but sometimes I want to check what button currently has focus. So I need to query the value of that button. xdotool doesn't seem ...
2
votes
0answers
391 views

Tools to convert Unicode characters

Which tool should I use to convert between various Unicode characters? Examples: Between various looks: Normal, Fullwidth. Between one-character and combining versions: ў (d1 9e) <-> ў (d1 83 cc ...
2
votes
0answers
501 views

Is there a command line interface to the Drobo tools in Windows?

Before powering down the Drobo and removing it you're supposed to use the "shutdown" functionality from the Drobo Dashboard. Is there a way to call this from the command line so it can be included in ...
1
vote
0answers
14 views

Matching filenames of different types, mirroring file structure, batch renaming

Ok, I have been searching for a way to do this for sometime. Here we go: I'm a DJ - I use .MP3 for personal listening, .WAV for performances. I get a song in .mp3 format, clean the file name to "...
1
vote
0answers
9 views

Ubuntu Launcher PHP working directory

I have created a launcher for PHP: [Desktop Entry] Type=Application Name=PHP Terminal=true Exec=/usr/bin/php %f Icon=/home/virsacer/Icons/php.png When I open a PHP-file with it, the working ...
1
vote
0answers
7 views

Looking for command line values for an older (9.22 beta) 7zip

Better yet, is there a help file for the older 7zip utility? I want to test some PW recovery tools (build encrypted zip w/ known PW). This is probably trivial but starting from a 7zip.exe that has ...
1
vote
0answers
16 views

alias to programs in cmd? Where are they stored?

How do I add "shortcuts" (aliases) into cmd? For example the shortcut to HypersnapDX. On one computer I can simply enter HypSnap6.exe and Hypersnap openes. From any location. On the other computer ...
1
vote
0answers
21 views

script with print screen and task scheduler problems

On a production system a script opens screens and sends them to hypersnapDX. Hypersnap then saves a picture in a folder which then is copied onto a server. This script is done by a cmd script. The ...
1
vote
0answers
18 views

MySQL doesn't seem to be executing commands

I am cleaning up a lot of my DB's/Tables, and have been running into an issue. When I execute most commands which change data on a table (i.e, DELETE FROM or UPDATE), the command returns as completed ...
1
vote
0answers
29 views

Using thunderbird for sending emails over command line

When I receive orders I handle them in an admin tool. When processed, I launch thunderbird with command line, so it opens up email windows with prefille subject, to, from, body and file attachment. I ...
1
vote
0answers
11 views

Cairo Converts SVG to Black and White

I am trying to convert an SVG into a PDF on the command line but both svg2pdf and cairosvg result in black and white images (the original is in colour). $ identify original.svg original.svg SVG 31x40 ...
1
vote
0answers
17 views

How do I run a job in the foreground with the at command on OS X El Capitan

I figured out how to enable the atrun daemon on OS X so that I can use the at command. However, any job I schedule seems to be run in the background. For example, if I schedule echo "testing", the ...
1
vote
0answers
84 views

Vim Plugins within Git Bash for Windows

In an effort to improve the terminal usability in Windows I have setup ConEmu to use Git Bash for Windows as the default terminal. I use Vim Plug to manage my Vim Plugins, and have already set up the ...
1
vote
0answers
14 views

OS X: Create user-groups, that are not shown in Systempreferences “Users & Groups” PrevPane

I created some hidden Users on OS X, using dscl . -create /Users/<usershortname> IsHidden 1, that work as administraters. For some reasons, I like to place the HOME-folders of different groups ...
1
vote
0answers
14 views

how can I get a Batch File to Delete a folder if it doesnt contain a specific file

Hi I'm new here and was hoping someone can help me with a problem I have. Over the years I have acquired a number of ebooks (several thousand). So I have decided to only keep my mobi and Epub books. ...
1
vote
0answers
23 views

Strange response from a HTTP server

I noticed an unfamiliar device when scanning my local wireless network. It had two open (listening?) TCP ports; TCP/80 (http?) & TCP/443 (https?). In an effort to identify the unfamiliar device;...
1
vote
0answers
34 views

Java runs in batch but not Powershell

I have a batch file that runs a jar with a few parameters, works fine: @echo off java -cp bulkconfig.020.0005.jar com.hospira.bulkconfig.LoadConfig %* I would like to add some more cababilities ...
1
vote
0answers
47 views

Controlling encoding of redirected win console command output

Here is what I want to do: Redirecting properly the output of console applications (I use the term command in the rest of the message) into a file with 1252 encoding (to make it readable from any ...
1
vote
0answers
36 views

Having a message box used as a variable in batch program

I am attempting to have a batch program pop-up with yes or no options and depending what the user clicks will determine what the program will do. for example: @echo off Echo x=msgbox^("Yes or No?",...
1
vote
0answers
46 views

Adding path delimiter on autocomplete in Windows cmd

In the Terminal on OSX, when you press Tab to autocomplete a directory name, a / delimiter gets added for you, so you can immediately type your next entry. Is there a way to have the same behavior ...
1
vote
0answers
122 views

Replace / Edit host file with windows BAT

I wish to add and remove some lines in host file within a period of time (Time setting will be done via task schedule job) I can create two BAT file, one for adding new lines and one for removing ...
1
vote
0answers
23 views

Windows DIR analogue of ls -v

In linux, ls -v returns a file list in a "natural sort" order -- that is, when the name has a numerical part, it is sorted as a number: file1.txt file2.txt file11.txt Is there a way to ...