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)

5
votes
1answer
198 views

What does the output from CTRL+N in Windows Command Prompt mean?

In the Microsoft Windows Command Prompt (Win7), what does the command Ctrl+N do? I get the following output: C:\Users\pbarney>^N '' ␋_ ┼¯├ _␊␌¯±┼␋≥␊␍ ▒_ ▒┼ ␋┼├␊_┼▒┌ ¯_ ␊│├␊_┼▒┌ ␌¯└└▒┼␍, ¯▬␊_▒␉┌␊ ...
0
votes
0answers
11 views

understanding HTTrack actions

i just started using HTTrack . and it offers 5 actions whenever i want to download a website for offline viewing. which are 1 Mirror Web Site(s) 2 Mirror Web Site(s) with Wizard 3 Just Get Files ...
-1
votes
1answer
12 views

how to copy contents from current tty to a file in Linux RHEL 6.3

I am trying to copy the contents of on the current tty to a file by using command ls -l > ls-l.txt but I'm unable to get the output Can any one help me how to copy content from screen(terminal) ...
0
votes
0answers
17 views

CLI tools/ways for dynamically constructed DOM structure parsing HTML Javascript

I'm planning to make a tool which recognizes HTML using DOM structure in CLI. As many sites produce many DOM elements using JavaScript these days, it's becoming difficult to extract information from ...
1
vote
0answers
11 views

How to switch between DNS suffixes using CMD (netshell)?

at my job, I have to manually switch between: 1) append primary and connection specific DNS suffixes and 2) Append parent suffixes of the primary DNS suffix a bunch of times per day (due to a ...
-2
votes
1answer
28 views

Loop Counter not working

@echo off setlocal enableextensions enabledelayedexpansion set /a eng_aud_count=0 set /a eng_sub_count=0 For /f "tokens=1-9 usebackq delims=.:^)^( skip=2" %%A in ("MY text File") do ( set trck=%%B ...
0
votes
2answers
10 views

How to download all file with name emp* using curl from a FTP site

How can I get all files downloaded from a FTP site directory with file name like emp*. Please suggest.
1
vote
1answer
34 views

Windows theme resets everytime computer is restarted after registry modification?

I had gotten bored one day and changed the colors/fonts of the command prompt, then finally i wanted to, undo this and change the color/font scheme of the windows command prompt cmd.exe back to the ...
1
vote
2answers
39 views

What is a term for an OS command? [on hold]

What is a name denoting something which executes (normally in a separate address space), accepts an input, generates output and exit code? I'd name this "Unix command", but there may be also say ...
1
vote
0answers
25 views

sed, insert file before last line

The following inserting file method for sed used to be working, even before last line, but not any more. Is it a bug in the current sed? Demo of inserting file method with sed: mkdir /tmp/test ...
0
votes
1answer
18 views

How can I check which ports are in use from the Linux command line?

I'm running a Node.JS application and need to figure out if something is using a certain port. How can I do this from the linux command line?
1
vote
1answer
28 views

Modifying the System Path variable from cmd

I am trying to modify my system Path value. I need this as I am doing an upgrade of the S/W and the users need to have access to the old and new system. I provide them with a toggle button which will ...
0
votes
0answers
13 views

Trouble streaming output from mplayer to a browser through ffmpeg, ffserve

Disclaimer: I'm the producer of the DVD used in this post, so there's no legal issue with me decoding the content :) I'm building a web-based DVD player using mplayer and ffmpeg. It's very close to ...
0
votes
0answers
27 views

Windows 7 dns resolve problems (mostly cmd)

More about the situation: I have my dns set to 8.8.8.8 and 8.8.4.4 so these are probably fine communicator (skype/facebook chat) and all four web browsers in my system have no problem with dns ...
-2
votes
0answers
13 views

Multiple Directory Creation based on domain username and set file sharing script request

I need a script that will do the following. Create multiple directories labeled by domain usernames (I'm thinking pulling the usernames from AD and add the username to each command.). In a shared ...
-1
votes
0answers
23 views

Why Ii obtain this error when I try to compile and install a software on Ubuntu 14.04?

I am not yet a Linux guy and I am going crazy trying to install a software compiling it on Ubuntu 14.04. This are the only provided instruction to install it: Debian First, make sure that ...
1
vote
1answer
37 views

crossfade between 2 videos using ffmpeg

I've been trying to achieve a crossfade transition between 2 video clips using ffmpeg but have failed so far. I'm new to ffmpeg and am mostly relying on tweaking what I can find in the documentation ...
0
votes
1answer
31 views

OSX Operation Not Permitted on Immutable flag

Anyone know super command for replacing locked .plist? I have locked desktop.plist (immutable flags) needs to replace with a new desktop.plist. Problem is unable to replace the existing .plist. I get ...
1
vote
2answers
35 views

Execute a previous command in a shell and get the command directly after

Once, a colleague of mine shown me a very useful method (shortcut?) on a shell (bash? csh?) to, after executing a previous command, automatically show the command after in history. For example, ...
-1
votes
2answers
29 views

CMD Command - Timer to acess a website

Anyone knows if its possible to add a timer do this command? I want to access a certain website in my default browser minutes after typing. start "" "http://superuser.com/" This worked but it ...
0
votes
1answer
20 views

Batch script to only run command for 1 machine

I have a Windows GPO that runs a batch file startup script to disable NetBIOS. It normally looks like this: wmic nicconfig where (TcpipNetbiosOptions!=null and TcpipNetbiosOptions!=2) call ...
4
votes
3answers
64 views

Linux: How to get current bandwidth usage from command line?

I'm looking for a good way to get the current total bandwidth usage on a linux machine, i've tried iftop, nethogs, but they doesn't show real bandwidth usage (compared to system monitor), anyway they ...
0
votes
1answer
13 views

Escape brackets when using SED

I would like to replace the value varchar(36) with char(36) in a file by using sed. I am trying with sed -i ’s/varchar(36)/char(6)/g’ calls_contacts.sql But the command does not execute. What am I ...
0
votes
1answer
25 views

CMD file for redirection of child process output

I need a batch file that receives two parameters: a command (filename with some arguments) and a path to a file - for output redirection of the command execution. I tried some variants like call %1 ...
1
vote
1answer
63 views

Line-wrapping `less` in OS X (specifically for use with 'git diff')

Using less +-S does not work (although it does ask Chop long lines (press RETURN)), and entering -S once inside less also does not work. Is there a solution? I am usig OS X Mavericks (10.9.3). ...
1
vote
0answers
17 views

I copied a folder with copy&paste instead of 'xcopy'. How to fix that?

I copied a folder (Windows Server 2003) with copy-paste instead of 'xcopy' or 'robocopy'. Now I lost the original permissions, and I can't re-do the copy process (can't access the original folder). ...
0
votes
0answers
9 views

Handle.exe creates Handle64.exe & hangs thereafter

On windows server 2008 R2 ,In a folder I have handle.exe along with psexec.exe and a batch file name test.bat with following content: psexec -s D:\data\handle.exe -p taskhost.exe > ...
2
votes
1answer
27 views

access is denied while CD a folder in Windows 98

I have a folder named Protel in Windows 98. I can normally browse it using windows explorer but when I try command cd protel from command prompt it say Access is Denied I know windows 98 has only ...
1
vote
2answers
39 views

Equivalent of (foo &>/dev/null &) in Windows shell

I'd like to run a particular application (let's call it foo) from the command line, but I don't want it holding up the terminal, putting any junk in the terminal from its output or error streams, and ...
1
vote
1answer
16 views

Upload image to postimage.org using curl

I found a script that can upload image to postimage.org using curl. It was posted not long ago, on 2013-09-06, at http://crunchbang.org/forums/viewtopic.php?id=28867. The simplified script looks like ...
1
vote
0answers
27 views

Working git from the command line

So I use Github for Windows (that fancy GUI app) to manage my various git-based projects, but I've noticed that on my machine I can't use the command line git to do anything with my projects. From the ...
0
votes
2answers
47 views

shell script to start and stop executable jar in linux environment

I have to write start and stop script for an executable jar ex. executable.jar How to do it using shell scripting? I got success to do it for Windows environment with .bat file. But not able to ...
0
votes
2answers
17 views

Creating a Python local server in Windows

