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 bandit0@bandit.labs.overthewire.org -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
$ls $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 bandit1@bandit.labs.overthewire.org -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.
Recommended Posts:
- How to find time taken by a command/program on Linux Shell?
- Terminal Mail and Linux Security Mail
- Linux Virtualization - Chroot Jail
- Linux Virtualization : Linux Containers (lxc)
- Linux Kernel Module Programming: Hello World Program
- Formatted text in Linux Terminal using Python
- Some useful Linux Hacks
- Daily life Linux Commands
- Basic Linux Commands for day to day life
- Initializing and Cache Mechanism in Linux Kernel
- How to add "graphics.h" C/C++ library to gcc compiler in Linux
- Working with Magic numbers in Linux
- Reset a lost Linux administrative password and Explanation
- dup() and dup2() Linux system call
- Encrypt/Decrypt Files in Linux using Ccrypt
- Linux File Hierarchy Structure
- mindepth and maxdepth in Linux find() command for limiting search to a specific directory.
- Network configuration and trouble shooting commands in Linux
- Netstat command in Linux
- Program to show that Linux provides time sharing environment to processes
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. 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.


