Comparison of command shells explained

A command shell is a command-line interface to interact with and manipulate a computer's operating system.

General characteristics

ShellUsual environmentUsually invokedIntroducedPlatform-independentDefault login shell inDefault script shell inLicenseSource code availabilityUser interfaceMouse supportUnicode supportISO 8601 supportConsole redirectionStream redirectionConfigurabilityStartup/shutdown scriptsBatch scriptsLoggingAvailable as statically linked, independent single file executable
Thompson shellUNIXsh1971UNIXUNIXText-based CLI
Bourne shell 1977 version7th Ed. UNIXsh19777th Ed. UNIX7th Ed. UNIX,Text-based CLI
Bourne shell current versionVarious UNIXsh1977SunOS-5.x, FreeBSDSunOS-5.xText-based CLI[1] [2]
POSIX shell[3] POSIXsh1992[4] POSIXText-based CLIUnspecified (given as an example)
bash (v4)POSIXbash, sh1989[5] GNU, Linux (default for root), macOS 10.3–10.14GNU, Linux, Haiku, macOS 10.3–10.14Text-based CLI[6]
cshPOSIXcsh1978SunOSText-based CLI
tcshPOSIXtcsh, csh1983[7] FreeBSD (former default for root),[8] formerly Mac OS XText-based CLI
Hamilton C shellWin32, OS/2csh1988[9] (OS/2 version no longer maintained)Text-based CLI
ScshPOSIXscsh1994
ksh (ksh93t+)POSIXksh1983[10] [11] AIX, HP-UXOpenSolarisText-based CLI
pdkshPOSIXksh, sh1989?OpenBSD[12] OpenBSDText-based CLI
zshPOSIXzsh1990Deepin, GoboLinux, Grml, macOS 10.15+, Kali 2020.4+Grml, macOS 10.15+Text-based CLI
ashPOSIXsh1989Minix, BusyBox based systemsNetBSD, Minix, BusyBox based systemsText-based CLI (for BusyBox, supported in command-line editing, but not in string handling[13])
CCPCP/M, MP/M(CCP)1976 (1974)CP/M (no login), MP/MCP/M, MP/M (originally closed-source)Text-based CLI (automatic via) (only via external command to update)
COMMAND.COMDOSCOMMAND1980 (3rd party implementations, not bound to a specific DOS vendor or version, available)DOS, Windows 95, 98, SE, MEDOS, Windows 95, 98, SE, MEvendor specific, f.e. MS-EULA,[14] or BSD/GPL (free clones) (except for OpenDOS, DR-DOS, PTS/DOS and FreeDOS)Text-based CLI (except for DR-DOS) (via or) (via startup parameters and environment variables, DR-DOS also supports user-default switch command) (automatic for primary shell, or explicitly via, or startup options) (via command or and startup options)
OS/2 CMD.EXEOS/2, eComStation, ArcaOSCMD1987OS/2, eComStation, ArcaOSOS/2, eComStation, ArcaOS[15] Text-based CLI (only via startup option) (via command or and startup options)
Windows CMD.EXE[16] Win32CMD1993Windows NT, 2000, XP, Server 2003, VistaWindows NT, 2000, XP, Server 2003, Vista[17] Text-based CLI (for UTF-8, but program arguments are still encoded in local codepage) (via registry, startup parameters, and environment variables) (automatic via registry, or explicitly via startup option) (via command or and startup options)
4DOS, NDOSDOS, Windows 95, 98, SE, ME4DOS, NDOS1989 (1986)Text-based CLI with TUI extensions (popups, help system, internal variable, command) (via, except for,,,,,,, commands and file / directory coloring) (via / file, startup parameters, environment variables, command) (automatic for primary shell and / as well as / for any shell, or explicitly via, or startup options) (via command or and startup options)
4OS2OS/2, eComStation, ArcaOS4OS21992 (but bundled with ArcaOS)Text-based CLI (via file, startup parameters, environment variables, command) (automatic via / as well as / files, or explicitly via option) (via command or and startup options)
TCC (formerly 4NT)Win32TCC1993optionaloptionalText-based CLI (Take Command: GUI) (console mouse, popups, help system,, internal variables, command) (via registry, / file, startup parameters, environment variables, command) (automatic via registry and / as well as /, or explicitly via startup option) (via command or and startup options)
VMS DCL[18] OpenVMSAutomatically for login/interactive process1977?VMSVMSProprietary, bundled in VMSText-based CLI
PowerShell.NET,
.NET Framework
PowerShell2006Windows 10, 8, Server 2008, 7[19] Windows 10, 8, Server 2008, 7Graphical CLI
rcPlan 9, POSIXrc1989Plan 9, Version 10 UnixPlan 9, Version 10 UnixText-based CLI
BeanShellJava2005
fishPOSIXfish2005[20] GhostBSDText-based CLI
IonRedox, Linuxion2015[21] RedoxRedoxText-based CLI (not distributed as a standalone executable, but it can be built as one)
ShellUsual environmentUsually invokedIntroducedPlatform-independentDefault login shell inDefault script shell inLicenseSource code availabilityUser interfaceMouse supportUnicode supportISO 8601 supportConsole redirectionStream redirectionConfigurabilityStartup/shutdown scriptsBatch scriptsLoggingAvailable as statically linked, independent single file executable

