Meta tags:
Headings (most frequently used words):
command, line, interfaces, in, option, usage, conventions, history, shell, cli, other, operating, system, systems, interface, contents, comparison, to, graphical, user, types, anatomy, of, interpreter, scripting, see, also, notes, references, external, links, application, and, resource, protection, prompt, arguments, built, help, description, syntax, the, space, character, early, modern, as, an, abbreviating, commands, dos, windows, os, unix, like,
Text of the page (most frequently used words):
the (587), command (258), and (218), line (137), for (105), from (90), shell (85), commands (71), with (69), dos (66), #system (63), user (62), #interface (59), windows (55), can (54), are (53), help (51), systems (51), retrieved (47), operating (47), prompt (46), unix (46), program (44), may (43), archived (43), that (42), original (42), this (41), used (41), also (40), file (39), such (38), edit (35), cli (35), like (35), programs (34), one (33), other (32), which (31), options (31), use (30), some (28), interpreter (28), parameter (26), not (26), arguments (25), name (24), example (23), often (22), interfaces (21), com (21), display (21), many (21), was (20), more (20), 2024 (20), parameters (20), option (20), text (19), available (19), computer (19), list (19), all (18), but (18), these (18), gui (18), support (17), shells (17), will (17), language (16), time (16), graphical (16), how (16), default (16), files (16), its (16), their (16), two (16), using (15), articles (15), history (15), environment (15), syntax (15), has (15), bash (15), users (15), they (15), when (15), output (15), most (15), character (15), have (15), software (14), microsoft (14), exe (14), first (14), information (14), only (14), 2021 (13), long (13), set (13), path (13), switch (13), 2017 (13), run (13), characters (13), 2026 (12), external (12), programming (12), argument (12), input (12), called (12), clis (12), about (11), additional (11), 2025 (11), different (11), interpreters (11), embedded (11), usage (11), provides (11), directory (11), computers (11), multics (11), typically (11), interactive (11), versions (11), 2013 (10), mode (10), terminal (10), ibm (10), linux (10), via (10), version (10), variable (10), were (10), uses (10), allow (10), based (10), lines (10), batch (10), early (10), operator (10), data (10), setting (10), case (10), wikipedia (9), scripting (9), where (9), access (9), process (9), features (9), since (9), conventions (9), specific (9), than (9), well (9), another (9), either (9), usually (9), same (9), scripts (9), include (9), names (9), current (9), hyphen (9), languages (8), search (8), references (8), dir (8), console (8), standard (8), general (8), space (8), screen (8), advanced (8), cpi (8), part (8), built (8), allows (8), internal (8), been (8), provide (8), bourne (8), cmd (8), although (8), should (8), sometimes (8), under (7), page (7), sources (7), needing (7), ssh (7), type (7), kernel (7), guide (7), pages (7), style (7), learn (7), letters (7), while (7), see (7), basic (7), before (7), few (7), each (7), spaces (7), switchar (7), named (7), article (7), dosomething (7), unsourced (6), org (6), tools (6), development (6), format (6), documentation (6), read (6), protection (6), sharing (6), comparison (6), www (6), overview (6), 2016 (6), source (6), web (6), 2015 (6), launch (6), pouzin (6), paul (6), matthias (6), gnu (6), 2019 (6), python (6), string (6), displayed (6), after (6), various (6), etc (6), application (6), feature (6), then (6), through (6), without (6), form (6), might (6), those (6), cases (6), own (6), processor (6), dcl (6), introduced (6), means (6), switches (6), single (6), given (6), required (6), valid (6), accept (6), changed (6), convention (6), indicate (6), replaced (6), citations (6), abbreviated (6), foo (6), toggle (5), contents (5), inc (5), reliable (5), july (5), description (5), interaction (5), control (5), management (5), date (5), sys (5), move (5), mkdir (5), terminals (5), powershell (5), man (5), library (5), reference (5), cisco (5), android (5), later (5), server (5), keyboard (5), 4dos (5), pdf (5), including (5), provided (5), mit (5), rather (5), what (5), must (5), brackets (5), script (5), applications (5), browser (5), typing (5), alternative (5), could (5), interpret (5), commonly (5), several (5), zsh (5), apple (5), macos (5), tcsh (5), main (5), needed (5), teleprinter (5), optional (5), end (5), message (5), separated (5), keyword (5), sensitive (5), parsing (5), specified (5), note (5), developers (4), cs1 (4), clarification (4), june (4), too (4), short (4), variables (4), print (4), find (4), start (4), replace (4), utilities (4), api (4), memory (4), resource (4), just (4), links (4), tty (4), 2014 (4), google (4), configuration (4), release (4), openharmony (4), posix (4), link (4), louis (4), isbn (4), brian (4), open (4), txt (4), online (4), extension (4), dec (4), prompts (4), freedos (4), functions (4), programmer (4), older (4), digital (4), machine (4), angle (4), there (4), invoked (4), number (4), known (4), functionality (4), being (4), directly (4), passed (4), devices (4), teletype (4), dialog (4), between (4), take (4), rexx (4), supplied (4), function (4), unique (4), itself (4), interpreted (4), similar (4), others (4), environments (4), ported (4), machines (4), ksh (4), sub (4), services (4), openvms (4), separate (4), ash (4), powerful (4), challenged (4), around (4), both (4), common (4), however (4), corresponding (4), level (4), order (4), execute (4), visual (4), local (4), keywords (4), any (4), abbreviations (4), tso (4), minus (4), mean (4), filename (4), remove (4), please (4), adding (4), needs (4), prog (4), send (4), ends (4), special (4), liquidprompt (4), theme (4), enter (4), running (4), executable (4), developed (4), types (4), hide (4), sidebar (4), add (3), topic (3), view (3), contact (3), agree (3), september (3), categories (3), german (3), maint (3), deprecated (3), archival (3), service (3), statements (3), august (3), computing (3), php (3), qbasic (3), debug (3), ping (3), netstat (3), net (3), hostname (3), processes (3), copy (3), builtins (3), alias (3), sort (3), processing (3), write (3), talk (3), network (3), virtual (3), device (3), real (3), object (3), oriented (3), enough (3), personal (3), 2003 (3), 2018 (3), ios (3), toolbox (3), cite (3), 2010 (3), 2008 (3), manual (3), group (3), issue (3), 1997 (3), mpdostip (3), tips (3), comprehensive (3), controls (3), 2006 (3), export (3), rom (3), ram (3), 1998 (3), changes (3), ps1 (3), 978 (3), yet (3), monitor (3), supported (3), notes (3), referred (3), game (3), perform (3), present (3), purpose (3), redirection (3), adventure (3), entered (3), editing (3), processors (3), hand (3), box (3), further (3), particular (3), implement (3), facilities (3), written (3), addition (3), allowing (3), subsystem (3), almost (3), includes (3), least (3), mks (3), pts (3), compatible (3), superuser (3), modern (3), guis (3), did (3), macintosh (3), always (3), business (3), began (3), bbc (3), concept (3), had (3), 1964 (3), menus (3), model (3), call (3), mechanisms (3), dedicated (3), way (3), term (3), sequence (3), because (3), them (3), separator (3), describe (3), accepted (3), newer (3), depending (3), even (3), delimiter (3), actions (3), icons (3), listing (3), values (3), following (3), examples (3), popular (3), new (3), identify (3), create (3), section (3), material (3), removed (3), improve (3), programmed (3), higher (3), defined (3), value (3), returned (3), whereas (3), change (3), together (3), taperdr (3), bar (3), meaning (3), directories (3), begin (3), simply (3), effect (3), follow (3), item (3), into (3), here (3), ready (3), modify (3), instance (3), modes (3), people (3), menu (3), executing (3), semantics (3), considered (3), rules (3), operations (3), found (3), anatomy (3), over (3), communication (3), strictly (3), speaking (3), explorer (3), subsection (3), table (2), mobile (2), statement (2), code (2), privacy (2), policy (2), terms (2), apply (2), you (2), non (2), organization (2), wikimedia (2), commons (2), license (2), last (2), edited (2), lacking (2), 2012 (2), wikidata (2), architecture (2), index (2), title (2), databases (2), miscellaneous (2), boot (2), echo (2), cscript (2), choice (2), edlin (2), registry (2), kill (2), exit (2), diskpart (2), disk (2), pax (2), expand (2), rmdir (2), rename (2), deltree (2), navigation (2), true (2), make (2), wait (2), strings (2), dirname (2), live (2), supporting (2), concepts (2), tape (2), attribute (2), fault (2), ring (2), error (2), next (2), preemptive (2), context (2), module (2), driver (2), distributed (2), engineering (2), technet (2), david (2), march (2), 1983 (2), duckduckgo (2), emulator (2), strange (2), juniper (2), primary (2), bookstack (2), compatibility (2), github (2), mksh (2), years (2), multicians (2), origin (2), 1984 (2), pike (2), rob (2), kernighan (2), key (2), describing (2), chapter (2), und (2), tricks (2), symbolic (2), instruction (2), sid86 (2), cci (2), 2002 (2), stdin (2), report (2), stdout (2), bin (2), dev (2), kasibatla (2), saketh (2), medleri (2), hiremath (2), kiran (2), rothkopf (2), raven (2), lerner (2), sorin (2), xia (2), haijun (2), hempel (2), university (2), california (2), san (2), diego (2), caldera (2), extended (2), java (2), risc (2), 2011 (2), expert (2), nwdostip (2), internals (2), author (2), 2001 (2), novell (2), added (2), 1982 (2), 2020 (2), research (2), sid (2), second (2), 2023 (2), opensource (2), your (2), mac (2), approach (2), evolution (2), internet (2), replaceable (2), teletypes (2), whirlwind (2), contentstack (2), ascii (2), notable (2), selected (2), additionally (2), specifying (2), invoke (2), eval (2), directive (2), during (2), purposes (2), games (2), apps (2), website (2), url (2), field (2), meant (2), document (2), editors (2), editor (2), helper (2), documents (2), processed (2), internally (2), heavily (2), presenting (2), serve (2), piping (2), filters (2), normal (2), streams (2), get (2), action (2), emacs (2), modeled (2), sense (2), alternate (2), latest (2), ruby (2), perl (2), execution (2), within (2), design (2), routers (2), configured (2), third (2), native (2), tclsh (2), latter (2), implementations (2), recent (2), 4nt (2), down (2), three (2), packages (2), less (2), csh (2), cygwin (2), korn (2), contains (2), plus (2), distributions (2), now (2), until (2), released (2), microcomputers (2), micro (2), ability (2), ctss (2), asr (2), vt52 (2), lights (2), communicate (2), punched (2), stored (2), ini (2), very (2), requires (2), know (2), much (2), ambiguous (2), minimize (2), need (2), quotes (2), cause (2), distinct (2), place (2), underscores (2), notice (2), vertical (2), items (2), small (2), instead (2), disabled (2), jobs (2), query (2), pseudo (2), setdos (2), calling (2), therefore (2), themselves (2), providing (2), question (2), would (2), above (2), hardwired (2), able (2), request (2), paths (2), entering (2), cues (2), global (2), append (2), specify (2), lib (2), pass (2), direct (2), lpt (2), rdos (2), positional (2), documented (2), 360 (2), cms (2), target (2), 4690 (2), 4680 (2), flexos (2), except (2), mainly (2), treated (2), useful (2), begins (2), getopt (2), word (2), frequently (2), followed (2), ports (2), forward (2), slash (2), unless (2), rxdos (2), pre (2), override (2), combined (2), whitespace (2), thus (2), allowed (2), automatic (2), idea (2), shortened (2), words (2), abbreviating (2), parse (2), members (2), procedure (2), listfile (2), remain (2), modifies (2), whose (2), sorted (2), size (2), ownership (2), owner (2), widely (2), entire (2), wants (2), operation (2), require (2), does (2), handle (2), jstor (2), scholar (2), books (2), newspapers (2), news (2), colors (2), displays (2), symbol (2), right (2), issuing (2), obtained (2), elements (2), working (2), sessions (2), component (2), supports (2), authorized (2), grouped (2), series (2), among (2), modifying (2), range (2), executables (2), os2 (2), executed (2), redirect (2), tofiles (2), outputfile (2), results (2), saved (2), complex (2), once (2), again (2), simple (2), enable (2), grammar (2), define (2), proprietary (2), possible (2), param1 (2), paramn (2), launched (2), content (2), administrators (2), citation (2), resources (2), folder (2), kornshell (2), traditional (2), implementation (2), pcs (2), schroeder (2), paper (2), hardware (2), evolved (2), cave (2), matlab (2), inter (2), shell32 (2), dll (2), rsx (2), alternatives (2), manuals (2), review (2), compared (2), desktop (2), interacting (2), physical (2), cards (2), screenshot (2), appearance (2), upload (2), english (2), bahasa (2), log (2), account (2), donate (2), cookie, statistics, conduct, legal, safety, contacts, disclaimers, site, registered, trademark, profit, foundation, creative, attribution, sharealike, rendered, parsoid, utc, hidden, dmy, dates, february, techniques, human, https, line_interface, oldid, 1374814806, czech, republic, national, authority, dpath, cls, wsl, exe2bin, break, fixmbr, fixboot, bootsect, bootcfg, bcdedit, wmic, winsat, winmgmt, wevtutil, wecutil, wbadmin, w32tm, typeperf, tracerpt, tpmvscmgr, tpmtool, systeminfo, sxstrace, sfc, relog, reagentc, pnputil, pnpunattend, pentnt, ntbackup, msiexec, mofcomp, logman, gpupdate, gpresult, eventtriggers, eventcreate, driverquery, dispdiag, dism, auditpol, maintenance, care, winrs, winrm, tracert, keyscan, keygen, agent, sftp, setspn, scp, route, rpcping, pathping, nslookup, netsh, nbtstat, ipconfig, getmac, curl, bitsadmin, arp, networking, timeout, rem, pause, goto, forfiles, doskey, clip, findstr, comp, whoami, ver, setx, setver, graftabl, cmdkey, chcp, regsvr32, regini, reg, ftype, assoc, tasklist, taskkill, shutdown, schtasks, runas, vssadmin, vol, scandisk, subst, refsutil, mscdex, manage, bde, label, fsutil, fdisk, drvspace, diskshadow, diskraid, diskcopy, diskcomp, defrag, convert, chkdsk, tar, makecab, extract, extrac32, archiving, xcopy, takeown, robocopy, ren, recover, openfiles, mklink, icacls, erase, del, compact, cipher, cacls, attrib, tree, pushd, popd, chdir, recovery, ecosystem, sus2008, false, sleep, expr, cal, yacc, strip, lex, ctags, grep, searching, unset, test, xargs, uniq, troff, tail, sed, printf, patch, paste, join, iconv, head, fold, diff, cut, csplit, comm, basename, awk, who, uname, tput, mesg, logname, env, nice, crontab, umask, touch, tee, split, pwd, fuser, cmp, cksum, chgrp, chown, chmod, chattr, cat, pxe, usb, hal, partition, journal, inode, defragmentation, loader, storage, segmentation, paging, bus, shortest, job, round, robin, multilevel, feedback, queue, fixed, priority, scheduling, algorithms, thread, block, ipc, interrupt, cooperative, multitasking, loadable, components, unikernel, rump, vkernel, multikernel, monolithic, microkernel, hybrid, exokernel, architectures, supercomputer, hobbyist, variants, share, timeline, forensic, database, hunter, patersontech, 2000, softalk, roots, jquery, goodness, fundamentals, 15m, shell介绍, 华为鸿蒙操作系统, 开发者文档, 书栈网, third_party_toybox, googlesource, master, platform, git, wilcox, joe, betanews, remembering, englewood, cliffs, 937699, prentice, hall, 2005, product, miscellany, base, specifications, utility, 1991, drdostip, für, debugger, hlp, concurrent, multiuser, gold, frinke, axel, preliminary, freekeyb, international, info, cpifile, ega, rpt, raw, psf0, ched, asm, hex, codepage, mkeyb, whatsnew, bat, delete, brothers, hardin, dye, charles, georgiev, luchezar, conn, rex, rawson, tom, geeksforgeeks, w3schools, nguyen, dows, 1992, 125, acorn, limited, parker, steve, choosing, indianapolis, usa, 262, four, p52, p53, ps4, stands, 111816632, john, wiley, sons, recipes, work, undocumented, larger, zip, collection, maintained, sites, points, html, converted, opendos, 157, nwdos, rund, blick, auf, undokumentierte, details, bugs, workarounds, retyped, emmanuel, roche, sid86ug, ws4, 1978, 595, 2549, january, 56592, 347, reilly, media, learning, tutorials, cloudfoundry, jasongerend, jason, handbook, 2009, singh, amit, addison, wesley, professional, 270226, kass, jones, developerworks, mazières, fall, 2004, stanford, science, department, seven, metz, cade, wired, say, bonjour, lost, french, uncle, 2007, notion, having, tightly, integrated, tends, attributed, edwards, benj, geek, why, computerhistory, day, museum, historical, insight, cas, configuring, commandline, 2022, sqlite, exception, art, difference, italic, supply, italics, problem, dump, already, gemsid, beginning, loop, mod, debugging, cheating, skipping, parts, video, libraries, standalone, bigger, javascript, domain, detects, whether, triggered, normally, placed, window, relies, stderr, relied, bottom, look, returns, describes, sees, makes, happen, piece, book, douglas, adams, fiction, hitchhiker, galaxy, king, quest, minibuffer, buffer, bit, intel, calculators, opens, dbase, construct, conversely, notably, flexible, highly, customised, employing, jython, extents, albeit, variously, termed, incorporate, engines, plan, junos, oniro, party, attached, kal, abi, alongside, exec, hongmeng, musl, libc, harmonyos, xlnt, lua, wish, tcl, derivatives, copies, extensions, arcaos, ecomstation, identical, namely, pocketdos, stripped, times, acceler8, lite, interoperability, psh, rsh, hamilton, uwin, toolkit, along, compiled, interix, activeperl, activestate, kit, clones, sisne, replaces, derived, supplemented, binary, busybox, previously, freebsd, exclusively, seriously, majority, 1995, geos, lisa, parc, home, arrived, borrow, globbing, commodore, pet, 1970s, adapted, capability, save, acted, custom, pipe, building, earlier, simpler, better, purely, graphics, pictures, 1960s, onwards, primarily, initially, crt, earliest, relying, adequate, ran, acting, advantage, low, overhead, tested, reader, punch, os2user, presentation, manager, mechanism, extproc, facilitate, passing, reside, efficient, terse, applied, designed, kind, interpretation, stream, think, really, runs, satisfy, aspects, shaped, longpath, longprogramname, parameterone, parametertwo, long_path, long_program_name, parameter_one, parameter_two, areas, particularly, problems, incompatible, ambiguity, prevented, prohibiting, substituting, enclosing, quote, backslash, escape, meanings, omitted, confusing, literal, likely, bars, ellipses, source1, source2, dest, repeated, square, employ, family, dynamically, generated, individually, reenabled, besides, quick, underlying, ndos, detailed, necessary, accepts, vt100, 11sj, scenarios, fashion, status, vice, versa, assuming, levels, giving, verbosity, give, mark, longer, desirable, lead, exemplified, determine, reliably, misinterpret, regardless, hope, hazardous, criticisms, lack, contrast, inform, overcome, limitation, came, insensitive, macro, assembler, symbols, skipped, printer, aos, truncated, inside, parentheses, substring, comma, equal, signs, exists, retained, olddate, left, parenthesis, conversational, remaining, inner, double, minuses, prefix, descriptive, getopts, sudo, hyphens, old, still, letter, subsequent, retrieving, prevalent, 3700h, mentioned, datalight, return, reenable, loaded, thereby, serving, clue, reflected, screens, token, portable, config, tsrs, int, 21h, switchchar, incorrect, ffilename, indicated, below, permitting, uniquely, abbreviation, aliases, appears, derive, strg, stringrange, declare, initial, strung, delete_iacl_dir, lgsj, long_subject, forum, tab, completion, offered, datasets, pds, listc, listcat, dsn, dsname, ful, fulldate, every, created, april, 1980, whole, largest, smallest, instruct, representative, samples, relating, illustrate, varies, requirement, tell, determined, commas, separators, preceded, flag, coming, handling, expose, argv, tells, active, started, destinations, alter, illustrating, remote, connection, state, sensors, colorful, unicode, ansi, lot, powerline, pureship, jolly, preceding, star, side, location, entry, justified, rprompt, host, work_dir, affect, changing, produces, floppy, drives, explicitly, informative, visually, pleasing, distinguish, nesting, tokens, definition, displaying, root, terminology, derivative, readiness, literally, hard, reset, redirects, flagship, certain, enhanced, privileges, analogous, uid, installation, controlled, apf, authorised, facility, mvs, hierarchy, association, security, traverse, point, accessible, exits, enters, restrict, workalikes, things, prohibits, contain, permissible, restricting, shareware, limit, printing, administrator, restricted, appear, equivalent, containing, searched, ordering, opposite, renaming, works, favourite, mdos, permission, objects, act, telling, overwrite, creates, becomes, pipeline, quietly, verbosely, adverb, verb, inputfile, sourcefile, destinationfile, forms, unlike, button, self, documenting, stating, exactly, done, customize, assigning, represent, full, compile, install, creating, entity, advantages, figure, out, defaults, typed, terminated, textual, messages, validate, optionally, capture, sufficiently, anything, generally, consisting, vendor, defines, dictate, navigates, performed, represents, networks, nortel, delimiters, universal, newline, depend, upon, delivered, classes, searches, matching, recognized, contextual, cue, expected, param2, param3, pattern, consider, discuss, subheadings, condensing, splitting, navigate, comfortably, programmers, scientific, technically, disabilities, responses, refreshable, braille, whenever, large, vocabulary, queries, coupled, wide, arbitrary, rapidly, pure, insufficient, dialects, rapid, evaluation, lisp, forth, remotely, logging, catalina, darwin, november, formerly, codenamed, offer, mingw, framework, monad, 1980s, 1990s, introduction, saw
Text of the page (random words):
l unix shells with their proprietary object oriented net framework mingw and cygwin are open source packages for windows that offer a unix like cli microsoft provides mks inc s ksh implementation mks korn shell for windows through their services for unix add on since 2001 the macintosh operating system macos has been based on a unix like operating system called darwin 12 on these computers users can access a unix like command line interface by running the terminal emulator program called terminal which is found in the utilities sub folder of the applications folder or by remotely logging into the machine using ssh z shell is the default shell for macos bash tcsh and the kornshell are also provided before macos catalina bash was the default usage edit a cli is used whenever a large vocabulary of commands or queries coupled with a wide or arbitrary range of options can be entered more rapidly as text than with a pure gui this is typically the case with operating system command shells clis are also used by systems with insufficient resources to support a graphical user interface some computer language systems such as python 13 forth lisp rexx and many dialects of basic provide an interactive command line mode to allow for rapid evaluation of code clis are often used by programmers and system administrators in engineering and scientific environments and by technically advanced personal computer users citation needed clis are also popular among people with visual disabilities since the commands and responses can be displayed using refreshable braille displays anatomy of a shell cli edit this section may be too long to read and navigate comfortably consider splitting content into sub articles condensing it or adding subheadings please discuss this issue on the article s talk page june 2026 the general pattern of a command line is 14 15 prompt command param1 param2 param3 paramn prompt output by the program to indicate that its ready for input a prompt may include contextual information and often ends with a symbol that provides a visual cue that input is expected command input by the user a command is usually one of two classes internal commands are recognized and processed by the command line interpreter internal commands are also called built in commands 16 external commands run executables found in separate executable files the command line interpreter searches for executable files with names matching the external command 17 18 param1 paramn parameters provided by the user the format and meaning of the parameters depend upon the command in the case of external commands the values of the parameters are delivered to the program as it is launched by the os parameters may be either arguments or options in this format the delimiters between command line elements are whitespace characters and the end of line delimiter is the newline delimiter this is a widely used but not universal convention a command line interface can generally be considered as consisting of syntax and semantics the syntax is the grammar that all commands must follow in the case of operating systems dos and unix each define their own set of rules that all commands must follow in the case of embedded systems each vendor such as nortel juniper networks or cisco systems defines their own proprietary set of rules these rules also dictate how a user navigates through the system of commands the semantics define what sort of operations are possible on what sort of data these operations can be performed and how the grammar represents these operations and data the symbolic meaning in the syntax two different clis may agree on either syntax or semantics but it is only when they agree on both that they can be considered sufficiently similar to allow users to use both clis without needing to learn anything as well as to enable re use of scripts a simple cli will display a prompt accept a command line typed by the user terminated by the enter key then execute the specified command and provide textual display of results or error messages advanced clis will validate interpret and parameter expand the command line before executing the specified command and optionally capture or redirect its output unlike a button or menu item in a gui a command line is typically self documenting 19 stating exactly what the user wants done in addition command lines usually include many defaults that can be changed to customize the results useful command lines can be saved by assigning a character string or alias to represent the full command or several commands can be grouped to perform a more complex sequence for instance compile the program install it and run it creating a single entity called a command procedure or script which itself can be treated as a command these advantages mean that a user must figure out a complex command or series of commands only once because they can be saved to be used again the commands given to a cli shell are often in one of the following forms dosomething how tofiles dosomething how sourcefile destinationfile dosomething how inputfile outputfile dosomething how dosomething how dosomething how outputfile where dosomething is in effect a verb how an adverb for example should the command be executed verbosely or quietly and tofiles an object or objects typically one or more files on which the command should act the in the third example is a redirection operator telling the command line interpreter to send the output of the command not to its own standard output the screen but to the named file this will overwrite the file using will redirect the output and append it to the file another redirection operator is the vertical bar which creates a pipeline where the output of one command becomes the input to the next command 20 cli and resource protection edit on some systems such as unix like systems or windows one can modify the set of available commands by modifying which paths appear in the path environment variable or its equivalent on unix like systems the file containing the executable or script for a command also needs to be given execute permission the directories in the path variable are searched in the order they are given by re ordering the path one can run e g os2 mdos e exe instead of os2 e exe when the default is the opposite renaming of the executables also works people often rename their favourite editor to edit for example the command line allows one to restrict available commands such as access to advanced internal commands the bourne shell and workalikes such as bash can be run as a restricted shell among other things this prohibits the user from modifying the path environment variable so that if path is set to include only directories that contain only permissible commands the user will only be able to run those commands the windows cmd exe also supports restricting available commands often shareware programs will limit the range of commands including printing a command your administrator has disabled running batch files from the prompt clarification needed some clis such as those in network routers have a hierarchy of modes with a different set of commands supported in each mode the set of commands are grouped by association with security system interface etc in these systems the user might traverse through a series of sub modes for example if the cli had two modes called interface and system the user might use the command interface to enter the interface mode at this point commands from the system mode may not be accessible until the user exits the interface mode and enters the system mode in ibm s flagship mvs operating systems the authorised program facility apf allows certain authorized programs to run with enhanced privileges analogous to uid 0 in unix like systems tso e supports calling e g authorized commands but only for those commands programs and services in an installation controlled list command prompt edit command prompt redirects here for the windows component named command prompt see cmd exe prompt of a bbc micro after switch on or hard reset a command prompt or just prompt is a sequence of one or more characters used in a command line interface to indicate readiness to accept commands it literally prompts the user to take action a prompt usually ends with one of the characters 21 22 or 23 and often includes other information such as the path of the current working directory and the hostname on many unix and derivative systems the prompt commonly ends in or if the user is a normal user but in if the user is a superuser root in unix terminology end users can often modify prompts depending on the environment they may include colors special characters and other elements like variables and functions for the current time user shell number or working directory in order for instance to make the prompt more informative or visually pleasing to distinguish sessions on various machines or to indicate the current level of nesting of commands on some systems special tokens in the definition of the prompt can be used to cause external programs to be called by the command line interpreter while displaying the prompt in dos command com and in windows nt s cmd exe users can modify the prompt by issuing a prompt command or by directly changing the value of the corresponding prompt environment variable the default of most modern systems the c style is obtained for instance with prompt p g the default of older dos systems c is obtained by just prompt although on some systems this produces the newer c style unless used on floppy drives a or b on those systems prompt n g can be used to override the automatic default and explicitly switch to the older style many unix systems feature the ps1 variable prompt string 1 24 although other variables also may affect the prompt depending on the shell used in the bash shell a prompt of the form time user host work_dir could be set by issuing the command export ps1 t u h w in zsh the rprompt variable controls an optional prompt on the right hand side of the display it is not a real prompt in that the location of text entry does not change it is used to display information on the same line as the prompt but right justified in risc os the command prompt is a symbol and thus os cli commands are often referred to as star commands 25 one can also access the same commands from other command lines such as the bbc basic command line by preceding the command with a in ibm s tso the command prompt is referred to as the ready prompt after the word ready in the prompt example of prompt system displays all the information that can be displayed by the liquidprompt command prompt system here using its jolly theme liquidprompt display example using its default theme liquidprompt display example using its pureship theme liquidprompt display example using its powerline theme some shells such as bash zsh and powershell allow the use of prompt systems that display a lot more information in the command prompt like the type of remote connection the state of machine sensors or additional information about a version control system they often use several ansi colors unicode characters and advanced shell features to set up a colorful display arguments edit this article needs more citations please help improve this article by adding citations to reliable sources unsourced material may be challenged and removed find sources command line interface news newspapers books scholar jstor june 2026 learn how and when to remove this message an ms dos command line illustrating parsing into command and arguments a command line argument or parameter is an item of information provided to a program when it is started 26 a program can have many command line arguments that identify sources or destinations of information or that alter the operation of the program when a command processor is active a program is typically invoked by typing its name followed by command line arguments if any for example in unix and unix like environments an example of a command line argument is rm file s file s is a command line argument which tells the program rm to remove the file named file s some programming languages such as c c and java allow a program to interpret the command line arguments by handling them as string parameters in the main function 27 28 other languages such as python expose operating system specific api functionality through the sys module 29 and in particular sys argv for command line arguments in unix like operating systems a single hyphen used in place of a file name is a special value specifying that a program should handle data coming from the standard input or send data to the standard output command line option edit a command line option or simply option also known as a flag or switch modifies the operation of a command the effect is determined by the command s program options follow the command name on the command line separated by e g commas or spaces separators are not always required such as dir and dir in dos which have the same effect 23 of listing the dir command s available options whereas dir help in many versions of unix does require the option to be preceded by at least one space and is case sensitive the format of options varies widely between operating systems in most cases the syntax is by convention rather than an operating system requirement the entire command line is simply a string passed to a program which can process it in any way the programmer wants so long as the interpreter can tell where the command name ends and its arguments and options begin a few representative samples of command line options most relating to listing files in a directory to illustrate some conventions operating system command valid alternative notes openvms directory owner dir owner instruct the directory command to also display the ownership of the files note the directory command name is not case sensitive and can be abbreviated to as few letters as required to remain unique windows dir q o s d dir q d o s display ownership of files whose names begin with d or d sorted by size smallest first note spaces around argument d are required unix like systems ls ls d ls s l d display in long format files and directories whose names begin with d but not d sorted by size largest first note spaces are required around all arguments and options but some can be run together e g ls is the same as l s data general rdos cli list e s 04 26 80 b list s e 4 26 80 b list every attribute for files created before 26 april 1980 note the b at the end of the date argument is a local switch that modifies the meaning of that argument while s and e are global switches i e apply to the whole command vm cms cli listfile fulldate l ful includes the date the file was last written in the list note the listfile command name is not case sensitive and can be abbreviated to as few letters as required to remain unique os 360 operator commands start taperdr dsname foo bar s taper...
|