Skip to Content
Learn Linux Shell Scripting - Fundamentals of Bash 4.4
book

Learn Linux Shell Scripting - Fundamentals of Bash 4.4

by Sebastiaan Tammer
December 2018
Beginner
452 pages
12h 17m
English
Packt Publishing
Content preview from Learn Linux Shell Scripting - Fundamentals of Bash 4.4

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Bash Scripting Fundamentals

Bash Scripting Fundamentals

Sander van Vugt

Publisher Resources

ISBN: 9781788995597Supplemental Content