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)

1
vote
1answer
131 views

Cygwin from Windows very slow/ laggy

Suddenly all Cygwin commands I start from the Windows command line have a ~10-20 second lag before they execute. So that Cygwin becomes totally unusable, I already tried to reinstall without success. ...
13
votes
7answers
2k views

Running .exe in command prompt

I'm trying to run an iteration program, and whenever I click on it, it opens then terminates. When I open the input text file, using the program, the iteration completes, then the window instantly ...
0
votes
1answer
38 views

Using Win8.1Pro Batch: Unable to verify if BitLocker has already applied encryption

I'm working on a script that assists in standardizing a Windows 8.1 Pro image. In this part I'm trying to verify if BitLocker has already encrypted the drive or not using the following script: ...
0
votes
0answers
34 views

Python shows wrong version in command prompt

I have downgraded my version of Python from 2.7.9 to 2.7.4 for compatibility with a legacy piece of software. On Windows 7 x64 computer. I removed Python 2.7.9 and then installed 2.7.4 into the ...
2
votes
6answers
188 views

How can I convert all “x”s to “y”s in filenames for a specific directory from the command line?

I have been naming files, of out habit as a programmer working on a server command line, with underscores “_” rather than spaces “"—because from the command line you have to escape spaces—but that is ...
0
votes
0answers
21 views

Need help constructing cURL config file

I have a (rather long) cURL command that I'm currently running as follows: curl.exe -U : --proxy-ntlm --proxy myproxyserver --cookie-jar cookies.txt -H "Accept-Encoding: gzip,deflate,sdch" -H ...
0
votes
0answers
24 views

Linux: how to convert multi-mp3-audiobooks with appropriate cuesheets?

I have several audiobooks in MP3 format, which are in multi-file format which means, they are named like CD01_CHAPTER_001.MP3 and so on. Now what I would like to do is the following: convert the ...
0
votes
1answer
51 views

Batch File Won't Run - Command Line Script Does

I am using an ncftp script to upload some files via ftp. I want to automate this process so I am using a batch file to run it. Here is my script: ncftpput -u myusername -p mypassword -R myftpaddress ...
1
vote
1answer
33 views

How to Concatenate Repeating String in Batch Script

I'm trying to concatenate a repeating string depending on the first parameter value passed into the script when it is called. This value represents the number of directory levels the current ...
0
votes
0answers
35 views

ArchLinux can't install perl-wx

I am trying to install perl-wx from the AUR Repo with yaourt, but can't get it to work. I have tried "export LC_ALL=C". Still an error occurred during the check. Maybe you can help me? Pastebin: ...
1
vote
2answers
55 views

Deduplicate images synced across devices in various resolutions

I currently have a couple of scripts and Android apps that together do the following for a set of member devices (smartphones, PCs, digital cameras): all pictures taken by all member devices are ...
0
votes
1answer
37 views

How to write a Windows filename with åäö in command prompt?

I need to write a command line in the command prompt that references a file containing åäö in its name, but I can't seem to get it right. Windows should be set to codepage win1252 and the command ...
0
votes
0answers
59 views

How can I run serial commands via plink/putty with windows cmd file?

I would like to open putty command line and run some serial commands via a Windows command file but I can't figure it out. I've tried variations of the following in my cmd file: call plink -load ...
1
vote
2answers
33 views

Wrong exit status upon evaluation of command substitution via ssh?

I've the following simple shell command which I'm expecting to fail and it does on my local: $ DIR=$(false) && echo ok || echo fail fail $ sh -c 'DIR=$(false) && echo ok || echo fail' ...
0
votes
1answer
25 views

how to run an powerpoint add-in from the command line

I'm trying to open a powerpoint from the command line and run an add-in, or alternatively add an existing macro to a powerpoint programatically and then run the powerpoint with the macro. I see the ...
0
votes
1answer
26 views

why is the powershell i can open from the run box not the same thing i can open from the start menu?

If I WinKey + R to open the run box and type powershell it works to some extent as it opens up a command line box. However, this windows doesn't behave like the powershell I can open from Start > ...
2
votes
1answer
69 views

How to remove substring in Powershell script

