How to solve these challenges:


Challenge #1

  1. Using tar, create an archive of /etc in the current directory.

  2. Display the contents of the archive searching for a specific file in the archive.

  3. Extract the archive in the current directory.

Are you stuck? Do you want to see the solution for this challenge? Click here.


Challenge #2

  1. Using tar, create a compressed archive of /etc using gzip in the current directory.

  2. Display the contents of the archive searching for a specific file in the archive.

  3. Extract the archive in another directory.

Are you stuck? Do you want to see the solution for this challenge? Click here.


Challenge #3

  1. Create a file using a command redirection and a directory.

  2. Create 2 hard links to the file. Check the no. of hard links.

  3. Create a symlink to the initial file. Check the symlink.

  4. Delete the initial file and and see what happens with the other 2 hard links and with the symlink.

Are you stuck? Do you want to see the solution for this challenge? Click here.


Challenge #4

  1. Create a symlink to the Desktop directory in another directory.

  2. Create a hard link to the Desktop directory in another directory.

Are you stuck? Do you want to see the solution for this challenge? Click here.