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

Lowercase L key does not work in cygwin terminal

This is probably the weirdest software problem I have ever come across. When I press L key in cygwin command line I see no reaction whatsoever. All other buttons on the keyboard work perfectly. In ...
0
votes
0answers
34 views

Run schedule task while logged off using command line on local machine under windows7

I'm tryig to run this batch file: schtasks /create /SC once /ST 23:00 /tn "batch2" /tr "c:\windows\system32\schtasks.exe /run /TN "Acronis\backup_to_disk2" /ru "WORKGROUP\Tps02-PC$" rl/ highest ...
0
votes
1answer
15 views

What is the syntax to 'repeat A to B' a video clip using VLC command line?

We can repeat a clip from point A to point B, called repeat A to B, as discussed here. I need to do this using VLC command line. How can I do that?
0
votes
0answers
5 views

What is VLC player's bookmark in its command-line arguments?

I see the bookmark option in the argument list of VLC command line and have no idea what it is used for. A google search from me results in this article telling something about resuming previous ...
0
votes
1answer
32 views

Is it possible to see what commands a program is executing?

I have a Windows GUI program, that upon startup, launches cmd.exe and I would like to know exactly what commands are executed within the command shell. I know cmd.exe is executed as soon as the ...
0
votes
0answers
18 views

How do I add more words to an existing Aspell dictionary?

I have installed Aspell dictionary to spell check my document. But in the document there are some words which are spelled incorrectly but I do not want Aspell to detect those as incorrect. So, ...
-1
votes
0answers
39 views

slow computer performance on windows power shell and command prompt

I have a window and I've been using it for 1 year now, starting 6 months ago, I had frequently started to feel laggy in running command prompt/power shell I have installed many software on this ...
0
votes
1answer
34 views

Directories will list, but are not recognize by cd

New to terminal and having problems out of the gate. Using Terminal 2.1.2 on a Mac running 10.6.8. Using the "ls Documents" will list the contents, but when I try to change directories, which I tried ...
0
votes
1answer
44 views

How do I rotate an image clockwise using the Windows command line?

Is there a way to rotate images stored in folders clockwise so they can be changed from Landscape to Portrait using CMD or Powershell? If there isn't a way to do it then please let me know. It might ...
25
votes
1answer
2k views

Why does deleting from the command line take significantly less time than from a GUI?

Something I wondered about as I was deleting a dozen or so images from my computer: With a quick rm -rf command on the directory's contents, all the images were gone in a snap. When I drag the same ...
0
votes
1answer
25 views

ConEmu: Run command in open Tab?

I'm using ConEmu (which is already open for the task in this question) with running ipython. Now I want to run a command from a second programm (namely notepad++) to make my edited python script run ...
0
votes
0answers
22 views

How to run --args AFTER Google Chrome is already open

How do run --args after Google chrome is already open? open -a Google\ Chrome --args --"profile-directory"="Profile 1" ONLY works when Google chrome is not running and I would like to know how to ...
0
votes
0answers
11 views

Compass watch exits randomly without output or error

I am using the ruby gem compassto preprocess sass/scss to css. Using compass watch path/to/scss I keep precompiling every time the scss-files are updated. But every now and then, the process simply is ...
0
votes
1answer
26 views

Remote server browser

Is there any tool for pretty display directory structure where I'm currently in? My flow is pretty tedious like cd 'dir1' ls cd 'child1' ls and so on. I'd like to have some NerdTree + console ...
2
votes
1answer
55 views

Variable in WinSCP script

I'm asked to automate some SFTP download processes via WinSCP. I'm not familiar with WinSCP scripting. ftprun.cmd: C:\Program Files\WinSCP\winscp.com" /script=D:\testsftp\ftpscript.txt ...
1
vote
5answers
124 views

How can I both pipe and display output in Windows' command line?

I have a process I need to run within a batch file. This process produces some output. I need to both display this output to the screen and send (pipe) it to another program. The bash method uses ...
2
votes
4answers
39 views

Extract lines based on long list of line numbers