This script is almost what I need: $input_path = 'C:\Common' $output_file = 'C:\Common\extracted.txt' $regex = 'assets' Get-ChildItem -Path $input_path -Filter *.txt | Select-String -Pattern $regex ...
0
votes
1answer
114 views

Windows 7 - Change what closing the lid does, UTILITY/CMD

I wonder if anybody knows a utility, or command, which can change this setting in windows in one click. I often need to change it on my laptop whether I want it to do nothing when the lid is closed or ...
12
votes
4answers
263 views

Which multi-user operating systems allow a user to see the current command line of other users?

I was reading the manpage of unzip, and ran into the following -P password use password to decrypt encrypted zipfile entries (if any). THIS IS INSECURE! Many multi-user operating ...
2
votes
1answer
58 views

Batch why <nul breaks my file

Well guys i am basically trying to get user input and type it on the batch I will be using backspace and enter so i cant use choice Thats why i am following this method To capture characters as ...
0
votes
1answer
16 views

print names of files in folder from path in terminal

I was making a program and want to see all the items in a folder by giving it the path. my program uses the terminal so the commands are the same. something along the lines of echo ...
1
vote
1answer
44 views

Can't Use Powershell Active Directory Cmdlets Even With RSAT Installed

A while back I wrote a simple .ps1 that let me look up the name of a user or the hostname of a computer and tell me which OU of my AD it resided in. I don't recall having any difficulty running the ...
0
votes
0answers
21 views

Send dynamic argument to an application through its shortcut

I am trying to create a shortcut link which will run/open Command Prompt (cmd) as Administrator having present working directory (PWD) set as the supplied folder path. What I have done: Created a ...
1
vote
1answer
28 views

Linux equivalent for compact /c /s windows command?

I find the compact /c /s windows command really uselful for compacting ultra verbose traces/logs directories (which in my case, when debugging, can reach several GBytes in a few days). Advantage : It ...
0
votes
2answers
35 views

How do I install Inkscape for use by Cygwin?

I'd like to know if it is possible to install Inkscape for use from the Cygwin command line. I already have Inkscape installed as a program in Windows 7 (64 bit) but Cygwin isn't recognizing inkscape ...
0
votes
0answers
43 views

PuTTY - some commands not found

I have some problems using putty. Normal commands like cd, ls work fine, but commands I need for sending files to a cluster don't work. For example bjobs, bsub - I get command not found. I already ...
1
vote
1answer
44 views

Windows 8.1, Cannot relocate Users directory without windows failing to login properly

I'm trying to relocate my C:\Users\Me folder on my SSD to F:\Users\Me which resides on my HDD. So far I've tried two approaches. Registry Modifying the following registry keys in ...
1
vote
1answer
41 views

How to connect/disconnect an Ethernet network with command line

I am using a balanced IP at work but some servers don't like that, they are considering it a security breach, so i often need to switch from my Ethernet connection (balanced with 2 IPs), to a Wireless ...
0
votes
1answer
29 views

I need to find the print history from my Macbook

How can a find a list of documents that have been printed from my mac? I need the completed print jobs only. Can this be done through Terminal?
1
vote
1answer
31 views

What are the drawbacks of '--allow-file-access-from-files' Google Chrome command line switch?

I find myself frequently needing to have Chrome do XSLT transformations on local XML files. This only works with the aforementioned switch. I am inclined to just add it to my Chrome default shortcut. ...
0
votes
0answers
18 views

How can I format the piped and refreshing output of multiple cmmands nicely?

I have a command line of multiple piped commands which executes beautifully in bash. For simplification: command1 | command2 | command3 Each command generates output while running, resetting the ...
0
votes
0answers
14 views

Change page orientation offline in LibreOffice

I am using console command LibreOffice—headless—convert-to .odt file.html to convert a bunch of HTML-files to .odt but need to change their orientation from default portrait to landscape. Is there any ...
0
votes
3answers
48 views

Is there a way to determine which user ran a command in bash history?

We work on CentOS servers available to over a hundred employees via SSH, each with their own login. Running a normal history bash command shows all of the commands ran by all of the employees, however ...
0
votes
1answer
48 views

Many problems with windows cloned by clonezilla

