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)

0
votes
0answers
6 views

Undo redirecting user profile using junction

Custom built: Windows 7, 64-bit, SSD for OS, 6TB HDD. My SSD is for OS and main programs only. So far, I haven't had much trouble installing or moving additional software and files to the HDD. I ...
0
votes
0answers
12 views

Insert blank lines when using 'tail -f' in cmder

I recently switched from Cygwin to cmder mostly due to it's awesome interface and all that cool pre-configured stuff. ( http://bliker.github.io/cmder/ ) I am using tail -f very often and when I am ...
0
votes
0answers
21 views

OS X: How to call “Service” through command line?

I'm looking for a way to call "service" actions (In Finder, I can right click a file and find them on the bottom of the menu, see below) Through command line, is there any way to do it? Thanks in ...
0
votes
0answers
27 views

Shell command shortcut using input filename as output filename

Hi could someone help me with a little command shortcut please? Im trying to run an ffmpeg command and was wondering if there was a shorter way to type it, Ive been reading up on parameter expansion ...
0
votes
0answers
11 views

Defining git commands on windows

I have a script that I use to add some functionality to git. For this particular case I cannot do it with an alias. The name of the script is git-cim. In linux if I place this script in my path and ...
0
votes
0answers
8 views

Command Prompt set UTF8 not working after opening specific directory

I'm trying to automate opening up PSQL (PostgreSQL command prompt). I've got the batch program opening the correct directory however I'm not sure how to get it to run the command to switch to UTF8 ...
0
votes
0answers
17 views

Use existing explorer.exe instance when calling from batch file - Windows 7

In my batch file, I am calling a new Windows file explorer at a specific location by using the following: echo off explorer.exe "C:/Users" The user then navigates to other folders as needed. Then, ...
0
votes
0answers
6 views

Run ATPDraw to perform simulation to all *.acp files in a folder

I would like to simulate *.acp files on ATPDraw, but instead of opening one, pressing F2, clisong it, opening another... I would like to use some batch way, perhaps through commandline. I tried to ...
0
votes
0answers
13 views

Send and receive file in curl

I have a remote server running and i want to send a text file to that server. I have this script to upload the file: curl -F 'txtfile=@sometxtfile.txt''http://www.example.com/transfers' My ...
0
votes
0answers
17 views

Batch conditions and variable

I have a question about variable and batch windows. The main goal is : I have files in directory (pattern 0? with ? a number between 0 and 9). First I create a %%nf.bat (filename of each files) ...
0
votes
0answers
24 views

Mounting EBS volume on Ubuntu 12.04 taking long time

I have written one shell script which Checks if volume has file system on it or not Formats the volume with ext4 if no file system present Creates mount point directory Tries to mount volume using ...
0
votes
0answers
21 views

Silent uninstall with the Flash Player Uninstaller

I am using this tool to uninstall broken Flash installations on Windows 7. I would like to known how it can be run silently from command line. I was able to find to some answers to this so I known ...
0
votes
0answers
16 views

Control vmware workstation network “bandwidth” settings from command line

Is there a way I can use the command line to adjust the network bandwidth settings of a running VMware Workstation instance?
0
votes
0answers
8 views

Can I make vlc expand all given directories in its playlist on startup?

I have a script which runs a command of the form vlc music/foo/ music/bar/ It starts playing immediately on shuffle but only one of the directories foo/ or bar/ will be expanded in the playlist, ...
0
votes
0answers
12 views

How to watch text file changes over time?

I am looking for a tool that allows me to watch text file changes in the spirit of tail -f or the less [F] feature but not only for data appended to the file but for overall changes. My dream tool ...
0
votes
0answers
17 views

reg export excluding specific by name

i must export a set of registry keys only if the keyname not include a specific word ex: reg export "HKLM\SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports" if the name of ...
0
votes
0answers
16 views

LZA Compressor Directory

I am trying to use LZA to compress my directories (No sub folders) Whenever I use it however it automatically creates the archive within an additional folder! Example: I am using a folder called ...
0
votes
0answers
34 views

Windows 7 folder opens automatically in command prompt

