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)

5
votes
0answers
757 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 ...
4
votes
0answers
56 views

Understanding wifi scan results

I'm working on a script to tell how secure a wifi connection is. Unfortunately I've become stuck pretty early trying to decode the output of the scan - can anyone help me understand what this is ...
4
votes
0answers
417 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 ...
4
votes
0answers
452 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 ...
3
votes
0answers
64 views

How can I view command prompt history after the window is closed on Windows 10?

I saw in the morning a command prompt window for just one second. After the command finished the window was closed. I would like to see, what command was run before it closed. Is it possible? I ...
3
votes
0answers
48 views

Nvidia “I Prefer Maximum Performance” Quick Switch?

fellow Windows users! I want to be able to (quickly) switch between I Prefer Maximum Performance Adaptive Performance Nvidia Control Panel I've used Autohotkey as a quick hack, but there has ...
3
votes
0answers
20 views

Deleting external drive with healthy (primary partition) through cmd is not working

This is the method that I followed as answered in this question: Cannot delete partition in diskpart - invalid argument?
3
votes
0answers
132 views

Cannot redirect .exe output to file

I'm trying to capture a program's output and then write it to a file. Running MyFile.exe -args > foo.txt gives an empty file. The same goes for MyFile.exe -args > foo.txt 2>&1. If I run ...
3
votes
0answers
148 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 ...
3
votes
0answers
184 views

muting a application from terminal in linux

Is there a method to mute applications from terminal, I know for muting everything amixer will work but for muting just a application is there a simple solution to do it from terminal.
3
votes
0answers
702 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
41 views

How to get the PID of the windows cmd I'm in

I want to create a unique directory for the time a process runs (to complete the copy process I described in this question). I've tried %random% but it changes too slowly. Waiting is not a viable ...
2
votes
0answers
85 views

How to change the sink priority in PulseAudio?

I have multiple output sound devices at home and at work. Especially, I want to automatically play sound via external soundcard when it is connected. So, I need some kind of the sink priorities. ...
2
votes
0answers
87 views

How to rename a CUPS printer?

I do lot of printing in command line through lpr command, for which I need conveniently short destination names like lp1, lp2 etc. In past I could name the printers, but in opensuse 13.2, yast ...
2
votes
0answers
179 views

Windows Explorer crashes if I click a specific file generated by Visual Studio

I have this .dll file I just can't delete: C:\Users\Alisson\Source\Repos\portal-do-guitar-flash\PortalGuitarFlash.Web\obj\Debug\PortalGuitarFlash.Web.dll I have admin rights and the only way of ...
2
votes
0answers
41 views

Tshark. List all traffic between two IP's?

I am learning to use Tshark. I am trying to retrieve a list of all conversations between two IP addresses using Tshark. The two IP's are: 192.168.1.158|64.12.24.50 In Wireshark I am able to see the ...
2
votes
0answers
294 views

Can Microsoft Edge be launched in “Private Mode” through cmd?

Can Microsoft-Edge be launched in "Private Mode" through the command line? I'm using this shell command to launch it with a specific URL: start microsoft-edge:www.google.com Is there some kind of ...
2
votes
0answers
70 views

Starting Notepad from command prompt causes notepad to complain about permissions

When I start Notepad with no arguments using notepad, Notepad opens and works fine. When I want it to create a new file and open it, using notepad file.txt, it opens as well, asks if it should create ...
2
votes
0answers
73 views

How to access KDE's camera:/ from terminal?

KDE's device notifier detects my GoPro Hero camera correctly and allows me to access its contents in dolphin through the URI camera:/ Is there a way to access the camera also from the command line? ...
2
votes
0answers
291 views

Windows internet speed test

I am trying to check the internet speed from my windows 8 laptop over a period of say 24 hours. So I would like to repeatedly run a command to test the speed. Various websites (e.g. ...
2
votes
0answers
75 views

DiskPart status list

I'm writing a simple script that checks the output from diskpart for certain keywords. I am running echo list volume|diskpart and then checking the output for failed or whatever bad status is listed. ...
2
votes
0answers
25 views

Is there a way to open non-runnable files directly from CLI

Let's say I have file without execution permission. Now a quick way to open such a file over the CLI is to use xdg-open which uses the system default to open a specific file. Is it now possible to ...
2
votes
0answers
115 views

Applying a command-line flag to Chrome at auto-launch

(Windows 8.1) Chrome auto-launches for me when I log in, and I like that. The problem is that the Disable New Avatar Menu flag recently stopped having any effect, so the only way to actually disable ...
2
votes
0answers
375 views

Can't run PowerShell as admin inside of Webstorm

I am trying to figure out how to run PowerShell as an admin embedded in Webstorm. I can run PowerShell as non-admin in Webstorm, but when I try to run PowerShell as admin inside Webstorm I get the ...
2
votes
0answers
143 views

Start Appium server at system boot (MacOS)

I'm trying to setup Appium server to stat automatically after system startup. Also I'd like it to restart after a crash. Appium was installed as a npm package and it launches and works fine when I ...
2
votes
0answers
971 views

Nohup doesn't work when executing script from Jenkins

I have bash script which executes following nohup ws --port 8080 & when executing that script directly on remote server and closing connection - process still exists. But when i am using ...
2
votes
0answers
57 views

What are the underlying Windows7 mechanics that are responsible for opening selected files via key 'Enter'?

I need to create a batch script that opens n files, of same type and same suffix, with program p, without creating n instances of p (i. e. use multiple tabs instead of multiple instances). For some ...
2
votes
0answers
370 views

How do I install Nix on a custom directory?

I have been trying to follow the Nix wiki to install Nix on a custom path /scratch/gopinath/nix. The /nix path is not accessible to me due to the restrictions on the system provided by my university. ...
2
votes
0answers
151 views

Import html favorites file into chrome from command line

I have a list of Favorites from Internet Explorer 11 (Windows 7 SP1 32-bit) which I saved into an .HTML file. I am trying to import the favorites into Chrome from a command line or some sort of ...
2
votes
0answers
628 views

Vim silent launch of ConEmu (into Git Bash) - Windows 7 Command Prompt seizes

From a Windows 7 Command Prompt: ConEmu.exe /cmd "C:\Program Files\Git\bin\sh.exe" --login -i && exit opens ConEmu (or a new tab therein) logged into Git Bash for the current directory, and ...
2
votes
0answers
246 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 ...
2
votes
0answers
74 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
181 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 ...
2
votes
0answers
615 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
2k 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 ...
2
votes
0answers
248 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 ...
2
votes
0answers
663 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
473 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 ...
2
votes
0answers
54 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
193 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 ...
2
votes
0answers
1k views

Using the thunderbird command-line, how can I open a specific email by message-id?

Thunderbird 24.2.0 has a -mail command-line parameter, with which a specific mail can be opened from the command line: $ thunderbird --help -mail <URL> Open the message specified by this ...
2
votes
0answers
130 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
2k views

mv command says “No such file or directory”

I am attempting to rename a directory on an external hard drive on Mac OS X. When I tried in the finder I got an error that says, "An unexpected error occurred (error code -43)." -- so I thought I may ...
2
votes
0answers
215 views

How can I use bitcoind from the command line on OS X

Apparently bitcoind should be bundled with Bitcoin-QT which I have installed, but I can't find it?
2
votes
0answers
569 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
36 views

Old gdb cannot find out how to do logging

I'm running an obsolete Red Hat OS and debugging with the built-in gdb but I cannot figure out how to do logging. I've tried: set logging on But get: No symbol "logging" in current context It ...
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 ...
2
votes
0answers
697 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
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 ...