- whatis
- help
- man
- apropos
- whoami
- which
- date
- history
- find
- pwd
- cd
- ls
- tree
- touch
- file
- cat
- less
- more
- cp
- mv
- rm
- mkdir
- alias
- unalias
- exit
- clear
- echo
- ">" [stdout redirection to file] (replaces the file's content)
- ">>" [stdout redirection to file] (appends to the file's content)
- "<" [stdin redirection to programme] (sends the file's content as stdin)
- "2>" [stderr redirection to file] (replaces the file's content with the stderr)
- "&>" [stderr & stdout redirection to file] (redirects both stderr and stdout)
- "|" (e.g. pipe) [redirects stdout of a prgramm to another programm as stdin]
- tee
- env
- "echo $VAR_NAME" [print VAR_NAME's value]
- cut
- paste
- head
- tail
- expand
- unexpand
- join
- split
- sort
- tr
- uniq
- wc
- nl
- grep
- vi
- vim
- emacs
Syntax: ls non-exixting-dir/ [0|1|2]> out.txt
Useful for redirection of I/O streams
I/O Stream Name | Number |
---|---|
stdin | 0 |
stdout | 1 |
stderr | 2 |
Display one-line manual page descriptions
Display information about builtin commands.