> 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 statement.

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

You can chain command through redirection operators. Bash - Redirection

A command start a process and therefore return also its exit code


3 - 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

4 - Documentation / Reference

code/interactive/command.txt · Last modified: 2019/05/20 09:32 by gerardnico