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
1answer
16 views

bcdedit.exe is not recognized… Win 8.1

I am running Windows 8.1, and when I tried to use bcdedit.exe (for the first time on this install) it told me that: 'bcdedit' is not recognized as an internal or external command, operable program, ...
0
votes
0answers
7 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
2answers
16 views

From the command line, how do I zip specific files and directories into one compressed folder?

I'm working in a directory that looks like this: folder >.git >css >img >js Archive.zip bla.html bla.yml During work on this project I very regularly have to zip up the ...
0
votes
2answers
22 views

How to move Documents, Images, etc. from windows command line?

In windows, I can move special folders / directories like Videos, Pictures, Downloads, Documents (ex. "My Documents"), etc. via right-clicking them, selecting Properties, Location tab, and move. ...
1
vote
0answers
14 views

LSOpenURLsWithRole() failes with error -10810 on Yosemite from within tmux

Trying to open an application from the commandline (terminal.app), inside tmux (installed through macports, version 1.9a), and getting the following result: $ open /Applications/Adobe\ Reader.app/ ...
0
votes
1answer
13 views

Perforce on Cygwin Prompts for a visible password

When I run the perforce login command in a cygwin shell running inside a mintty terminal emulator, the password prompted by perforce is visible--as I type the characters that make up my password, the ...
2
votes
1answer
18 views

I tried copying invisible files to a directory but I can't find it

I just did this: $ cp .cordova && ../../../ In Terminal (Mavericks). Totally forgot to include an actual path to a directory. I went back to the directory where I thought .cordova was ...
0
votes
1answer
14 views

ubuntu terminal — how to get back prompt after message that takes away prompt?

I'm doing something in terminal on ubuntu. I have a message like "please ask your system administrator to enable user sharing." Ok, great. Thanks ubuntu. But when I press enter, it goes to a new ...
1
vote
1answer
32 views

I changed my system path in system variables, how can I bring it back to what it was?

I've been trying to unlock my htc device's bootloader and I couldn't get a fastboot command from the cmd to work. I had tried everything and eventually I found this site which said that I just have to ...
1
vote
5answers
48 views

How to copy hidden (starting with a dot) files and subdirectories in linux?

How to copy hidden files and hidden subdirectories (the ones starting with a dot) in folder A to folder B? For example if I have this structure: A/a A/b A/.a A/.b/ A/.b/somefile A/.b/.c I would ...
1
vote
1answer
5 views

No output / stdout / feedback in mysql prompt on Ubuntu 14.04

I'm running Ubuntu 14.04 and Nginx, and I recently installed mysql-server while following Digital Ocean's LEMP stack setup guide (I intend to run a WordPress site with it). When I try to log into an ...
-2
votes
1answer
21 views

Prevent - “java” is not recognized as an internal or extenal command

The "java is not recognized as an internal or extenal command." is a fairly common problem. Note that I am not looking for a solution to this. If someone came here for such a solution, it can be found ...
0
votes
0answers
5 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
17 views

How to merge images using gdal-merge and cmd(.bat file)

There are 4 to 5 projected images in one day. Let's say I have all the projected images for 3 days. For day 1, the file name are: T2010232034000.L2.Tera.tif T2010232035000.L2.Tera.tif ...
0
votes
1answer
23 views

How to use powershell command in cmd pipe?

I want to use powershell's 'replace' in some long cmd.exe pipeline; how can I redirect from cmd to powershell input? The line below doesn't work, gives empty output: c:\>(echo foo && echo ...
0
votes
0answers
41 views

Hide cmd.exe Process When Running Batch Script [duplicate]

I have a batch script that I am running hidden by executing it with a vbs. This is great, because it completely hides the cmd window. However, if I look in the Windows Task Manager I can still see ...
2
votes
3answers
69 views

Is it possible to give any extension to linux executable file?

I want to know whether I can use different extensions for linux executables instead of using ".sh" or ".o" extension.
2
votes
1answer
19 views

How to project all the files or newest files that were added to the directory using gdalwarp and commandline(.bat file)

How am I going to automatically detect all the files that were added to the directory and then project it immediately?Because everyday I am downloading hdf files and then project it from time to time ...
0
votes
4answers
46 views

Ways to start a program at the same time as cmd

I'm in a bit of a quandary: when I want to start a program at the same time as another program, my normal MO is to make a batch file that goes something like this: @ echo off start exe1.exe start ...
1
vote
1answer
46 views

After update, Windows 8.1 has an open cmd box when restarted and also a message, is it infected?

my Windows 8.1 HP laptop recently updated automatically and now when it is restarted a cmd line box is on the desktop, followed shortly by a message saying; "Windows cannot find c:\program ...
0
votes
1answer
16 views

Changing UserAccount Name is not working Compeletly

You can change your user account name by using the command below: wmic UserAccount where Name="OLDName" call Rename Name="NEWName" Also You can use VBScripts To do this job, But there is a problem, ...
3
votes
2answers
199 views

How to create an additional command prompt in Windows Server 2012?

I already have an active command prompt running in Windows Server 2012. I want to create an additional command prompt so I can run something else in that prompt. If I click on 'Command Prompt' icon ...
0
votes
0answers
16 views

How can I prevent a LaunchAgent from running automatically but enable it to run when loaded via the command line?

I like using the idea of using LaunchAgents to manage services that run in the background on OS X, but there are a few that I don't use often so I wish they would not start automatically. Is there a ...
1
vote
1answer
23 views

How to test if file is a socket in command line?

As titled. Is there a way to test in command line whether a file is a socket? By test I mean whether I can tell from the stdout, and not programmatically as in a bash script, although that's fine too. ...
-1
votes
1answer
48 views

Can't understand loops :( [closed]

I'm trying to understand better the while and until loops, can someone help me with this example? #!/bin/bash # Listing the planets. for planet in Mercury Venus Earth Mars Jupiter Saturn Uranus ...
0
votes
1answer
10 views

How can I disable rvm's interactive help (pager?) i.e. more / less a la `man`?

I recently upgraded from rbenv to the newest version of rvm. If I type a command such as: rvm help Then it gives me the same sort of paging interface I would get with man rvm - but I just want it ...
0
votes
2answers
25 views

stopping/killing a process using command prompt without knowing the PID

I am starting a notepad from command prompt using the command: start notepad I am not aware of the PID of this instance of notepad. In such a case, how can I close the same instance of notepad using ...
0
votes
1answer
24 views

Batch Script Doesnt Delete Folders in a Folder .txt File :(

My batch file's code is: for /f "delims=" %%f in (7profiledeletelist.txt) do rd /s /q "%%f" PAUSE exit In "7profiledeletelist.txt", there are: (will be deleted) C:\Users\1* (I tried *.* it didnt ...
1
vote
2answers
46 views

Rename tab from MinGW-console using ConEmu

I'm using the cmder (ConEmu) with Git Bash-tabs (MinGW) and I want to rename the current tab with a console command. Within a cmd-Tab I can use cmd /c RenameTab "myTabName" but I a need a similar ...
0
votes
1answer
17 views

Git is in the PATH, but is not being recognized as a command

I've recently reinstalled Git, and I just can't get it to run off the native Windows command prompt anymore. I'm sure it is in Path environment variable, as you can see: C:\Users\Ult>where git ...
1
vote
2answers
42 views

How to copy and paste in the command line Interface of Ubuntu Minimal?

I've installed the 64bit edition of Ubuntu Minimal 14.04 in a VMware Player virtual machine. Ubuntu Minimal only has a CLI (Command Line Interface), which I like, but I can't figure out how to ...
3
votes
0answers
75 views

Is there functionality that CMD has that PowerShell doesn't? [closed]

This is not a question regarding which is better; I am purely interested in use cases where PowerShell cannot perform the same functions that CMD can. The only thing that comes to mind for me is that ...
0
votes
1answer
32 views

is there a way i can either insert a character into a line or substitute and arbitrary character with itself plus some other carachter(s) in sed?

like say i have a string of numbers that constitute a phone number and are like so ########## and i want to format them like : ###-###-#### insert only puts in new lines, and i dont know how to ...
4
votes
1answer
324 views

Windows 7 command line GPU temperature [on hold]

Are there any windows 7 applications that output the GPU temperature to the command line?
0
votes
2answers
30 views

linux cat into file including exiting code all from copy+paste

Can I print out a code to STDOUT that would mimic the behavior of Ctrl+c inside cat? E.g. I would like my script to print out the cat command followed by the content of the file like this: cat > ...
0
votes
0answers
32 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 ...
1
vote
1answer
26 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 ...
-1
votes
0answers
28 views

Limit bandwidth in windows via command line

Im looking for a way to limit the tranfer rate(i.e. download) in a windows 7 machine. In linux the are some kind of wrapper tools to achieve that kind of functionality without touching the network ...
1
vote
1answer
26 views

Good way to bookmark/navigate relative directory paths?

I work on a linux system with bash 4.x where I frequently find myself navigating different copies of very deep (and large) file directory structures. However, in reality I only need to access a ...
0
votes
0answers
26 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 ...
1
vote
1answer
19 views

How to split and recombine stdout pipe in bash?

I am parsing text on the command line. How can I take the output of one command and use it in two places in the next command? some_command | head -n $( awk '/search_term/ {print FNR} ...
0
votes
0answers
24 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
1answer
8 views

Tasklist | sort /+ number reference

Is there a reference which lists the different number codes that be used with the Tasklist | sort /+ command in Windows command line? The only one I know of is Tasklist | sort /+68 Thank you in ...
1
vote
2answers
183 views

Why is “source <(cmd)” working but not “$(cmd)”

I want to have a script to call with params which adds some aliases to my current shell. The aliases have to be builded in respect to the calling parameters and the current directory from where I ...
0
votes
0answers
13 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
1answer
19 views

set environment variable from batch

When I set a environment variable envir using setx command, It seems to not actually 'set' in environment. setx envir "windows" if 1==1 ( setx envir "unix" ) echo %envir% set The set command ...
2
votes
1answer
42 views

Percent sign (%) in front of shell command

I just pasted a bunch of code into my shell, but forgot to remove the leading % before running the command. It appears to have done nothing. Why does this do nothing in my shell (zsh)? > % echo ...
0
votes
1answer
37 views

Windows CURL download file- special char in URL

I need to download .xls file with Windows cURL and I have got a problem with URL of that file, because it contains special char "Č". That URL is: http://www.ccs.cz/data/141001_Seznam_ČStxt14196.xls ...
0
votes
1answer
35 views

Windows Environment Variables

I am very confused on what is incorrect with my Windows Path variable. In my System Settings I have the System Variable Path set to: ...
0
votes
0answers
15 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 ...