> Code - (Programming|Computer) Language > Interactive programming

1 - About

A function can be called in a command format.

A command for a cli interpreter is the equivalent of a expression (statement) that returns as value an exit code.


3 - OS

A OS command is a shell command that will start a process and therefore return also its process exit code

A command accepts a standard input and may send back to the terminal a standard output.

You can chain shell command through redirection operators. Bash - Redirection

4 - Format

The first word generally specifies:

  • a command to be executed (a shell command, a utility),
  • with the rest of the words being that command’s arguments.
commandName arg1 arg2 .... arg3

5 - Documentation / Reference