I'm trying to use this commmand: python -m SimpleHTTPServer but it's not working. I'm guessing that it isn't working because I'm running that through Windows Command Prompt. How does one make ...
0
votes
0answers
34 views

Windows Server 2012 Can't Delete Folder/Files

I've got a folder with two ISO files in it and I don't need them anymore, however I can't delete the folder! I am an administrator and also the owner of the files. When I try and delete using windows ...
0
votes
1answer
23 views

Is there a way to eliminate the owner and group from `ls -l`?

I never need to see the owner and group for the files listed with ls -l (actually, ls -laF) and am wondering if there's a way to remove them from the output. So I want to change this: lrwxr-xr-x 1 ...
0
votes
0answers
19 views

Open pwd protected http stream in vlc from Linux CLI

Can anyone please advise me on how to open a pwd protected http stream from CLI in vlc? I checked out the --help and man pages, but they seem to offer only syntax for opening ftp, rmt and smb pwd ...
1
vote
2answers
24 views

Start application from a numbered list of choices

I want to display all applications dynamically within a folder in a numbered list, and launch them by entering the number associated with the application. So far I have the easy part working, the ...
0
votes
0answers
21 views

FTP.exe ls to local Output File Permission Denied on Local Network

I am trying to access a directory on my Filezilla FTP server using the ftp command in Windows from a local computer on the network, and then put a list of all those files in the directory in a text ...
0
votes
0answers
17 views

How can I open a command prompt as TrustedInstaller in Windows 8.1?

I read that "TrustedInstaller" is the new root account in Windows 8, when it was previously "SYSTEM". The SYSTEM account still exists, but it's not the highest level admin account anymore. While I can ...
0
votes
0answers
33 views

OSX terminal command not found

I'm following a guide to setup airport in monitoring mode to do my networking exercise. I've made a shortcut to airport using this command: sudo ln -s ...
-1
votes
1answer
65 views

regedit command results in “access denied” in cmd

Edit: The issue at this point is that a regular user is granted access to the registry and there is no prompt for administrative credentials whatsoever. Prior to changing permissions (See Scott's ...
0
votes
3answers
55 views

windows command prompt change directory is now changing directory

I am trying to change directory from C drive to E drive. but the its not happening through following code. C:\>cd E:\Program files\wkhtmltopdf C:\>echo %cd% C:\ It says C:\ is current ...
0
votes
2answers
36 views

curl: pass a GET request as argument

Heroku has this nice command which allows me to use curl to download a file which works fine in UNIX: curl -o latest.dump `heroku pgbackups:url` The command in backticks yields a very long URL that ...
0
votes
1answer
34 views

Recover file overwritten with >

I was copy/pasting some commands into CMD (Windows 7) and accidentally pasted in an entire cmd history (from the Select All command). This included something along the lines of Y:/>database.mdb ...
0
votes
0answers
4 views

linux net command for osx terminal? [duplicate]

i am trying to establish a way to use the same samba net commant found on a linux distro using samba 3.x but i am unable to identify the mac version of it reference to the net command: ...
0
votes
3answers
40 views

Create .bat to do a task at a certain time

I'd like to create a .bat file in Windows 8.1 that does a task (specifically, close a program/kill a process) at a certain time. I usually use the command line (which, I believe, works as a .bat ...
2
votes
2answers
65 views

How can I execute a command and immediately quit the terminal?

It should be pretty clear what I'm trying to do: original script.sh: select blah in foo bar oof rab do cmd $blah break done Pretty basic stuff. The problem arises when I try the following: ...
1
vote
3answers
40 views

Is there anything grep does better than ack? [closed]

I started using ack a while ago and it's amazing, but still begs the question: Is there anything grep still does better than ack? Or maybe is there something grep does that ack can't do?
1
vote
1answer
28 views

Windows 7 Change Power Settings Via CMD Line

I want to change some of the settings via the command line. i found this resource which helps http://technet.microsoft.com/en-us/library/cc748940(v=ws.10).aspx but it doesn't explain how to set a ...
1
vote
1answer
25 views

Is it possible to have interactive directory tree view next to console

To anyone's knowledge, is it possible to accomplish something like the following screenshot: Ideally, I'd like to double click on a file and process the file as if I typed it directly into the ...