Midterm Exam Exercises

Midterm Exam Exercises#

Practical Exercises for Midterm Exam Preparation#

  1. Using the apt command, download the package libqt5sql5t64 into the home directory (located on the desktop) without installing it.

  2. Create a directory named PKG in your home directory and extract the package files into the PKG directory.

  3. Using the find command, locate the file named libQt5Sql.so.5.15.15 within the PKG directory.

  4. Using the find command, locate the doc directory within PKG.

  5. Remove the specified file and directory from PKG.

  6. Under the PKG/usr/share path, create the nested directory tree D1/D2/D3.

  7. Copy the /etc directory from your desktop into the newly created directory tree.

  8. Archive the PKG directory into a file named pkgfile-arc.tgz using the tar command.

  9. Deploy a new virtual machine, exvm1, by cloning kvm1.

  10. Determine the IP address of exvm1.

  11. Create a user account named mike on exvm1.

  12. Upload pkgfile-arc.tgz into the home directory of user mike on exvm1.

  13. Using the tar command, extract the archive on exvm1.