Tree structure

Let's start by logging in to our virtual machine via SSH:

ssh -p 2222 reader@localhost

Enter your password at the prompt and you should arrive at the default Ubuntu 18.04 login banner, which should look similar to the following:

reader@localhost's password: Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-29-generic x86_64)<SNIPPED>  System information as of Sat Jul 28 14:15:19 UTC 2018  System load:  0.09              Processes:             87  Usage of /:   45.6% of 9.78GB   Users logged in:       0  Memory usage: 15%               IP address for enp0s3: 10.0.2.15  Swap usage:   0%<SNIPPED>Last login: Sat Jul 28 14:13:42 2018 from 10.0.2.2reader@ubuntu:~$

When logging in (either via SSH or the Terminal console) you will end up at the home directory of the user. You can always ...

Get Learn Linux Shell Scripting - Fundamentals of Bash 4.4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.