Here is the video version, if you prefer it:
You can execute multiple commands on the same line. To do that, you need to add a semicolon, like so: (Shotts, 2019)
command1; command2; command3
An example:
cd /; ls; cd
This lists the contents of the root directory and then switches your working directory back to your home directory.
Hope you learned something new!
References
Shotts, W. (2019). The Linux Command Line, Fifth Internet Edition. Retrieved from http://linuxcommand.org/tlcl.php. Page 74
NewsletterUpdates on interesting things I am doing
Subscribe to my newsletter to keep abreast of the interesting things I'm doing. I will send you the newsletter only when there is something interesting. This means 0% spam, 100% interesting content.