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
7 views

Batch Process - How to merge images per day 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
11 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
26 views

Hide cmd.exe Process When Running Batch Script

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
65 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
10 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
44 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
34 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
197 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
12 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
21 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
47 views

Can't understand loops :( [on hold]

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
8 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
21 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
45 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
13 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 ...
0
votes
0answers
25 views

How to copy and paste in Ubuntu 14.04 Minimal

I installed Ubuntu 64-bit Minimal in VMPlayer. It only has command line interface which I like, but I can't figure out how to copy/paste in this terminal. I need paste especially since some of the ...
3
votes
0answers
68 views

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

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
315 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
27 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
29 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
22 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
24 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
25 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
182 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
11 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
38 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
32 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
33 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
13 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 ...
0
votes
0answers
17 views

What's the command line for clicking on the 'Connect' button of rasphone.pbk?

C:\Users\All Users\Microsoft\Network\Connections\Pbk\rasphone.pbk Do you know the command line for clicking on the 'Connect' button of it?
0
votes
0answers
10 views

Adding more than one image as album art to mp3 via command line

I want to add two images (front and back cover) to my converted mp3s. At this time I convert all my WAVs with lame, then I convert the ID3 tag version from 2.3 to 2.4 via eyeD3 and then I will add two ...
1
vote
2answers
35 views

Grep output from multiple lines in a limited shell environment

I have been scouring the web for ways to search across multiple lines of output and then print the lines which contain the strings I care about. I am actually running this on a checkpoint firewall, ...
-2
votes
0answers
25 views

Burning a CD/DVD by runing window “Burn a Disc” wizard by command [closed]

I want write a program so these are my needs: How can i run windows "burn a Disc" wizard by some commands? I know about this CMD commands: **shell:CD Burning** >> open ...
0
votes
2answers
40 views

Can not access directory from command line

As the title said: I can't access a directory from commandline. I am tring to access the D:\ drive like this: cd D:\\
0
votes
0answers
26 views

Linux create zip file with custom directories in it

I'm new here. My task is to create a zip file from php code. I need to password protect it and the server runs php 5.5 and password protection is not supported there so I need to execute a command ...
0
votes
2answers
33 views

Add domain group to local computer administrators command line

Is it possible to add domain group to local group via command line? I can add specific users or domain users, but not a group. I would prefer to stick with a command line, but vbscript might be ...
1
vote
2answers
24 views

The easiest way of visualizing data from stdout as a graph?

I have an application that prints data to stdout, a floating point number about every second. I would like to visualize the numbers as a graph. How is the easiest way to do this, preferably ...
0
votes
3answers
50 views

How to run remote ssh command with multiple commands using quotes?

I have tried many combinations, but none of those have worked, and now my ideas have run out. So my intension is to get time from scheduled at-job, and make another AT-job half an hour before it. And ...
0
votes
2answers
17 views

Command line to search for all word files using wildcards in filename

How can I find all files that have a name like ALPS*.doc in a folder like P:\Systems\A.L.P.S\? I tried this using the command line but it returns zero: Systems\A.L.P.S>dir /s /b c:\ |find /c ...
0
votes
0answers
12 views

Command line tool for showing data from stdout as a plot [closed]

On Linux I have an application running that writes a number to stdout, about every second. Is there a tool that can read this output and show it as a graph. I guess smth could be written using ...
2
votes
1answer
17 views

Getting started with GIT, basic flow

I'm getting started with GIT and would like to know a very simple workflow for branching. I'm hosting my repo online and have various features to add locally. It's our plan to make feature branches ...
0
votes
1answer
23 views

How can I find applications that currently use the portable hard disk I have attached

When I try to safely remove my portable disk, most of the time I get a message that the device is currently being used by some application(s). To solve this issue, I close all the open windows and ...