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

change letter directory for boot drive CMD

I some how messed up my boot directory. Can some one please explain to me in lay terms how to reset the root directory for my boot drive using CMD in boot up of windows 10. I have been finding info on ...
0
votes
0answers
20 views

How to extract PPmD archive data in Ubuntu?

So I have a file called ppmdData with no extension, then when I use the file command on it, it says it is a PPMD archive data. When I run 7z x secret, I get an unsupported method error. Can anyone ...
0
votes
1answer
20 views

How to run a js file from windows terminal?

In order to have the measurements displayed of a photocell linked to an Arduino on the terminal, Iam trying to execute a node.js server. It's from a tutorial made by Adil Moujahid I tried to follow ...
1
vote
4answers
70 views

Linux - “grep” from certain lines to the end of file

I have a text file similar to this: line 1 line 2A line 3 line 4A line 5 I want to "grep" from "line 2A" to the end of file, something like this cat file.txt|some_grep "line 2A" Also, I want to ...
0
votes
1answer
29 views

How do I execute commands on files in multiple folders?

I'm trying to figure out a way to execute commands on multiple files that exist in multiple folders. From what I understand, a for loop is the best way to do this in CMD (I'm using Windows.) I'm ...
0
votes
0answers
28 views

Why won't `date` accept it's own default output?

On my system right now by default date outputs: $ date Fri 29 Jan 22:04:26 GMT 2016 However if I try to feed dates of this format back into date it results in "invalid date": $ date -d "$(date)" ...
0
votes
1answer
30 views

How do I find keyloggers and other hidden biles/processes from the command line in windows 8.1? [closed]

I have noticed a great number of system "Glitches" as of late. Recently while poking around explorer, i believe in my system32 dir, i noticed that every time I entered a subdirectory and existing to ...
1
vote
1answer
17 views

Run Atom using a bat file after changing directory

I have writen in my bat file cmd /k cd /d"C:\Users\amanz\Desktop\Introduction - Computing\Java files" call atomer.bat right now, it just seems to change the directory and stops right there. It ...
0
votes
1answer
23 views

piping command output to text files not working

Trying to use CMD to print the output of an executable to a file. The name of the program is adb (in my path). When called without arguments it prints the help text. I can't seem to capture it. adb ...
2
votes
1answer
34 views

Batch command delete from list of files from multiple computers

Currently I use a poor piece of programming where I delete multiple files on multiple PC's. What I would like to do is have a file with the names of the PC's (PC.txt) and a file (filedel.txt) with ...
0
votes
2answers
17 views

Tftp put linux one line

I have been following the answer provided in this link : Put file with tftp client in Linux However, I've tried all of the commands listed and always get this response. usage: tftp host-name [port] ...
0
votes
1answer
42 views

How can I tell bash top stop echoing text whenever I press any key?

I'm writing a custom startup command for gnome-terminal, and my intention is to display a welcome message every time I launch it. The message displays correctly, I coded it in order to make the ...
1
vote
2answers
30 views

Equivalent of `$@` for windows shell

I use batch files to create wrappers around some commands which need extra argument to work. For example, I have a file pip.cmd which adds a custom proxy argument to all pip calls: pip.exe ...
0
votes
0answers
23 views

OSX terminal : log on on a website

I would like to login/ out on a Web site using the terminal, I currently using a appleScript I wrote but was wondering can you use terminal command line instead (not running my script from terminal) ...
0
votes
1answer
16 views

set chromium tab option to enable “mute” by command line

Chromium has cool options. For example, I enjoy the "mute" tab feature. This can be enabled graphically by go to chrome://flags and then enable "Enable tab audio muting UI control". However, how can ...
2
votes
2answers
25 views

How to use /k to keep a command prompt shortcut from closing?

I am trying to make a shortcut that will run the following command with the following switches. The window closes before the command can run long enough. I want to know where to put the /k in the ...
0
votes
2answers
416 views

Annoying popup cmd.exe “FINDSTR cannot find the path specified”

I recently installed a Driver Booster software to detect and install out of date drivers. since installing, I have been getting a popup for a split second every hour or so. as it appears and ...
0
votes
1answer
20 views

Start command-line application as service

I have a exe program and I would like to create a new service in a WinNT system. This program is a tiny command-line ftpserver. I tried this command: sc create testFtp binPath="c:\ftpdmin.exe" ...
0
votes
0answers
17 views

Sed command to replace NUL character in file

I am using the command sed -i 's/\o000//g' filename or sed -i 's/\x0//g' filename to remove the NUL character but the command works fine in DEV environment but doesnt work in UAT. OS and sed version ...
0
votes
0answers
10 views

Deleting ftp folder in remote system using putty command automatically when system boots?

I need to delete a folder in a remote system using putty, I have rm command to remove particular folder, but this should run everytime when the system starts how to do it?
1
vote
0answers
22 views

Creating a CMD Context menu to copy filepath

So I created a context menu in the registry HKEY_CLASSES_ROOT > * > shell > copy > commmand > cmd /c dir "%1" /b /a:-d /o:n | clip What this does is copies the file name when I right click on a ...
0
votes
1answer
20 views

Setting environment variables in cmd has no effect

I'm trying to set up paths to VS tools to run them in command line, as per https://msdn.microsoft.com/en-us/library/x4d2c09s.aspx I run vcvarsall x64 from elevated command prompt and check the ...
0
votes
1answer
36 views

Spaces between parameters in a Powershell command

