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
17 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 ...
0
votes
2answers
2k views

Command line tool for image conversion [duplicate]

Possible Duplicate: Free command line image converter I need a command line tool for windows which can be used to convert an image from any common format to 24 bit bitmap. I'm writing some ...
0
votes
2answers
27 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 ...
3
votes
5answers
4k views

Using Bluestacks to run an android app directly from Windows command line or Desktop Shortcut

After installing Bluestacks is there a way of launching an android app without going through the Bluestacks interface? Is there an API or something that would allow this? Actually I found where it ...
6
votes
1answer
16k views

Change Windows sound volume via the command line

Is it possible to change the volume in Windows XP via the command line?
1
vote
1answer
34 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 ...
2
votes
1answer
76 views

How to split MIDI file on Linux in command line?

Expecting something like split_midi input.mid --from 1:00 --to 2:45 -o output.mid It whould be good if the tool also allow joining, changing volume, filtering tracks and transposing the MIDI.
26
votes
10answers
16k views

Is there a way to display a countdown or stopwatch timer in a terminal?

How can I display a real-time countdown timer on the Linux terminal? Is there an existing app or, even better, a one liner to do this?
0
votes
0answers
22 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 ...
12
votes
5answers
8k views

Why won't my Windows 8 Command line update its path

I needed to add a new entry to my PATH variable. This is a common activity for me in my job, but I've recently started using Windows 8. I assumed the process would be similar to Windows 7, Vista, ...
0
votes
1answer
43 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 ...
1
vote
2answers
5k views

Imagemagick convert returns “no decode delegate for this image format”

I am trying to use this command for ImageMagick: convert "c:\users\****\My Documents\test.png" -transparent white test2.png However, I keep on getting two errors that look like this: ...
47
votes
7answers
43k views

How do I start Chrome using a specified “user profile”?

I use the new built-in "Users" feature of Chrome to switch between Home/Work accounts easily. However, Chrome remembers the "last" user profile you had selected when launching new windows. This is a ...
3
votes
2answers
18k views

Create network shares via command line with specific permissions

This is sort of a two-pronged question. I am developing an application that will need to be able to create network shares in Windows Server 2003 via the command line. So, firstly, how do I create ...
0
votes
2answers
842 views

How to find the last match of a string in a bunch of files

I have a bunch of files, I'd like to find the last match of a string in each of them. grep text *.file gives me all the matches not the last ones. ls *.file | xargs grep text | tail -n 1 gives me ...
0
votes
3answers
4k views

Create a bootable pen drive through Linux command line

Can I make a bootable pen drive from a ISO using the Linux command line without installing any extra software? If yes, what are the commands?
8
votes
6answers
30k views

How to copy a directory structure without copying files?

I have a folder with a lot of subfolders and files in them. Is there a way to copy the folder and subfolders directory structure without copying the files they contain, using cmd or powershell?
3
votes
2answers
3k views

Too many folders in the path variable

I've encountered a strange issue - I can't launch Visual Studio, nor run simple commands from command prompt, seemingly due to my PATH variable being too long. Now that I look at it, I see that many ...
1
vote
1answer
20 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. ...
10
votes
2answers
12k views

How to calculate a relative path from two absolute paths in Linux shell?

We have two paths. First one is directory, second either dir or file. /a/b/c and /a/d/e.txt Relative path from first path to second will be: ../../d/e.txt How to calculate that in Linux terminal? ...
0
votes
1answer
18 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?
2
votes
1answer
172 views

Command line tool to edit FAT/FAT32 attributes on Mac OS X?

Is there a command line tool to edit the FAT/FAT32 attributes (hidden, system, read-only) on Mac OS X? The "chflags" command seems to apply specifically to HFS filesystems... Searching the web turns ...
0
votes
0answers
17 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 ...
21
votes
3answers
13k views

Elevated command line prompt can't access shared drives in Windows 7

I map a share from another machine using my user account. I launch an elevated command prompt (cmd.exe, right click, Run as administrator). Navigating to shared drive (Z:) results in: The system ...
7
votes
2answers
1k views