Interactive features

ShellCommand
name
completion
Path
completion
Command
argument
completion
Wildcard
completion
Command
history
Mandatory
argument
prompt
Automatic
suggestions
Colored
directory
listings
Text
highlighting
Syntax
highlighting
Directory history, stack or similar featuresImplicit
directory
change
Auto­correctionIntegrated
environment
SnippetsValue
prompt
Menu/options
prompt
Progress
indicator
Context
sensitive
help
Command
builder
Thompson shell??
Bourne shell 1977 version??
Bourne shell current version[22] (CDPATH, pushd, popd, dirs), CDPATH since SVr4
POSIX shell
bash (v4.0)[23]
csh
tcsh
Hamilton C shell
Scsh??
ksh (ksh93t+)
pdksh
zsh[24] [25] [26]
ash
CCP
COMMAND.COM[27] [28] (only in DR-DOS through %$ON%, %$OFF%, %$HEADER%, %$FOOTER%) (only single-stepping with COMMAND /Y) (only via external command, in DR-DOS also via  / internal commands)
OS/2
CMD.EXE
Windows
CMD.EXE
(via command)
4DOS[29] [30] (via, and commands) (via function, and indirectly via a combination of,, commands) (except for command for INI file directives)
4OS2???????
TCC (formerly 4NT) (via,, and commands) (via function, and indirectly via a combination of,, commands)[31]
PowerShell[32] [33] Yes, in PSReadLine moduleYes, in ISE[34] Yes, in ISE[35] [36] , in ISE[37] , in ISE
rc[38] ??
BeanShell??
VMS DCL??
fish[39] [40]
ShellCommand
name
completion
Path
completion
Command
argument
completion
Wildcard
completion
Command
history
Mandatory
argument
prompt
Automatic
suggestions
Colored
directory
listings
Text
highlighting
Syntax
highlighting
Directory history, stack or similar featuresImplicit
directory
change
Auto­correctionIntegrated
environment
SnippetsValue
prompt
Menu/options
prompt
Progress
indicator
Context
sensitive
help
Command
builder

Background execution

Background execution allows a shell to run a command without user interaction in the terminal, freeing the command line for additional work with the shell. POSIX shells and other Unix shells allow background execution by using the & character at the end of command. In PowerShell, the Start-Process[41] or Start-Job[42] cmdlets can be used.

Completions

See main article: article and Command-line completion.

Completion features assist the user in typing commands at the command line, by looking for and suggesting matching words for incomplete ones. Completion is generally requested by pressing the completion key (often the key).

Command name completion is the completion of the name of a command. In most shells, a command can be a program in the command path (usually $PATH), a builtin command, a function or alias.

Path completion is the completion of the path to a file, relative or absolute.

Wildcard completion is a generalization of path completion, where an expression matches any number of files, using any supported syntax for file matching.

Variable completion is the completion of the name of a variable name (environment variable or shell variable).Bash, zsh, and fish have completion for all variable names. PowerShell has completions for environment variable names, shell variable names and — from within user-defined functions — parameter names.

