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)

3
votes
0answers
89 views

Why does ffprobe report an incorrect number of frames?

I have a small video file which ffprobe describes as:- Input #0, avi, from 'sample.avi': Metadata: encoder : Lavf55.12.100 Duration: 00:00:35.00, start: 0.000000, bitrate: 546 kb/s Stream #0:0: ...
3
votes
0answers
76 views

Installing GNU mailutils on windows

I'm using Windows 7, and would like to use the GNU mailutils, specifically mu and mu4e. Unfortunately, these are not available as Cygwin packages. Is there any way to use GNU mailutils on windows ...
3
votes
0answers
319 views

Shortcuts with command line arguments blocked with IE error - These files can't be opened

My local shortcuts (.lnk files) do not execute if the shortcut has any command-line arguments On freshly-installed 64-Bit Windows 8 Shortcut worked fine on Windows 7 32-Bit It depends where the ...
3
votes
0answers
357 views

Change icon positions from the command line?

Is it possible to use the Windows command line to get or change the positions of icons the screen? For example, I can drag and move a file's icon on my desktop. How would I retrieve that position ...
3
votes
0answers
3k views

How to change ONLY the prompt color of the Windows command-line?

As we all know, Windows command-line have the white-black color scheme. And we could use: COLOR command to change the colors of background and text. But the command above will change the whole ...
2
votes
0answers
15 views

Detect vga signals from command line

Currently I am working on Ubuntu 12.10. I am using vga2usb device for interacting with other vga devices such as monitors. Is there any command line utility or any specific command from which I can ...
2
votes
0answers
309 views

Software: Launching League of Legends spectator mode from Command Line (Mac)

Background: tl;dr at the end League of Legends has a spectator mode, in which you can watch someone else's game (essentially a replay) with a 3 minute delay. Popular LoL website OP.GG has figured ...
2
votes
0answers
95 views

Specifying printing options to libreoffice on the command line?

I'm attempting to come up with some means of converting .pptx files to a pdf format from the command line. I have set up a cups-pdf printer to which I can actually send jobs, and so far I have it ...
2
votes
0answers
71 views

Is there a way to get the path of a bash script when used in the source command

I want to set an environment variable relative to the location of a script. I can easily find and set it for the duration of the script (test.sh): #!/bin/bash export MY_VARIABLE=$(dirname $0) echo ...
2
votes
0answers
172 views

Is there a automatic way to extract highlighted text from pdf?

Is there a command-line solution to extract highlighted text from pdf? I have a bunch of pdf documents where I personally annotated, and was wondering if there is a convenient way to automatically ...
2
votes
0answers
31 views

scp doesn't work when my .bashrc is echoing to console

Ok, so I have used linux for a long time but this is the weirdest thing I have encountered in a long time. Maybe I just don't do a lot of scp so probably missing something simple here. So in my ...
2
votes
0answers
83 views

Coloured commands in terminal prompt

I've customized the prompt in my Mac terminal like this: export PS1="\[\e[31,1m\] \w $ \[\e[0m\] " This way I get the /working/directory $ in bold red, but I also want to get the command I execute ...
2
votes
0answers
23 views

Is there any command-line to change my network mask in Windows shell?

I have not been able to find nothing on the netsh command shell documentation for changing only the netmask configuration without modifying rest of it (ip, gateway, DNSs and so on). The closest I know ...
2
votes
0answers
85 views

Downloading and building O3D

I'm trying to get a program called O3D into my computer by following the instructions on O3D's wiki. I tried to download the project to my directory but the prompt gave me this answer: gclient is ...
2
votes
0answers
163 views

How can I get millisecond-level accuracy timestamps on screenshots (vlc)?

I'm currently using rt.exec("C:\\VLC\\vlc screen:// --dshow-vdev=screen-capture-recorder --dshow-fps=10 -I dummy --dummy-quiet --rate=1 --video-filter=scene --vout=dummy --scene-format=jpg ...
2
votes
0answers
264 views

Rsync fails for files that start with underscore when destination is zfs

I'm using rsync3.1.0pre1 on Mac OS X 10.8.5, and am trying to rsync one folder to another. The destination is a ZFS volume mounted via SMB. The problem I'm having is that files that start with ...
2
votes
0answers
412 views

telnet on Windows 8: even after installing still an unknown command

I installed telnet by going to -> Control Panel -> Turn Windows Features on/off -> checked "Telnet Client" Reopened a cmd window. Still the same result: 'telnet' is not recognized as an ...
2
votes
0answers
188 views

Preventing Windows Update from updating a certain driver via command line/script?

I work as a part-time system administrator and recently (in the last few months), we've been experiencing BSODs on almost all PCs in our group. We do know that most of these BSODs were caused by a ...
2
votes
0answers
112 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 ...
2
votes
0answers
247 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: ...
2
votes
0answers
84 views

Is it possible to check which stream is used by the command? (bash)

I have an irritating problem: redirecting stderr does not work. I get: iptables: Chain already exists I can't be bothered to check if a chain exists already (pointless, iptables just throws an ...
2
votes
0answers
141 views

Bash: color prompt and command differently from output stream

I'd like to color the prompt and command of my shell differently from the text printed in the output stream. My current export for PS1 is as follows: export PS1="\e[0;36m\h:\e[m ...
2
votes
0answers
1k views

Open a URL file in a new tab of existing IE window from command line

When IE10 is set as my default browser, double-clicking an internet shortcut (*.url file) opens it in a new tab of the existing IE window. However, when it is not the default, every way of opening a ...
2
votes
0answers
61 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
148 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 ...
2
votes
0answers
404 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
173 views

Terminal Command to Check if Mac Book Pro Lids Closed

I'm running OS X 10.8 (Mountain Lion). I was wondering if there was a terminal command to check if the macbook pro's lid is currently closed. The reason I ask is because I have cron jobs scheduled ...
2
votes
0answers
352 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
304 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
50 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
1k 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
283 views

Which command line text editor has the closest keybindings to Notepadd++, Gedit, or Kate (or any modern CUA style editor)?

I'm looking for a text editor that has an amazing common user access (CUA) mode (or can be configured to have it) that resembles closely modern editors like Notepad++, Gedit, Kate, Sublime, etc. I've ...
2
votes
0answers
162 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
610 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
247 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
228 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
696 views

Zyxel router custom DNS names or storing configuration to survive reboots

On my Zyxel P-870HN-51b - although I reckon the same solution may then also apply to other router models - I would like to add custom host and domain names local to my network. I.e. I don't want to ...
2
votes
0answers
495 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
1k views

command line remove read only flag on all subfolder entries or overwrite read only files with robocopy

I need one of two things to work: I use robocopy to copy all sub-files and sub-folders from one folder to another, and the destination contains older files + files not in the source, and I need the ...
2
votes
0answers
233 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
104 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
319 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
19 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
12 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
21 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
33 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
34 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
28 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
14 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
21 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). ...