command line


Also found in: Dictionary, Thesaurus, Medical, Legal, Wikipedia.
Related to command line: command prompt

command line

[kə′mand ‚līn]
(computer science)
On a display screen, the space following a prompt (such as $) where a text instruction to a computer or device is typed.

command line

Software that provides a blank line and cursor on screen, allowing the user to type in instructions for immediate execution. All major operating systems (Windows, Mac, Unix, Linux, etc.) support command lines that programmers and power users can employ to perform file management operations directly and often more efficiently than by using a graphical user interface (GUI). After typing a command, it is executed by pressing the Enter key.

Windows Examples
There are numerous Windows commands in this encyclopedia, and two examples follow. To do these operations in Windows Explorer or a Windows-based Pkzip utility would take numerous mouse clicks. See Windows commands.

Command             Operation Performedcopy *.html d:\abc  Copy HTML files to
                     ABC folder in D drive

 pkzip xyz *.jpg     Compress all JPEG
                     files into the Zip
                     archive XYZ.ZIP.


Interactive or Sequential
Commands can be executed one at a time by typing the command and pressing Enter. They can also be executed as a group, in which case the commands are typed into a "batch" or "script" file. The file name is typed on the command line, and pressing Enter causes each command to be executed in order. See batch file abc's, cmd abc's, command processor and PowerShell.


Windows Command Line
After the command prompt was launched, the command cd /stage switches focus to the STAGE folder. The dir *.cmd lists all the Windows batch files, and prepnew executes the commands in the prepNEW.cmd file.







Mac/Unix/Linux Command Line
This example from Mac OS X, which is a Unix-based operating system, shows two commands issued after the command line ("terminal window") was launched. The cd desktop switches focus to the desktop, and ls X* lists all files that begin with upper case "X."
References in periodicals archive ?
The latest release of PGP Command Line builds on what we already provide today with the PGP(R) Encryption Platform -- multiple layers of security to protect every part of an organizations' business.
PGP executives say that Command Line will be rolled out in coming months for additional IBM series, like the OS/400, as well as Red Hat Enterprise Linux.
Once Yahoo pops onto your screen, you'll see another command line.
This can make adding automated OCR processes as simple as inserting one more command line to a script.
Enterprises can now use PGP Command Line to address those risks and protect the integrity of their business and brand.
A command line script is utilized to perform daily, weekly, or monthly backups.
RuleSets specify PGP command line encryption and decryption parameters, optional external command-line utilities to edit, load or convert data and delivery specifications.
Windows 7 and Vista guide to scripting, automation, and command line tools.
Flare also delivers features to customize the authoring environment, open multiple documents simultaneously for easy cross-editing, design browse sequences visually with simple drag-and-drop, use the command line to compile output, and take advantage of auto-numbering.
Future FullArmor products will enable customers to navigate and modify Group Policy settings directly from the command line and using scripts.
1 includes comprehensive new support for Windows PowerShell[TM] the new Windows command line shell and scripting language released today by Microsoft Corporation.