{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Midterm Exam Exercises\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Practical Exercises for midterm exam preparation. \n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "1. By using command ```apt```, download package ```libqt5sql5``` into the home directory (on the desktop) without installing it.\n",
    "\n",
    "\n",
    "2. Create a directory called <TT>PKG</TT> in your home directory and extract the package files into directory <TT>PKG</TT>.\n",
    "\n",
    "\n",
    "3. By using command find, find the file with name ```libQt5Sql.so.5.15.8``` in directory <TT>PKG</TT>.\n",
    "\n",
    "\n",
    "4. By using command find find directory doc in <TT>PKG</TT>.\n",
    "\n",
    "\n",
    "5. Remove the file and the directory from <TT>PKG</TT>.\n",
    "\n",
    "\n",
    "6. Under <TT>PKG/usr/share</TT>, create directory tree <TT>D1/D2/D3</TT>.\n",
    "\n",
    "\n",
    "7. Copy directory <TT>/etc</TT> on you desktop into the directory tree.\n",
    "\n",
    "\n",
    "8. Archive directory <TT>PKG</TT> into file ```pkgfile-arc.tgz``` by using command ```tar```.\n",
    "\n",
    "\n",
    "9. Deploy a new VM, <TT>exvm1</TT>, by cloning <TT>kvm1</TT>.\n",
    "\n",
    "\n",
    "10. Find the IP address of <TT>exvm1</TT>.\n",
    "\n",
    "\n",
    "11. Create account mike on <TT>exvm1</TT>.\n",
    "\n",
    "\n",
    "12. Upload ```pkgfile-arc.tgz``` into the home directory of user mike on <TT>exvm1</TT>.\n",
    "\n",
    "\n",
    "13. By using command ```tar```, extract the archive on <TT>exvm1</TT>."
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.13.11"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