Command argument completion is the completion of a specific command's arguments. There are two types of arguments, named and positional: Named arguments, often called options, are identified by their name or letter preceding a value, whereas positional arguments consist only of the value. Some shells allow completion of argument names, but few support completing values.

Bash, zsh and fish offer parameter name completion through a definition external to the command, distributed in a separate completion definition file. For command parameter name/value completions, these shells assume path/filename completion if no completion is defined for the command. Completion can be set up to suggest completions by calling a shell function.[43] The fish shell additionally supports parsing of man pages to extract parameter information that can be used to improve completions/suggestions. In PowerShell, all types of commands (cmdlets, functions, script files) inherently expose data about the names, types and valid value ranges/lists for each argument. This metadata is used by PowerShell to automatically support argument name and value completion for built-in commands/functions, user-defined commands/functions as well as for script files. Individual cmdlets can also define dynamic completion of argument values where the completion values are computed dynamically on the running system.

Command history

See main article: article and Command history. Users of a shell may find themselves typing something similar to what they have typed before. Support for command history means that a user can recall a previous command into the command-line editor and edit it before issuing the potentially modified command.

Shells that support completion may also be able to directly complete the command from the command history given a partial/initial part of the previous command.

Most modern shells support command history. Shells which support command history in general also support completion from history rather than just recalling commands from the history. In addition to the plain command text, PowerShell also records execution start- and end time and execution status in the command history.

Mandatory argument prompt

Mandatory arguments/parameters are arguments/parameters which must be assigned a value upon invocation of the command, function or script file. A shell that can determine ahead of invocation that there are missing mandatory values, can assist the interactive user by prompting for those values instead of letting the command fail. Having the shell prompt for missing values will allow the author of a script, command or function to mark a parameter as mandatory instead of creating script code to either prompt for the missing values (after determining that it is being run interactively) or fail with a message.

PowerShell allows commands, functions and scripts to define arguments/parameters as mandatory. The shell determines prior to invocation if there is anymandatory arguments/parameters which have not been bound, and will then prompt the user for the value(s) before actual invocation.[44]

Automatic suggestions

See main article: article and Autocomplete. Shells featuring automatic suggestions display optional command-line completions as the user types. The PowerShell and fish shells natively support this feature; pressing the key inserts the completion.

Implementations of this feature can differ between shells; for example, PowerShell[45] and zsh[46] use an external module to provide completions, and fish derives its completions from the user's command history.[47]

Directory history, stack or similar features

Shells may record a history of directories the user has been in and allow for fast switching to any recorded location. This is referred to as a "directory stack". The concept had been realized as early as 1978[48] in the release of the C shell (csh).

PowerShell allows multiple named stacks to be used. Locations (directories) can be pushed onto/popped from the current stack or a named stack. Any stack can become the current (default) stack. Unlike most other shells, PowerShell's location concept allow location stacks to hold file system locations as well as other location types like e.g. Active Directory organizational units/groups, SQL Server databases/tables/objects, Internet Information Server applications/sites/virtual directories.

Command line interpreters 4DOS and its graphical successor Take Command Console also feature a directory stack.

Implicit directory change

A directory name can be used directly as a command which implicitly changes the current location to the directory.

This must be distinguished from an unrelated load drive feature supported by Concurrent DOS, Multiuser DOS, System Manager and REAL/32, where the drive letter L: will be implicitly updated to point to the load path of a loaded application, thereby allowing applications to refer to files residing in their load directory under a standardized drive letter instead of under an absolute path.[49]

Autocorrection

When a command line does not match a command or arguments directly, spell checking can automatically correct common typing mistakes (such as case sensitivity, missing letters). There are two approaches to this; the shell can either suggest probable corrections upon command invocation, or this can happen earlier as part of a completion or autosuggestion.

The tcsh and zsh shells feature optional spell checking/correction, upon command invocation.

Fish does the autocorrection upon completion and autosuggestion. The feature is therefore not in the way when typing out the whole command and pressing enter, whereas extensive use of the tab and right-arrow keys makes the shell mostly case insensitive.

The PSReadLine PowerShell module (which is shipped with version 5.0) provides the option to specify a CommandValidationHandler ScriptBlock which runs before submitting the command. This allows for custom correcting of commonly mistyped commands, and verification before actually running the command.

