Trace: Simlinks

Simlinks

This is an old revision of the document!


Prev  
 Next

A symlink is a soft or hard link to a directory location to another directory location or file. I am only interested in the soft link. It effectivily allows a directory tree to be made for different non-structured directory locations, even across partitions.

Simple use is: ln -s "path/directory or file" "path/symlink name", where option -s is to create a symlink. See ln –help or man ln for more information. Another good reference is The Geek Stuff The Ultimate Linux Soft and Hard Link Guide (10 ln Command Examples)

  • To remove symlink rm "path/symlink name"
  • To list symlink ls "path/symlink name"
  • To list symlink directory contents ls "path/symlink name/"

Symlink ownership is not particularly important as it has full permissions (777) and file access is determined by real file permissions.


/app/www/public/data/attic/home_server/home_server_setup/other_services/symlinks.1584868670.txt.gz · Last modified: 2023-04-30 Sun wk17 17:44
CC Attribution-Share Alike 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International