LilyYucarp

the lav kit

Exercises

Introduction to the filesystem structure

  • Try to view all the partitions in your system.
  • Find out the size of the root partition.
  • Look at the types of files in your system. You can either use your home directory or other directories in the system.
  • Suppose that a new device is connected to your system. Where it will appear on the filesystem?
  • Suppose that you have installed a new program into your system. Where it will be on the filesystem?

File and directory manipulation

  • Try to create a new file.
  • Try to create multiple new files.
  • Try to create a new file in another directory rather than the current directory.
  • Try to delete a file.
  • Try to delete multiple files.
  • Try to delete a full directory. (You can create a new directory and fill it with empty files for that purpose)
  • Try to create a new directory.
  • Try to create multiple new directories.
  • Try to create a new directory in another directory rather than the current directory.
  • Try to delete an empty directory without using the rm command
  • Try to open a text file in the terminal
  • Try to copy a file to another directory
  • Try to move a file to another directory

File permissions

  • Try to make a file writable for only yourself.
  • Try to make a file only readable.
  • Try to make a file only writable to you and your group.

Mounting points

  • Try to mount a drive using the terminal.
  • Try to unmount a drive using the terminal.
Before: Chapter Summary Next: A brief look to processes