A OS command is a line of text that will create a process instance from a program (also known as image) .
A command line is just a one line of text:
- with a path to a executable file
- and arguments
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 to executable --no-startup-window /prefetch:5 # <-- Argument --flag-switches-begin # <-- Argument --flag-switches-end # <-- Argument --enable-audio-service-sandbox # <-- Argument
A command accepts:
- as wel as standard input
A command send back:
- optionally a standard output if started from a terminal .
A shell is an application that permits to run command interactively.
Every shell will permit you to play with command.
In a shell interpreter, you can chain shell command through redirection operators: