Skip to main content

1. First commands

  1. Display the current date and time:

    date
    date +%Y-%m-%d
  2. Display a calendar of the current month:

    cal

    For another month:

    cal 5 2020
  3. Check how much free space there is on the disk drives:

    df
    df -h
    df -h /
  4. Display the amount of the free memory:

    free
    free -h
Loading asciinema cast...