I have a long list of line numbers (35389208) that I do not want in my file. By line number I mean the line in my file (e.g. line 277). My list of line numbers I do not want looks like: 277 278 279 ...
0
votes
2answers
32 views

what is the difference between shell command staring with “.” and “./”? [duplicate]

In Linux shell, I've seen the command starting with "./" e.g. $ ./example But then I've also seen the similar command like $ . example.sh My question is do they have the same function?
0
votes
1answer
29 views

Does linux 2.6.32 have 'at' command, can I add this command into it?

I am trying to run 'at' command to execute a shell at morning. But I met this on the remote host bash: at: command not found I runed $PATH, it shows bash: /sbin:/bin:/usr/sbin:/usr/bin: As I ran ...
0
votes
0answers
43 views

Send command through PuTTY automatic login

I am using the following to login automatically to a remote server and then run commands listed in a commands.txt, like this: C:\path to\putty.exe -ssh adreese.ip -l user -pw Password -m C:\Path ...
1
vote
0answers
35 views

Command line rar.exe and delete files from archive older than sytem date minus 14

I know there is a d command line switch but how do I add system date minus 14 for example? I would like to remove from the archive d:\Backup\Transactions all the files older than 14 days. So far I ...
0
votes
1answer
24 views

Change value in config without opening

Is it possible to change/uncomment value in linux configs without opening and go to line? Example: In php.ini we had expose_php = On and we want turn it off: $: magic_cmd "expose_php = Off"
3
votes
1answer
48 views

Using sed with parallel gives empty output when redirecting to file

I'm using the zsh shell. I am trying to use sed to substitute some text in many files, using parallel to speed up the process. When I tested this on one file and let the command output go to stdout I ...
0
votes
1answer
41 views

Set screen resolution with command line at win 8 or blue?

Is any body know how to set screen resolution from command line, at win 8 or 8.1? and how to do it to projector I mean another display? Thanks Hagay
1
vote
1answer
18 views

Pipeing lines to repeat commands

If my grep operation returns a list of ID's like: 12345 84758 49549 .. can I somehow feed/pipe each line to a commandline command's parameter? Like for example with the above result from grep, I'd ...
0
votes
1answer
24 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
1answer
28 views

using sed to replace 1 line with a multi-line variable in ksh

I have the following text in a file: XXXX NNNN YYYY NNNN ZZZZ NNNN I want to replace the NNNN to make it look like this: XXXX NNNN DUTY FORECASTER: YYYY NNNN DUTY FORECASTER: ZZZZ NNNN ...
1
vote
2answers
44 views

How can I graphically open and display file at the client end in Linux over SSH connection?

I am using the xdg-open file-name command to open and display file at the user end, but can't graphically open and display file at the client end in Linux over SSH connection. So please help me to ...
1
vote
1answer
53 views

Batch copy gives errors, xcopy works fine

I am writing a general file backup program. It searches the drive for files matching a set of types and then writes them to a folder on the desktop. I wrote it using xcopy on Windows XP but upon ...
1
vote
1answer
54 views

Ctrl-C not killing process in CMD.EXE

I've had this issue for a while even after reinstalling. Issue happens after I reinstall all my programs and not in a fresh Windows install (obviously). Might have to spin up a VM and install each ...
1
vote
0answers
23 views

Recursive search occurs instead of last command when using up arrow.

I'm using an internal product "shell" based on spring shell. When I press the up arrow to get my last command, instead I get (reverse-i-search)`': Retrieving the last command works for all my ...
0
votes
2answers
32 views

Is there a unix command to output time elapsed during a command?

