Process - Command (Command line)

About

Interactive Programming - Command in a OS context.

A OS command is a line of text that will create a process instance from a program (also known as image) .

Syntax

A command line is just a one line of text:

Example

Chrome command line in a bash grammar. A command line is just a one line of text

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" #<-- Path 
    --no-startup-window /prefetch:5 # <-- Argument
    --flag-switches-begin # <-- Argument
    --flag-switches-end # <-- Argument
    --enable-audio-service-sandbox // <-- Argument

Management

Input

A command accepts:

Output

A command send back:

Shell

Every shell is a wrapper language around a command line that is used in a terminal. Every shell will permit you to play with command.

In a shell interpreter, you can chain shell command through redirection operators:

See


Powered by ComboStrap