Progress indicator

A shell script (or job) can report progress of long running tasks to the interactive user.

Unix/Linux systems may offer other tools support using progress indicators from scripts or as standalone-commands, such as the program "pv".[50] These are not integrated features of the shells, however.

PowerShell has a built-in command and API functions (to be used when authoring commands) for writing/updating a progress bar. Progress bar messages are sent separates from regular command outputand the progress bar is always displayed at the ultimate interactive users console regardless of whether the progress messages originates from an interactive script, from a background job or from a remote session.

Colored directory listings

JP Software command-line processors provide user-configurable colorization of file and directory names in directory listings based on their file extension and/or attributes through an optionally defined environment variable.

For the Unix/Linux shells, this is a feature of the command and the terminal.

Text highlighting

The command line processors in DOS Plus, Multiuser DOS, REAL/32 and in all versions of DR-DOS support a number of optional environment variables to define escape sequences allowing to control text highlighting, reversion or colorization for display or print purposes in commands like TYPE. All mentioned command line processors support [[%$ON%]] and [[%$OFF%]]. If defined, these sequences will be emitted before and after filenames. A typical sequence for would be in conjunction with ANSI.SYS, for an ASCII terminal or for an IBM or ESC/P printer. Likewise, typical sequences for would be,,, respectively. The variables [[%$HEADER%]] and [[%$FOOTER%]] are only supported by COMMAND.COM in DR-DOS 7.02 and higher to define sequences emitted before and after text blocks in order to control text highlighting, pagination or other formatting options.

For the Unix/Linux shells, this is a feature of the terminal.

Syntax highlighting

See main article: article and Syntax highlighting. A defining feature of the fish shell is built-in syntax highlighting, As the user types, text is colored to represent whether the input is a valid command or not (the executable exists and the user has permissions to run it), and valid file paths are underlined.[51]

An independent project offers syntax highlighting as an add-on to the Z Shell (zsh).[52] This is not part of the shell, however.

PowerShell provides customizable syntax highlighting on the command line through the PSReadLine module. This module can be used with PowerShell v3.0+, and is bundled with v5.0 onwards. It is loaded by default in the command line host "powershell.exe" since v5.0.[53]

Take Command Console (TCC) offers syntax highlighting in the integrated environment.

Context sensitive help

See main article: article and Context-sensitive help.

4DOS, 4OS2, 4NT / Take Command Console and PowerShell (in PowerShell ISE) looks up context-sensitive help information when is pressed.

Zsh provides various forms of configurable context-sensitive help as part of its widget, command, or in the completion of options for some commands.

The fish shell provides brief descriptions of a command's flags during tab completion.

Programming features

