DistributedNetworks DistributedNetworks

File Management  «Prev 

Working with Symbolic Links


  1. First command (ls -F) plus outputL: This command simply displays the directory contents before you create the link.
  2. Second command (ln -s): This command takes the first file name, project/qa/test_plan.html and creates a symbolic link to it. The link will be named qa.html.
  3. Third command (ls -F) plus output: The directory now contains a symbolic link named qa.html. The -F option appends an character to help identify the link.
  4. Fourth command (ls -lF) plus output: The ls -l output uses an arrow (->) to reveal the actual file, which the qa.html link points to. Note the access mode. The file type field, the leftmost character, shows the letter l, which stands for link.

Unix OS Design

Link Files