My girlfriend has a problem with her PC and I wasn't able to solve it. She's got a Laptop running Windows 7. If you open a folder it doesn't open in the Explorer (as it should), but it opens the ...
0
votes
0answers
25 views

When are quotes added to a file or folder path when dragged into a cli?

Like a CLI noob does, I often change directories by using the dragging the target folder into a command prompt to get its path. What's annoying, however, is that the path isn't wrapped in quotes, ...
0
votes
0answers
23 views

VLC command to output stream to /dev/video1

Looking to latch onto an http stream (specifically, a GoPro wireless stream, which I can view fine in VLC) and instantiate a fake video device, e.g. /dev/video1/ Is this possible with VLC alone? I've ...
0
votes
0answers
46 views

Can't run newly created Python file

I have followed a lecture on installing Python and so far I have been unable to resolve this recurring issue. When I mirror the instructional video I get one of two errors. The first error This ...
0
votes
0answers
41 views

Convert Excel To Text Using Office and Command line

Is there any command line option to pass to Office's Excel so it can convert .xlsx files into .txt files without showing Excel's GUI?
0
votes
0answers
19 views

Can I use ProxyCommand to run arbitrary commands on a target server via a jumpbox/middle server?

At work, we have a number of servers that we can only SSH into from our jumpbox server. Every now and then I need to execute a command on these servers. For example, if I want to execute df -H on ...
0
votes
0answers
17 views

RAR - add folder according to wildcards?

I'm using commands line's RAR 5.1 (exe) : I have this c:\r\ folder which has : C:\r\ │ MsgProtos.java │ k.txt │ ├───kjhasd │ CSharpOptions.cs │ DescriptorProtoFile.cs │ ...
0
votes
0answers
24 views

Windows Script Host

My batch file runs on my PC, but when I run it on the server, it calls the Windows Script Host (WSH) which seems to hang the process. There are no settings for the WSH. when I kill the WSH my batch ...
0
votes
0answers
25 views

adobe acrobat pro xi save as PDFs optimized using command line?

I have a directory with about 4,570 files that I would like to reduce the size of I have adobe acrobat pro and the save as pdf optimized seems like its doing a good job but obviously I can't do them ...
0
votes
0answers
15 views

Windows - use processID from pipe output as find parameter along with piped input from netstat ?

I can get the process ID with this command: ..\system32> tasklist | find "MyProcess.ex" | cut -d " " -f6 ..\system32> 9672 I can run find on netstat -nao if I know the processId to find ports ...
0
votes
0answers
22 views

use wget for the most updated file on http server

I need to download the most updated files with the name suite. I am using windows server to run the command lines. I wrote the following command but not sure of how to get the most updated one wget ...
0
votes
0answers
17 views

How to switch user rights within Batch file (de-elevation after elevation and back)?

I have a batch file that I need to run as Administrator, but within this batch file I need to run some commands as non-administrator, followed again by admin-commands. admin commands user commands ...
0
votes
0answers
58 views

Powershell Start-Process fails to start when -Credential argument is added

If I run this in powershell, Start-Process "c:\Python27\python.exe" -WorkingDirectory "c:\wd" -ArgumentList "-m SimpleHTTPServer" It can start the python process as expected However when I add ...
0
votes
0answers
8 views

Tab complete setsid

I regularly use setsid to open a program as a separate process, however it doesn't use tab completion so I end up writing the full program name. Is it possible to add tab completion to setsid? Has to ...
0
votes
0answers
45 views

Running application using cmd.exe while inside the console in Windows

I have an .exe application. When I run it from the console in Windows 8.1 by executing a command C:/Path/To/My/App/MyApp.exe it starts and works just fine. But I need to run it through the cmd.exe ...
0
votes
0answers
37 views

OpenWRT swconfig; how issue command from loaded module?

I have insmod swconfig.ko and in this link: swconfig It is explained how to use >the< swconfig command as, for example: swconfig list VLAN 1: info: VLAN 1: Ports: '12345t', members=003e, ...
0
votes
0answers
52 views

Encoded mp4 video won't play in Firefox v33

