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
18 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
63 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
283 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
313 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 ...
2
votes
0answers
50 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
38 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
62 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
21 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
76 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
157 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
57 views

How to get a shell prompt in NX?

I have installed nxserver on a ubuntu machine and am able to connect to this machine via the free NX client on a windows machine. Things seem to be working fine except that the xterm has a weird NX ...
2
votes
0answers
160 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
95 views

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

since the last windows update 2013/11/12 this doesnt 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
326 views

Deduplicate files using the command line in OSX Lion

I am using OSX 10.8.4 and would like to remove duplicate files in a single flat directory if an md5 hash matches. I have looked up several answers but none of them work for me, I think because of ...
2
votes
0answers
800 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
58 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
141 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
288 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
161 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
323 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
254 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
45 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
263 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
137 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
573 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
228 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
198 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
2k 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
643 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
473 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
208 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
99 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 ...
1
vote
0answers
30 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
7 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
25 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
18 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
19 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
16 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
26 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
43 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
22 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 ...
1
vote
0answers
16 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
45 views

Robocopy; How to copying missing files to a different location from original copy?

I am using Robocopy to transfer around 1 tb worth of files from an external drive to a virtual Windows Server 2008 machine hosted on an ESXi 5.1 VMWare server using USB pass-through. I used the ...
1
vote
0answers
19 views

tail a file without wrapping the lines on a mac

I want to tail -f a file that may contain very long lines. I would also like to see one line per screen line and scroll to the side if necessary, much like Vim's zL and zH, so no line wrapping, Is ...
1
vote
0answers
35 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
77 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
133 views

Fastest/simplest/shortest/easiest way to check WiFi WPS enabled? Command line if possible - Different platforms

I would like to make a list of the simplest/fastest way to check if a WiFi network has WPS enabled. Until now, this is the compilation: Windows: GUI: [Don't know] Command line: ...
1
vote
0answers
30 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
405 views

Checking if a user account is locked on another domain controller

I'm trying to see if a user account has been locked out, using the command line. I thought that I could do this with the net command, but when I run the command NET USER username /domain it ...