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
  • Command subcommand
    • ex: ip addr show eth0

Exit code:

  • View in man page
  • check by echo $?