Prof. Alessandro Armando

View on GitHub

Calcolatori Elettronici (a.y. 2017-2018) - Hands-on Linux

1. Getting access to a Linux machine

1.1 A Zero footprint Linux shell

You can start playing with a Linux shell straight away by using JSLinux. No installation on your machine is needed. A Linux shell (albeit limited in functionality) is made avalable in your browser.

1.2 Accessing a remote Linux host via SSH

Prerequisite: SSH client installed on your machine. SSH is pre-installed in most Linux distributions or it can easily installed via the apt command. SSH client for Windows are available here and here.

If you have a Linux machine, then you can establish a SSH session by issuing the the following command on a terminal:

> ssh -p 2220 -l bandit0 bandit.labs.overthewire.org

where bandit.labs.overthewire.org is the address of the remote host, -p 2220 specified the port, and -l bandit0 specifies the account on the host. (The password for bandit0 on bandit.labs.overthewire.org is … bandit0).

1.3 Installing a Linux distribution on your machine

You can create a local, disposable copy of Linux by using the virtualization technology. Many virtualization solutions are available today, the most prominent being VMware and VirtualBox.

1.4 Linux on MacOS

Just open a terminal.

1.5 Linux on Window 11

See Installare Linux in Windows con WSL (in Italian) or Install Ubuntu on WSL2 on Windows 10 (in English).

2. Basic Linux shell commands

Learn to use and play with the following commands:

3. Play with Bandit

Improve your hands-on skills by taking on the Bandit challenges.

4. Advanced Linux shell commands