How to learn Linux

Learning Linux means getting comfortable at the command line: moving around the file system, managing files, reading permission errors and installing software, on a system you can safely break. Four skills come first:

Six dark server racks with green and blue indicator lights in a data center.
A data center aisle of server racks, where Linux systems run.Photo: kewl / Pixabay
  1. 1

    A practice system

    A spare computer or a virtual machine.

  2. 2

    Navigation

    pwd, ls and cd.

  3. 3

    Files

    cp, mv, mkdir and rm, carefully.

  4. 4

    Permissions

    Who can read, write and run what.

Learn in Evernote. Clip the docs, let the AI Assistant fix your code, and search any snippet.

Start your coding notebook in Evernote

How to learn Linux in 5 steps

  1. 1

    Set up a system you can break

    Use an old computer or a virtual machine, so mistakes do not affect your main machine.

  2. 2

    Take a structured course

    The Linux Foundation offers an Introduction to Linux course on edX. Follow one course from start to finish.

  3. 3

    Learn to move around

    cd moves between folders and ls lists what is there; ls -l adds details such as permissions. Practice until they are automatic.

  4. 4

    Manage files and read the errors

    Copy, move and make folders. "Permission denied" means your user cannot write there; work in your home folder.

  5. 5

    Do one real task a week

    Back up a folder, schedule a script, install a program. Write down every command you used.

A 4-week Linux plan

In a virtual machine, about 30 minutes a day
  1. 3Week 1pwd, ls, cd. Explore your home folder and /etc.
  2. 4Week 2cp, mv, mkdir. Copy a file to a folder you cannot write to; read the error.
  3. Week 3Permissions: read, write, run. Make a script and run it.
  4. 5Week 4Task: a backup script that copies reports to ~/backup.

Free coding practice log

One entry per session. Copy it, or save it to your Evernote account and keep your snippets in the same note.

Date: [day] · Time spent: [minutes]

Topic: [one concept, like for loops or functions]

Source: [tutorial, chapter or video, with its link]

What I built: [a small program, in one line]

Error I hit: [the last line of the error message]

How I fixed it: [one sentence, plus the corrected snippet]

Next session: [the next concept to learn]

Trusted by Millions Worldwide

4.4

2,100+ reviews on G2

4.4

8,200+ reviews on Capterra

4.4

73,000+ reviews on App Store

248M

Registered users

Linux learning questions

How can I learn Linux for free?

Install a Linux distribution in a virtual machine and follow a course such as the Linux Foundation's Introduction to Linux on edX.

What should I learn first in Linux?

The command line: pwd, ls and cd to move around, then cp, mv and mkdir for files, then permissions.

What does "Permission denied" mean?

Your user is not allowed to read, write or run that file or folder. Work in your home folder, or ask whether you really need administrator rights.

Do I need to install Linux on my main computer?

No. A virtual machine or a spare computer lets you practice without changing your main computer.

Is Linux useful for programming?

Yes. The Linux Foundation's Introduction to Linux course on edX is a structured way to learn the command line.

How long does it take to learn Linux?

The Linux Foundation's Introduction to Linux course on edX is a structured introduction. How long it takes depends on your schedule.

How to learn Linux with Evernote

Keep one notebook for Linux: the course pages you clip, the commands you practice, and every error you fixed.

  1. 1

    Clip the command line lesson.

    Save the guided tour with the Web Clipper. Keep it in a notebook called Learning Linux, with the folders to explore and the lesson link.

  2. 2

    Ask about Permission denied.

    Put the failed copy and its error in a note. Ask the AI Assistant why the folder rejects the write, and accept the move to your home folder.

  3. 3

    Find cp again.

    Search for "cp" when you need the command again. Evernote finds it in your Linux clip and in the practice note, code blocks included.

  • You can also ask the Assistant for a practice task that repeats every day.
  • You can also save screenshots of error messages, and search finds the words in them.

Every snippet, error and fix in one place

Clip the docs you learn from, ask the AI Assistant why your code breaks, and find any snippet again by searching for it.

Start for free