Appendix. A chapter-by-chapter, command-line review

1. Welcome to Linux

  • ls -lh /var/log—Lists the contents and full, human-friendly details of the /var/log/ directory.
  • cd—Returns you to your home directory.
  • cp file1 newdir—Copies a file called file1 to the directory called newdir.
  • mv file? /some/other/directory/—Moves all files containing the letters file and one more character to the target location.
  • rm -r *—Deletes all files and directories below the current location—use with great care.
  • man sudo—Opens the man documentation file on using sudo with commands.

2. Linux virtualization: Building a Linux working environment

  • apt install virtualbox—Uses apt to install a software package from a remote repository.
  • dpkg -i skypeforlinux-64.deb ...

Get Linux in Action 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.