Check if current Command Prompt was launched as the Administrator

I am looking to write a script that takes user input, then makes system wide changes. I need this to be very generic, but simply put, at the top, I need it to check to see if it's being run 'As an ...
1
vote
2answers
6k views

How to tell if a domain user is a local admin on the machine

I'd like to know if the user MYDOMAIN\SomeUser has local admin rights on the current machine. I can see if a local user account has admin by using: C:\>NET USER Mike User name ...
0
votes
1answer
93 views

Sumatra PDF: “restrict” mode without command-line param

Sumatra PDF has "restrict" mode command line key -restrict. I want to use restrict mode without using cmd line. I run Sumatra PDF with 3rd party app, which cannot pass to Sumatra this cmd line key. ...
0
votes
0answers
9 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 ...
31
votes
16answers
139k views

Run a batch file in a completely hidden way

I'm looking for some way to run a batch file (.bat) without anything visible to the user (no window, no taskbar name, .etc..). I don't want to use some program to do that, I'm looking for something ...
2
votes
2answers
65 views

Can less wrap lines like fmt does?

Like most people I use less as my terminal pager. Occasionally I view files consisting of very long lines of plain or marked-up text. By default less folds these lines at the terminal window edge. ...
0
votes
3answers
45 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 ...
1
vote
2answers
174 views

How can I split a PDF file into single pages quickly (i.e. from the Terminal command line)?

I have a PDF file 6 pages long that I want to split into 1.pdf, 2.pdf, 3.pdf, etc... Preview does not work for this surprisingly (unless I am missing something). I would love to be able to do this ...
2
votes
1answer
43 views

check and warp newest files added

How am I going to automatically check all the files that were added to the directory and then warp it immediately?Because everyday I am downloading hdf files and warping it from time to time is a ...
0
votes
1answer
202 views

iTerm/OSX Terminal: Change text margin from edge of window

Currently, I use iTerm on OS X. My terminal looks something along these lines: I came across this picture of a terminal setup on GitHub, and I wanted to imitate it: Specifically, I wanted to ...
4
votes
4answers
346 views

How to get an .exe file to execute no matter where the user types its name in command shell on windows 7?

I have Windows 7. I have a .exe file here: c:\tools\dailybackup.exe When I am in the CMD window, I want to be able to type "dailybackup" in any directory and have it execute. Do I still need to ...
0
votes
1answer
39 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
21 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
vote
1answer
3k views

Bypass wifi-activation-button in XP start-up on Amilo L1310g

Right then. I have a problem on a Fujitsu Siemens Amilo L1310g. This (old) machine is constructed with a ("feature") physical button that activates the wireless internet. When pressed XP starts ...
-1
votes
1answer
36 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
50 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
26 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, ...
34
votes
3answers
35k views

How does the Windows RENAME command interpret wildcards?

How does the Windows RENAME (REN) command interpret wildcards? The built in HELP facility is of no help - it doesn't address wildcards at all. The Microsoft technet XP online help isn't much better. ...
17
votes
6answers
39k views

List all members of a group (Mac OS X)

I've tried Googling but not getting anywhere. How can I list all the members of a group called mygroup from the command-line in OS X? $dscl . list /groups will get me all the groups...but how can i ...
67
votes
10answers
67k views

How to clear the contents of a file from the command line?

I have a log file that has a bunch of stuff in it that I don't need anymore. I want to clear the contents. I know how to print the contents to the screen: cat file.log I know how to edit the file, ...
2
votes
5answers
24k views

How to mount a drive from terminal in Ubuntu?

I want to mount a drive from terminal at startup. At startup if I use ls /media, I notice that it is empty. If I go to Computer and click on VM drive there, I can then see the VM driver in ls /media. ...
0
votes
1answer
54 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
75 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 ...
1
vote
1answer
109 views

php is not recognized as an internal or external command although it is available in commandline

this is somewhat of a tricky question when it comes to "where should I place it?", but I assume a general problem behind it, which is why I am putting it on superUser. I have a Doctrine script which ...
1
vote
1answer
16 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 ...
3
votes
1answer
114 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 ...