Legend for script

  • Shell commands

    • A normal command

      This is a command
    • A command that should be run as root is indicated with a > #

      > # some_command
    • A command that should be run as normal user is indicated with a >␣

      > come_command
    • If none is stated, the command should be run as normal user.

  • A variable for this hands-on

  • An optional parameter to a command, that can also be left out

    [OPTIONAL, Can be left out]
  • A variable of the Shell program, more on that later

    $VARIABLE
  • Shell comment or output:

    # Comment
    # or Output
  • is used to indicate a white space