ShellFunctionsException handlingSearch & replace on variable substi­tutionsArith­meticFloating pointMath function libraryLinear arrays or listsAssoc­iative arraysLambda functionseval func­tionPseudo­random number generationBytecode
Bourne shell 1977 version
Bourne shell current version
POSIX shell
bash (v4.0)
csh
tcsh
Hamilton C shell
Scsh?????
ksh (ksh93t+)
pdksh
zsh
ash (via)
CCP???
COMMAND.COM (only Auto-fail (via (or in some versions of DR-DOS))
OS/2 CMD.EXE??
Windows CMD.EXE
4DOS??
4OS2???????? (function)?
TCC (formerly 4NT)??? (function) (via command)
PowerShell (Try-Catch-Finally)[54] [55]
rc???
BeanShell???
VMS DCL
fish

String processing and filename matching

ShellString processingAlternation (Brace expansion)Pattern matching (regular expressions built-in)Pattern matching (filename globbing)Globbing qualifiers (filename generation based on file attributes)Recursive globbing (generating files from any level of subdirectories)
Bourne shell 1977 version?
Bourne shell recent version (prefix and suffix stripping in variable expansion)
POSIX shell (prefix and suffix stripping in variable expansion)
bash (v4.0) (prefix and suffix stripping in variable expansion)
csh
tcsh
Hamilton C shell
Scsh??
ksh (ksh93t+) (prefix, suffix stripping and string replacement in variable expansion)[56] (with, no following of symlinks)
pdksh?
zsh (through variable processing: e.g. substring extraction, various transformations via parameter expansion) (or to follow symlinks)
ash??
CCP
COMMAND.COM
OS/2 CMD.EXE (only in command)
Windows CMD.EXE (only through and) (only in command) (via command, or, where available, indirectly via subdir option)
4DOS (through variable functions, extended environment variable processing, various string commands and and) (via attribute and description options and size, time, date, and file exclusion ranges) (via command, or indirectly via command or, where available, subdir option)
4OS2????
TCC (formerly 4NT) (through variable functions, extended environment variable processing, various string commands and and) (via attribute and description options and size, time, date, owner, and file exclusion ranges) (via command, or indirectly via command or, where available, subdir option)
PowerShell??
rc??
BeanShell?????
VMS DCL (via)
fish

Inter-process communication

ShellPipesCommand substitutionProcess substitutionSubshellsTCP/UDP connections as streamsKeystroke stacking
Bourne shell[57]
POSIX shell
bash (v4.0)
csh
tcsh
Hamilton C shell?
Scsh???
ksh (ksh93t+)
pdksh
zsh
ash
CCP
COMMAND.COM (only under DR-DOS multitasker via)
OS/2 CMD.EXE?
Windows CMD.EXE
4DOS? (via and, or via, and and) (via and)[58]
4OS2??? (via)
TCC (formerly 4NT)? (via and) (via,,,,, and, client only) (via)
PowerShell?
rc?
BeanShell????
VMS DCL
fish

Keystroke stacking

In anticipation of what a given running application may accept as keyboard input, the user of the shell instructs the shell to generate a sequence of simulated keystrokes, which the application will interpret as a keyboard input from an interactive user. By sending keystroke sequences the user may be able to direct the application to perform actions that would be impossible to achieve through input redirection or would otherwise require an interactive user. For example, if an application acts on keystrokes, which cannot be redirected, distinguishes between normal and extended keys, flushes the queue before accepting new input on startup or under certain conditions, or because it does not read through standard input at all. Keystroke stacking typically also provides means to control the timing of simulated keys being sent or to delay new keys until the queue was flushed etc. It also allows to simulate keys which are not present on a keyboard (because the corresponding keys do not physically exist or because a different keyboard layout is being used) and therefore would be impossible to type by a user.

Security features

ShellSecure (password) promptFile/directory passwordsExecute permissionRestricted shell subsetSafe data subset
Bourne shell[59] ?[60]
POSIX shell?
bash (v4.0)?
csh?
tcsh?
Hamilton C shell
Scsh?
ksh (ksh93t+)?
pdksh?
zsh?[61]
ash?
CCP
COMMAND.COM (only under DR-DOS, prompts for password if file/directory is protected) (only under DR-DOS via syntax)[62] (only under DR-DOS, if files are password-protected for read and/or execute permission)[63]
OS/2 CMD.EXE
Windows CMD.EXE
4DOS (via or)[64] (only under DR-DOS via syntax) (only under DR-DOS, if files are password-protected for read and/or execute permission)
4OS2?
TCC (formerly 4NT) (via, or)
PowerShell[65] [66] [67] [68]
rc?[69]
BeanShell?????
VMS DCL
fish??

Secure prompt

Some shell scripts need to query the user for sensitive information such as passwords, private digital keys, PIN codes or other confidential information. Sensitive input should not be echoed back to the screen/input device where it could be gleaned by unauthorized persons. Plaintext memory representation of sensitive information should also be avoided as it could allow the information to be compromised, e.g., through swap files, core dumps etc.[70]

The shells bash, zsh and PowerShell offer this as a specific feature.[71] [72] Shells which do not offer this as a specific feature may still be able to turn off echoing through some other means. Shells executing on a Unix/Linux operating system can use the external command to switch off/on echoing of input characters.[73] In addition to not echoing back the characters, PowerShell's option also encrypts the input character-by-character during the input process, ensuring that the string is never represented unencrypted in memory where it could be compromised through memory dumps, scanning, transcription etc.

Execute permission

Some operating systems define an execute permission which can be granted to users/groups for a file when the file system itself supports it.

On Unix systems, the execute permission controls access to invoking the file as a program, and applies both to executables and scripts.As the permission is enforced in the program loader, no obligation is needed from the invoking program, nor the invoked program, in enforcing the execute permission this also goes for shells and other interpreter programs.The behaviour is mandated by the POSIX C library that is used for interfacing with the kernel. POSIX specifies that the exec family of functions shall fail with EACCESS (permission denied) if the file denies execution permission (see).

The execute permission only applies when the script is run directly. If a script is invoked as an argument to the interpreting shell, it will be executed regardless of whether the user holds the execute permission for that script.

Although Windows also specifies an execute permission, none of the Windows-specific shells block script execution if the permission has not been granted.

Restricted shell subset

Several shells can be started or be configured to start in a mode where only a limited set of commands and actions is available to the user. While not a security boundary (the command accessing a resource is blocked rather than the resource) this is nevertheless typically used to restrict users' actions before logging in.

A restricted mode is part of the POSIX specification for shells, and most of the Linux/Unix shells support such a mode where several of the built-in commands are disabled and only external commands from a certain directory can be invoked.[74] [75]

PowerShell supports restricted modes through session configuration files or session configurations. A session configuration file can define visible (available) cmdlets, aliases, functions, path providers and more.[76]

Safe data subset

Scripts that invoke other scripts can be a security risk as they can potentially execute foreign code in the context of the user who launched the initial script. Scripts will usually be designed to exclusively include scripts from known safe locations; but in some instances, e.g. when offering the user a way to configure the environment or loading localized messages, the script may need to include other scripts/files.[77] One way to address this risk is for the shell to offer a safe subset of commands which can be executed by an included script.

PowerShell data sections can contain constants and expressions using a restricted subset of operators and commands.[78] PowerShell data sections are used when e.g. localized strings needs to be read from an external source while protecting against unwanted side effects.

External links

Notes and References

  1. Since mid 1990s.
  2. if compiled with -DACCT.
  3. Book: IEEE and The Open Group . IEEE 1003.1 Standard for Information Technology – Portable Operating System Interface (POSIX): Shell and Utilities, Issue 7 . 2008.
  4. As part of IEEE Std.1003.2-1992 (POSIX.2); integrated into IEEE Std.1003.1 with the 2001 revision.
  5. Bash is in beta release!. Brian. Fox. Leonard H.. Tower Jr.. 1989-06-07. gnu.announce. 8906080235.AA01983@wheat-chex.ai.mit.edu. 2010-10-28.
  6. , "Bash now supports the \u and \U Unicode escape."
  7. Ken. Greer. C shell with command and filename recognition/completion. 1983-10-03. net.sources. 2010-12-29.
  8. Web site: FreeBSD Quickstart Guide for Linux® Users . 2024-02-04 . FreeBSD Documentation Portal . en.
  9. Sussman. Ann. Hamilton C Shell Speeds Development Of OS/2 Applications. PC Week. 1988-12-26. 1988-12-26 - 1989-01-02. 37. 2010-11-22.
  10. Ron. Gomes. Toronto USENIX Conference Schedule (tentative). 1983-06-09. net.usenix. 2010-12-29.
  11. Guy. Harris. csh question. 1983-10-10. net.flame. 2010-12-29.
  12. http://www.openbsd.org/faq/faq10.html#rootshell Default shell in OpenBSD
  13. Web site: #782228 - busybox sh doesn't support multibyte characters in string handling - Debian Bug report logs . Bugs.debian.org . 2015-04-09 . 2015-07-02.
  14. MS-DOS and Windows component – covered by a valid license for MS-DOS or Microsoft Windows.
  15. OS/2 component – covered by a valid license for OS/2.
  16. Command extensions enabled, or "CMD /X".
  17. Windows component – covered by a valid license for Microsoft Windows.
  18. Web site: HP OpenVMS DCL Dictionary. 2009-03-23. https://web.archive.org/web/20070325041517/http://h71000.www7.hp.com/doc/732FINAL/9996/9996pro_contents.html. 25 March 2007. dead.
  19. Microsoft PowerShell is installed by default on Windows 7 and later. It is an optional download for users of Windows Vista or Windows XP.
  20. Web site: Fish - The friendly interactive shell. Axel. Liljencrantz. 2005-05-17. 2013-04-08.
  21. Web site: d79c8f511573fb7710abc63b4236a40022914520. Jeremy. Soller. 2015-11-15. 2019-08-03.
  22. current versions from Jörg Schilling.
  23. Alt-Shift-8 or Alt-* will expand to the full matching list of filenames.
  24. Web site: [Z Shell] Completion System ]. Zsh.sourceforge.io . 2015-02-24.
  25. This applies only on reserved words and other syntactic features.
  26. zsh does not feature syntax highlighting, but a 3rd party project exists which offers this capability as an add-on: zsh-syntax-highlighting
  27. Available through the add-on.
  28. Available in DR-DOS through .
  29. Alternatively available through the add-on as well.
  30. Alternatively available in DR-DOS through as well.
  31. TCC has special prompt functions for Yes, No, Cancel, Close, Retry.
  32. Web site: Get-ChildItemColor. GitHub. 18 March 2022.
  33. Web site: Write-Host (Microsoft.PowerShell.Utility) - PowerShell. sdwheeler. docs.microsoft.com. 18 January 2022.
  34. Web site: Windows PowerShell Integrated Scripting Environment (ISE) . Microsoft Technet . 2015-09-12.
  35. The $host.ui.PromptForChoice function allows for a menu-style prompt for choices. The prompt works from background jobs as well as from remote sessions, displaying the menu prompt on the console of the controlling session.
  36. The cmdlet writes a progress bar which can indicate percentage, remaining seconds etc. The progress bar messages work from background jobs or remote sessions in addition to interactive scripts, i.e. the progress bar is displayed on the console of the controlling session, not as part of the regular output.
  37. The cmdlet inspects the command definition and opens an interactive windows with a named input field for each parameter/switch
  38. Handled by rio, GNU readline, editline or vrl.
  39. Web site: fish: Documentation . Section Tab completion . 2016-01-10.
  40. The fish shell is an interactive character based input/output surface.
  41. Web site: sdwheeler . Start-Process (Microsoft.PowerShell.Management) - PowerShell . 2022-10-21 . learn.microsoft.com . en-us.
  42. Web site: sdwheeler . Start-Job (Microsoft.PowerShell.Core) - PowerShell . 2022-10-21 . learn.microsoft.com . en-us.
  43. Web site: zsh: 20. Completion System . Zsh.sourceforge.io . 2013-03-06 . 2013-08-18.
  44. Web site: Use PowerShell to Make Mandatory Parameters . 22 May 2011 . Blogs.technet.com . 2015-02-24.
  45. Web site: sdwheeler. What's New in the PowerShell 5.0 ISE - PowerShell. 2021-07-25. docs.microsoft.com. en-us.
  46. Web site: GitHub - marlonrichert/zsh-autocomplete: Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.. 2021-07-25. GitHub. en.
  47. Web site: Interactive use — fish-shell 3.3.1 documentation. 2021-07-25. fishshell.com.
  48. Book: Hahn, Harley. Harley Hahn's guide to Unix and Linux. 2009. McGraw-Hill Higher Education. 978-0-07-313361-4. Boston. 184828059.
  49. Book: Concurrent DOS 386 - Multiuser/Multitasking Operating System - User Guide . .
  50. Web site: pv(1): monitor progress of data through pipe - Linux man page . Linux.die.net . 2015-02-24.
  51. Web site: fish: Tutorial . 2022-10-21 . fishshell.com.
  52. Web site: zsh-users/zsh-syntax-highlighting: Fish shell like syntax highlighting for Zsh . GitHub . 2013-08-18.
  53. Web site: sdwheeler . PSReadLine Module - PowerShell . 2023-04-26 . learn.microsoft.com . en-us.
  54. The .NET System.Math class defines mathematical functions that can be used through the shortcut, e.g. for the sinus function.https://technet.microsoft.com/en-us/library/dd347632.aspx
  55. Web site: Get closure with GetNewClosure . 2009-03-27 . devblogs.microsoft.com . 2022-09-12.
  56. Book: Seebach. Peter. Beginning Portable Shell Scripting: From Novice to Professional. Expert's voice in open source. 21 November 2008. Apress. 2008. 149. 9781430210436. 2014-09-17. Brace expansion is available in ksh93, pdksh, bash, and zsh..
  57. xautomation and xdotool can be used to generate keystrokes under X Window System; or a program can be run in a pseudoterminal to be able to control it (as with the tool).
  58. Book: 4DOS 8.00 online help . 4DOS 8.00 . Hardin . Brothers . Tom . Rawson . Tom Rawson . Rex C. . Conn . Rex C. Conn . Matthias R. . Paul . Charles E. . Dye . Luchezar I. . Georgiev . 2002-02-27.
  59. The shell can use the utility to suppress echoing of typed characters to the screen. This requires multiple steps: 1. reading the current echo state, 2. switching echo off, 3. reading the input, 4. switching echo state back to the original state.
  60. The execute permission is enforced by a separate program, the program loader, by refusing to invoke the interpreter (possibly a shell) specified by the script's hashbang. The interpreter does not enforce the execute permission if invoked directly as the program loader would, with the file as an argument; this only requires read permission, as does piping the file as input to the interpreter, in which case the interpreter cannot see the execute permission.
  61. The zsh and fish shells also honor the execute permission for command completion.
  62. Under DR-DOS the password separator for file and directory passwords is a semicolon. This is also supported under 4DOS for as long as the command does not support include lists. Under 4DOS, the password separator must be doubled for all commands supporting include lists in order to distinguish passwords from include lists. Commands not supporting include lists accept both forms. DR-DOS 7.02 and higher optionally accept a doubled semicolon as well, so that doubled semicolons work under both COMMAND.COM and 4DOS regardless of the command executed.
  63. DR-DOS supports file passwords for read/write/delete and optionally execute permissions. Files are not protected by default, but the system can be set up so that f.e. batch scripts require a password to read.
  64. and echoes back asterisks for each typed character.
  65. reads a string of characters from the input device into an encrypted string, one character at a time thus ensuring that there is no memory image of the clear text which could be gleaned from scanning memory, or from crash dumps, memory dumps, paging files, log files or similar.
  66. PowerShell script files (files) are by default associated with the Notepad editor, not with the PowerShell execution engine. Invoking a file will launch Notepad rather than executing the script.
  67. Startup scripts per computer/user can import modules and expose a subset the commands/functions available in the modules.
  68. Web site: About Data Sections . Technet.microsoft.com . 2015-02-24.
  69. Web site: Ubuntu Manpage: rc - shell . Manpages.ubuntu.com . 2003-07-17 . 2015-02-24.
  70. Web site: Provos . Niels . Encrypting Virtual Memory . Center for Information Technology Integration, University of Michigan . 2012-12-20.
  71. Web site: bash - GNU Bourne-Again SHell . read -s Silent mode. If input is coming from a terminal, characters are not echoed..
  72. Web site: Using the Read-Host Cmdlet . By adding the -assecurestring parameter you can mask the data entered at the prompt.
  73. Web site: Linux / Unix Command: stty . Linux.about.com . 2015-02-24 . 2015-02-25 . https://web.archive.org/web/20150225005431/http://linux.about.com/od/commands/l/blcmdl1_stty.htm . dead .
  74. Web site: man sh - shell, the standard command language interpreter / posix . fr . Pwet.fr . 2013-08-18 . https://web.archive.org/web/20141221210713/http://pwet.fr/man/linux/commandes/posix/sh . 21 December 2014 . dead .
  75. Web site: Bash Reference Manual: The Restricted Shell . Gnu.org . 2010-12-28 . 2013-08-18.
  76. Web site: New-PSSessionConfigurationFile . Technet.microsoft.com . 2013-08-18.
  77. Book: Albing . Carl . Bash cookbook . 2007 . . Sebastopol, California, USA . 978-0-596-52678-8 . 1st . Vossen . J. P. . Newham . Cameron . [...] is hardly what one thinks of as a passive list of configured variables. It can run other commands (e.g., cat) and use if statements to vary its choices. It even ends by echoing a message. Be careful when you source something, as it's a wide open door into your script..
  78. Web site: About Data Sections . . 2012-12-18.