Description:
- Use man command for manual
- Check if a command is builtin by:
type $command
- dpkg -l to list packages
- includes:
Command Syntax:
- A command includes:
- command
- subcommand (optional)
- option (the one with —)
- arguments
- Normal command: no subcommand
- ex:
ls -a
- ex:
- Command subcommand
- ex:
ip addr show eth0
- ex:
Exit code:
- View in man page
- check by
echo $?