NEXT UP previous
Next: Answers

Exercises

  1. Perform some simple experiments to find out if one symbolic link can point to another which then points on to the file. If it can, is there limit to the number of symbolic links you can have in the chain?

  2. What is the disadvantage of symbolic links over hard links?

  3. Can you find a pair of directory links anywhere, both of which refer to the same file?

  4. Execute the following command sequence:

    	$ cd
    	$ mkdir temp
    	$ cp /etc/passwd temp
    	$ chmod 400 temp
    
    If you were now to execute the command ls temp what would you expect the output to be?

  5. Carrying on from the last question, what would you expect to obtain from executing the command ls -l temp? Try it. Did you obtain what you expected? If not, why not?

NEXT UP previous
Next: Answers