After many attempts I've installed a clonezilla image of my old computer on my new notebook but I did this wrong. Windows starts but I need to launch explorer manually, I have the This copy of Windows ...
0
votes
1answer
54 views

Pinning cmd.exe to taskbar actually pins Visual Studio 2010 cmd console

Okay, so I've been having a very strange situation on my home computer. I'm writing a powershell script to do some basic stuff that I do on test rigs at work all the time for setup (create a shared ...
0
votes
1answer
24 views

How do I run an argument from a program in the windows command-line?

I want to run arguments from this site: http://bleachbit.sourceforge.net/documentation/command-line So I just made a task for BleachBit on windows which works. It contains one action to start the ...
-1
votes
1answer
49 views

How to run remote linux command that won't stop after closing shell

There is a Linux terminal command that I want to run on a remote machine. I can ssh to the machine and begin executing the command (it's output being directed to an output file); however, once I ...
1
vote
1answer
52 views

How to answer batch file [closed]

I lost my administrator right's in recovery. I learned of the super administrator surfing the net and got access using command line. I got a reply :The syntax of this command is: and then it list's ...
1
vote
1answer
29 views

Win7 x64 rogue program pinpointing?

I've got a laptop that has what appears to be a command prompt pop up and vanish, whenever it connects to the net. I can repeat it, by turning off/on wifi, it flashes up and vanishes too fast to see, ...
0
votes
1answer
58 views

Launch program from commandline without .exe

I have added, in this case, the wireshark directory to my env var path and can type "wireshark.exe" from anywhere on my system to launch the program. I would liek to be able to type "wireshark" or ...
1
vote
1answer
84 views

Run commands on an Ubuntu guest in VirtualBox VM from Windows host

I am working on some coding, and I have an idea that should work but I have no clue how to make it work. I am using Wolfram Mathematica on my Windows host machine to run some code, but I have to ...
4
votes
2answers
198 views

windows command line dir command: to display only the file name, in 8.3 format?

I know that "dir /w" or "dir /b" shows only the file name. While "dir /x" or "dir /X" shows the 8.3 format, but together shows all other information like long format file names, dates and size. is it ...
1
vote
1answer
23 views

Speex to FLAC in windows command line

I've got a speex audio file (snd.spx), and I've found foobar2000 is the only software I can easily convert it to the more-widely-usable format FLAC (snd.flac) so I can edit it before encoding again to ...
0
votes
0answers
9 views

Access remote applications with console

I am accessing my remote desktop (OSX) by ssh (my local computer is also OSX). Everything is working fine but suppose now I want to access my remote current gmail sessionsfrom the console. Is there a ...
0
votes
1answer
37 views

How do I check for command line parameters in sqlplus?

I am trying to write a sql file which will run under sqlplus. My goal is to create a mechanism by which sqlplus will prompt for password if no parameters are passed, and if &1 is present, continue ...
3
votes
1answer
42 views

In Mac OS 10.10 Whenever I open new Terminal window some command automatically gets executed

In Mac OS 10.10 Whenever I open new Terminal window some command automatically gets executed. I don't know how it came to my Mac. Probably after installing some command line utility not sure which. ...
0
votes
2answers
52 views

Windows 8.1 Command Prompt can't show fonts listed in registry editor

I have a Windows 8.1 and I want to change the fonts of command prompt. I open the properties window, shown below Raster Fonts However, I can't find what I want. I open the registry editor to ...
0
votes
1answer
41 views

SSH - Ignoring $PS1 in .bashrc

Relevant file contents: http://pastebin.com/6VtWcaWG Everything else including the aliases and the PATH variable are fine, but when I log in as root on my remote machine, the correct $PS1 (set in the ...
0
votes
1answer
84 views

Write specific text a .txt file with Batch script

I have a script that install several programs. I would like to write a series of batch scripts to log these installs. I was hoping to find a command that would allow me to select this text file ...
0
votes
1answer
77 views

Run batch as ADMIN & use robocopy

I need to copy from %USERPROFILE%\Desktop to B:\Desktop where B is a mapped network drive. The code inside BAT file is: powercfg -change -standby-timeout-ac 0 robocopy "C:\USER\DESKTOP\" "B:\DESKTOP" ...