HowGetFree

Home / Guides / Free practical learning

Free practical learning

How to Learn the Linux Terminal for Free With OverTheWire Bandit

Practice basic Linux commands and SSH through OverTheWire Bandit's free beginner labs without testing real systems.

Published · HowGetFree Editorial · Practical guide

Before you begin

Reading a list of Linux commands is not the same as learning when to use them. OverTheWire Bandit turns basic terminal tasks into a sequence of small challenges. The official project describes Bandit as a game aimed at absolute beginners who want the foundation for other wargames. It teaches exploration, file inspection, text processing and problem-solving within a purpose-built environment. You do not need a paid penetration-testing platform to begin, but you do need to respect the lab's rules.

Important: Only run challenges against the designated OverTheWire practice servers. Never turn a beginner exercise into permission to access unrelated systems.

1Start with the official Bandit page

Visit overthewire.org/wargames/bandit and read the introduction, rules and Level 0 instructions. Each level points to the next one, and the site intentionally gives enough information to begin without handing you every answer. Treat the game as a learning tool, not as a license for real-world intrusion. Keep a local learning diary with the command you tried, what it did and how the output changed your next decision.

2Prepare an SSH client

Modern Linux and macOS machines usually have SSH available through the terminal, while supported Windows installations provide OpenSSH through Windows Terminal or PowerShell. The Bandit project publishes the host and port for its game server and the credentials for the starting level. Use only the current details on its official Level 0 page, because servers and credentials can change. When SSH shows a first-connection host key prompt, learn what the fingerprint means before blindly accepting unknown hosts.

3Practice moving around and reading files

Begin with simple commands such as pwd to show your current directory, ls to list entries, cd to change directories and cat to display ordinary text files. Use the man command and built-in help when options are unfamiliar. Do not paste complex commands from an answer site without understanding their side effects. A useful exercise is to predict the output of a command, run it and explain any differences in your own words.

4Learn how the challenges build skills

Later Bandit levels introduce filenames with spaces or punctuation, hidden files, sorting and searching text, permissions and other common shell concepts. Work one level at a time and study the official hints. If you are stuck, read the man page for a named command and try a harmless example in your own local directory. Copying full solutions may get you through a level while leaving the underlying skill unlearned.

5Create a repeatable two-week practice routine

Spend twenty to thirty minutes on a few levels several days a week. Start each session by recalling yesterday's commands without looking at notes. Record a short explanation of why the chosen command solved the puzzle. If you encounter an unfamiliar binary, search its manual and test only in the designated environment. Finishing a large number of levels is less useful than being able to reproduce and explain the first ten confidently.

6Convert the learning into practical daily tasks

After basic challenges, apply safe commands to your own files: inspect a directory, find a text string in notes, compare files and review permissions. Use test data rather than personal records. Bandit does not automatically provide a recognized professional certificate or make you a security tester. If you continue into cybersecurity, study permissions, ethics and defensive monitoring, and practice only where you have clear authorization.

Frequently asked questions

Does Bandit cost money?

The public OverTheWire Bandit game is accessible for free; donations support the project.

Do I need to know programming?

No. The official Bandit page is designed for absolute beginners; comfort with a terminal develops as you progress.

Official sources and further reading

Interface labels, availability and policies may change. Confirm current details with the relevant service before taking action.

Read all six November 11 guides