When this video is encoded with the following ffmpeg command, it cannot be played in Firefox v33 (a blank screen appears). But when I play it in the native VLC player, it works. So here the long ...
0
votes
0answers
30 views

powercfg gives invalid parameter error

I am trying to run powercfg according to these site: http://ss64.com/nt/powercfg.html To be exact I want to run this command via .batch file Set _Custom_Power=B1234567-SS64-SS64-SS64-F00000111AAA ...
0
votes
0answers
33 views

Windows path and semicolon

In Windows 8.1 I have an environment variable LATEX equal to C:\Program Files\MiKTeX 2.9\miktex\bin\x64 and the path variable set to %JAVA_HOME%\bin;%ANT_HOME%\bin;%LATEX% The problem is ...
0
votes
0answers
42 views

Connectify v/s command line hotspot creation in windows

I just want to know that if there is some difference b/w creating a hotspot using Connectify and creating the same using CLI in windows (I use win 8). I observed that success of connecting to hotspot ...
0
votes
0answers
22 views

Linux - recursively zip files into cbz files based on folder and move to a new directory preserving structure

I'm trying to figure out how to write a script to automate creating .cbz files from images in folders on LINUX. I have found this solution for OSX in Recursively zip files into .cbz-files based on ...
0
votes
0answers
13 views

Is it possible to change php settings from the command line?

I have a vagrant controlled environment that uses a base box I don't have control over and is a near replica of our production servers, I do have control over the provisioning scripts, however, and ...
0
votes
0answers
19 views

Disable ansi colors in Windows console

I am using the windows console a lot (Windows 8.1) and many utilities, apply different colors to different parts of their output, which is extremely annoying to me. Some of them even forget to revert ...
0
votes
0answers
87 views

Knife commands in chef is not working

my knife config was working. Chef server was updated to a newer version. the pem files match and the knife config should be correct. But when I run any knife command..for example knife user list ...
0
votes
0answers
22 views

Windows chcp not work for 1251

OS: Windows 7. For some reason I need 1251 encoding in console window. But get this G:\Scripts\DAA>chcp 65001 Active code page: 65001 G:\Scripts\DAA>chcp 866 Текущая кодовая страница: 866 ...
0
votes
0answers
27 views

How To Enable Syntax Highlighting for Nano In Windows?

I am a huge fan of the nano editor, but I can't get the syntax highlighting to work in the windows version. Is it possible to have syntax highlighting in windows?
0
votes
0answers
35 views

How to find the culprit of high sysload on NAS?

I have a QNAP TS-410 NAS, modest little ARM-based box. In the past the sysload of the NAS would be well below 0.5 for all load averages (1, 5 and 15 mins), it would only spike while sabnzbd was ...
0
votes
0answers
30 views

How to stop VLC command line streaming without forcibly killing the process?

I'm using VLC on mac to stream my desktop and record the user interaction. I launch the process with the following command line: /Applications/VLC.app/Contents/MacOS/VLC -I dummy -vvv screen:// ...
0
votes
0answers
43 views

Command to output its backend process

I have an application running in windows that has an option to run a command (UI base). I'm pretty sure that the UI base backend is running in a cmd but I dont know what is the exact bin file. The ...
0
votes
0answers
42 views

How can I get ConEmu to open more than 30 tabs?

I have a .bat file which opens 100+ consoles, but I need them in new tabs. Problem is, ConEmu has a max of 30 tabs. I can do this with regular cmd, but its 100+ new windows. I'd prefer them in tabs ...
0
votes
0answers
30 views

Windows explorer shows different results than using dir command

I'm using "dir" to output the contents of a network drive to a text file for processing. The directory has ~135k files. When I search for a specific keyword in the windows explorer search box, I get 4 ...
0
votes
0answers
39 views

SIMS.net CommandReporter.exe Error Running Report

I would like to run and save the output of a SIMS.net report using the CommandReporter.exe tool included with the package. I have tried running the following command: CommandReporter.exe ...
0
votes
0answers
30 views

Installing local repo of Cygwin via command line

I am trying to install Cygwin on a windows machine via command line. The Cygwin repo is sitting on a Linux server and is accessible via samba share. I am not sure, but I think this string will do the ...