I want to know why when I let spaces between paramters in a powershell command I have errors : With space : (don't work) wmic desktopmonitor get screenwidth, screenheight Expression GET non valide. ...
1
vote
2answers
27 views

Is it possible to set a Windows command line variable by reading a text file?

I have a one line text file that will be created daily and was wondering if one could use SET and TYPE (unless someone has a easier Windows command line utility) to define a Windows command line ...
1
vote
1answer
44 views

Importing .PEM certificates on Windows 7 on the command line

I need to import a PEM certificate on a massive number of freshly installed Windows 7 Enterprise machines. Normally, I would do it through MMC → Certificates (Local Computer) snap-in → Trusted Root ...
0
votes
0answers
12 views

Automatic or scriptable creation of new users

I need to create a huge amount of new accounts in Tuleap that I cannot add to my LDAP (external users from my enterprise). Is there a feature in Tuleap in order to script the creation of an account ? ...
0
votes
1answer
31 views

How to use ffmpeg to add jpeg image before and after the video

I am using the latest version 2.8.5 ffmpeg on Windows and I want to add 5s intro jpeg frame at the beginning of the video starts, and a 5s jpeg end frame at the end of the video. I found a lot of ...
0
votes
1answer
23 views

Using DOS commands in a shortcut (.lnk) file

Is there a way to create a shortcut (.lnk) file that uses a DOS command line instead of pointing to a file? It would be great to simply DC a shortcut instead of having to invoke a command line every ...
0
votes
2answers
40 views

Execute Command After Previous one Finished

Is there a terminal emulator which allows the user to execute a command after the one currently running terminates? I'm searching for a software, not for an explanation of how to concatenate commands ...
0
votes
2answers
23 views

Run zip on command-line

I have a bash file with this line zip -q0X "../$1.epub" mimetype But when I run this file on prompt, this error appear: publish: line 4: zip: command not found What can I do to run zip command? ...
1
vote
1answer
20 views

Multiple line Windows Batch File issue

I have a batch file with following contents Line 1 "C:\Program Files (x86)\Dell\SysMgt\bmc\ipmish.exe" -interactive -ip 192.168.1.5 -u root -p Password after this it goes to prompt IPMISH> Line 2 ...
0
votes
1answer
32 views

Powershell is slow to start and will not show the working path

When I fired up powershell it used to look something like this I recently reinstalled Windows 10 on my machine, and now I have two issues with Powershell. Firstly, it takes a little over 10 seconds ...
0
votes
1answer
33 views

Windows Command Line — Find text within line at certain position

What Windows/DOS command line utility would one use to find 17 characters, starting at the 45th command line position of a daily revised text file? Can this be done with 'TYPE'? Sample daily text ...
-2
votes
0answers
16 views

How to install command line tools from source tarball tar.gz on windows OS

Hello I am new to shell programming, I run into this problem a lot where I want to run some command line functionality that's Not already built in ,you need to install it,for example surf raw you go ...
0
votes
1answer
17 views

Run script when systemd service fails

I'm running Debian 8 on a server. How do I run a bash script if a systemd controlled service fails to start or restart? Similarly if a service suddenly stops and cannot continue. In effect I want ...
1
vote
1answer
43 views

Move Files to an Alphabetically Cataloged Sub-Directory

I have a variety of "files" (not folders) of the same type (e.g. ".docx"), in the same directory. Also, in that SAME directory, I have a sub-directory named "catalog", and within it, alphabetical ...
0
votes
3answers
694 views

Linux Mint “PPA is does not support trusty”

ta to the repostitories list in Linux Mint 17.3 but cannot seem to get it to add! I get the error: 'This PPA does not support trusty' Cannot add PPA: ''This PPA does not support trusty' I have ...
0
votes
0answers
7 views

NPM Windows doesn't execute program under the User Variable path [duplicate]

So I have npm and installed gulp globally. gulp.cmd is available under %Appdata%/npm and it had added the NODE_PATH user variable. When I type in gulp in my command prompt, it returns 'gulp' is not ...
1
vote
2answers
43 views

Using keyboard alone, launch CMD with elevated privileges [duplicate]

Using the keyboard alone on Windows 7 or Windows 8, how can I open a privileged command prompt window with built-in tools? I've unsucessfully tried Windows+R -> cmd -> runas /user:Administrator cmd ...
0
votes
0answers
38 views

Cannot delete directory

So I installed the new Blade & Soul game and long story short the launcher crashed halfway through install and refused to load afterwards. I tried to reinstall the application however the ...
0
votes
1answer
36 views

quickly find argument description in unix man page

How do I jump exactly to the definition of an option within a man page? Example: try to find what -L means when performing man curl. Naive approach: /-L requires 5 ns (nexts) before I get to the ...
5
votes
4answers
117 views

FTP download list of absolute paths

I have a list of (a couple thousand) absolute paths to files on a remote server that I need to download to my PC. I also need the files to keep the directory structure intact for those files. ...
0
votes
0answers
14 views

Robocopy keep directory structure intact but include a large number of files

My question is basically the same as this one except I have a list of 370 files that have to be copied from source to destination. So my initial directory looks like folder1 folder2 folder3 ...
1
vote
1answer
13 views

How can I unconditionally open any fold present, without errors, when invoking from the command-line?

So, this is similar to ‘execute command with range silently’; but that's in a mapping, and so the solution isn't applicable to what I'm trying to do. I'm using the Skim PDF-viewer with LaTeX Sync, ...
0
votes
1answer
34 views

In Windows cmd batch file how to ignore carriage return

I have a Win 7 bat file that prompts user to enter a number, then it passes that number as an argument to a tcl script. An optical barcode scanner is used to provide the number, but then I want user ...
3
votes
1answer
45 views

List Files in a Subdirectory and get Relative Paths only with Windows Command Line

I want to use the Windows command line to list files with path. For example: ~\folder1 \1.jpg \2.jpg ~\folder2 \01.jpg \02.jpg I want the output to be similar to the relative paths rather ...
0
votes
0answers
26 views

Restore(?) generic USB keyboard driver from command line in repair-mode

As the title says, I'm experiencing some troubles with a dead keyboard (and mouse, for that sake) at the Windows 7 (enterprise) login screen, and I can't find a way to fix it. Earlier today I decided ...
1
vote
1answer
26 views

How to prevent “source” in a bash script from passing the script's arguments?

These questions address the functionality of source: What is the difference between executing a bash script and sourcing a bash script? What does 'source' do? but I'm confused as to why ...
0
votes
1answer
30 views

command substitution before ssh

I want to write the results from a job into a remote file on another host in my cluster. I know I can do this: echo 'My text' | ssh me@my.host "cat >> ~/my.output" which will append 'My text' ...
0
votes
1answer
38 views

Errors with FFMPEG on Ubuntu 16.04 While Using AMERGE: Segmentation Fault, et al

[ffmpeg version info below, as well as OS version info.] I am trying to use the sidechaincompression filter along with the amerge filter in ffmpeg for ducking voiceover audio over an audio bed. ...