I love using time to find out how long a command took to execute but when dealing with commands that execute sub-commands internally (and provide output that allows you to tell when each of those ...
0
votes
0answers
31 views

How to run adb command through a script

As the title says, I'm trying to find how to run adb commands through a pre-written script (such as how .bat and .vbs files work) so I can make a semi automatic program to pull some files from my ...
0
votes
0answers
19 views

Virtual Consoles run from different DVI output than X

My virtual consoles (Alt F1-Alt F6) run from a different DVI output than X does. This requires me to unplug my monitor when I want to start X, which is a pain. I'd like to set them both to be ...
1
vote
0answers
18 views

How do I extract files from one tarball to another tarball in one step?

I have some fairly large tarball archives, from which I need to extract some files. I will later repack those files to transfer them to another server. Currently that is a two (multi) step process for ...
1
vote
2answers
28 views

How can I run msiexec from cygwin to unpack a msi?

I need to unpack (not execute, unpack) a msi in a cygwin makefile. If I invoke from the windows command prompt the following msiexec /a package.msi /qn TARGETDIR=C:\foo The package is correctly ...
2
votes
2answers
111 views

Using wildcards with the rmdir or rd command

Let's say there are some folder in the D: drive: D:\Air D:\Abonden D:\All D:\Whatever I want to delete all folders starting with "A" (including all subfolders and files). I tried this command: ...
0
votes
1answer
47 views

Windwos 7: Registry Files… Incorrect

Issue Summary I messed up a couple values in my Windows Registry, I know which ones, I am having a hard time changing them back. Issue I was trying to change the default location for program ...
1
vote
1answer
38 views

How to get list of process ids that are in a given group id

Going by the man page, I would expect this to work: ps ah -o pid,pgrp -G 18322 But this shows exactly the same list as without the -G arguments. I want a saner way to produce this output: ps ah -o ...
-2
votes
3answers
59 views

osx bash grep - finding search terms in a large file with one single line

Is there simple unix command line i can enter which lets me isolate say 512 bytes either side of a search term, even if there is only one "line" in a very large text file? Ok, this should be easy. ...
1
vote
0answers
17 views

Disappearing characters between youtube-dl, ffmpeg, and cmd

so what happens is that if the video title has a symbol that isn't supported by your current locale then ffmpeg won't be able to get to that file properly. Here's one example ►2 HOURS BEST MELODIC ...
2
votes
3answers
174 views

What exactly do the sudo -s command? and how is it used in this example?

I have the following doubt. In a tutorial related to a software installation that I am following say that I have to execute the following commands (I am doing it into an ssh shell, so this list of ...
0
votes
2answers
27 views

Use grep to find files and pipe/open to open them

How can I pipe files from grep to open all matching files? I've tried grep -li "type" * | open, but that does not work.
0
votes
0answers
33 views

Why is there a bash process running in my Terminal if I use Zsh?

When I run the "top" command on OSX Mavericks, a bash process appears even though I am using Zsh, why?
1
vote
2answers
31 views

How to kill a process based on the partial content of its window title?

I start a command window with a similar command: start "DUMMYCOMMANDWINDOW" I can then close the window using this command: taskkill /FI "WINDOWTITLE EQ DUMMY*" /f /t What I'd like to do, ...
1
vote
0answers
31 views

How to perform this Windows 7 permissions change on many files via GUI or command line

After using my external hard drive on another Windows 7 computer to tweak photos with Windows Live Photo Gallery then upload them to Facebook I found the modified images were now not visible on the ...
1
vote
0answers
25 views

Dtrace shows posix_spawn called with only 3 argument. Trying to launch by hand

I ran dtruss on a process that launches another one: the League of Legends Launcher starts the main game process with certain arguments that I can't seem to pass via the command line. What caught my ...
0
votes
1answer
24 views

bash scripting, run commands in all subfolders with selections

I need to run this command trjconv -s run.tpr -f run.xtc -pbc mol -ur compact -o unwrap for all the sub-directories following the naming pattern of us_0.0, us_-0.2, us_-0.4 ... us_-3.8. The ...
0
votes
1answer
40 views

Is it safe to force a dismount to format a volume in Windows?

I am using format command in cmd to format a USB flash drive. M:\>format /FS:FAT32 /Q Required parameter missing - M:\>format M: /FS:FAT32 /Q Insert new disk for drive M: and press ENTER when ...
0
votes
0answers
25 views

Retrieving data from Disk Utility Image

I created an image of my mac using disk utility. It's a .dmg. It has a lot of data on it (about 1 TB) and I only want one file from it. Is there any way I can selectively pull information from it, ...