Skip to content

Free cheat sheet

35 Linux commands for your first week

One printable page with the commands you will type most while you learn Linux. Keep it next to your keyboard and try every command in a real terminal.

What is inside

  • Moving around

    Know where you are and get anywhere.

    pwdls -lacd -

  • Files and directories

    Create, copy, move and delete safely.

    mkdir -pcp -rrm -i

  • Reading files

    Look inside files and follow logs live.

    lessheadtail -f

  • Searching

    Find text, files, programs and past commands.

    grep -rnfindhistory

  • Permissions

    Control who can read, write and run.

    chmodchownsudo

  • System and network

    Check disk, memory, processes and connectivity.

    df -hss -tulpnping

Practise them free in a real terminal

Linux Foundations is free. Practise them in a live Linux container in your browser, with graded labs along the way. No card, nothing to install.

Start Linux Foundations