Bandit – A Wargame For Linux Beginners

The Bandit is a wargame for those who are beginners at Linux/UNIX environment and are facing problems while learning the real-time use of Linux commands. The game will teach the basics of Linux and will make you compatible to play even other wargames.
This game basically provides you the environment which is similar to real-time with files having data the same as used in real time. Basically, the game starts with level 0. Then to proceed further you have to visit the Official Game Website and there is a hint for every level would be given. What you have to do is just go through the hint, find the password for the next level using that hint and proceed further. And to get the password you will have to use Linux Commands which will help you in understanding the Linux commands easily.

How to Get Started With the Game?

1. Open Terminal and Enter the following command.

$ssh -p 2220

It will ask for password

Enter password -> bandit0

2. After entering the password you will be connected to the server of the game.


Now enter the following command

$cat readme

3. It will give you the password for the next level. The highlighted text in the image is the password for the next level.


Similarly, continue with the game not to connect to level 1 use following command.

$ssh -p 2220

It will ask for the password. Enter the password we get from level 0. Bravo! you are in the game. Meanwhile, you will face a lot of problems but keep going you will rock the game and will master Linux commands.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :


Please write to us at to report any issue with the above content.