Linux Basics

84 / 107

Hard link and soft link exercise

  1. Create a file test.txt with following text :

    two wrongs do not make a right
    
  2. Create a hardlink testlink and a symbolic link testslink to the file.

  3. Delete the file test.txt.

  4. Now try to access the file by links using cat command.

INSTRUCTIONS

Type cd ~ to return to the home directory.



Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...