Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_server:home_server_setup:other_services:symlinks [2019-12-08 Sun wk49 15:23] baumkphome_server:home_server_setup:other_services:symlinks [2024-09-22 Sun wk38 10:20] (current) – [Simlinks] baumkp
Line 1: Line 1:
 +{{tag>simlinks linux setup command}}
 =====Simlinks===== =====Simlinks=====
  
 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. 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 [[http://www.thegeekstuff.com/2010/10/linux-ln-command-examples/|Linux Soft and Hard Link Guide]] (10 Ln Command Examples) +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 [[http://www.thegeekstuff.com/2010/10/linux-ln-command-examples/|Linux Soft and Hard Link Guide]] (10 ln Command Examples) 
-  *To remove symlink ''rm "path/symlink name"'' +  *To remove symlink ''%%rm "path/symlink name"%%'' 
-  *To list symlink ''ls "path/symlink name"'' +  *To list symlink ''%%ls "path/symlink name"%%'' 
-  *To list symlink directory contents ''ls "path/symlink name/"''+  *To list symlink directory contents ''%%ls "path/symlink name/"%%'' 
 +  *Use ''-f'' flag to force
  
 Symlink ownership is not particularly important as it has full permissions (777) and file access is determined by real file permissions. Symlink ownership is not particularly important as it has full permissions (777) and file access is determined by real file permissions.
  
 ---- ----
-===Home Server Index=== 
-++++Home Server Index|<pagelist&header> 
-*[[home_server:home_server_setup:summary]] 
-*[[home_server:home_server_setup:home_it_setup]] 
-*[[home_server:home_server_setup:Network_setup]] 
-*[[home_server:home_server_setup:kvm]] 
-*[[home_server:home_server_setup:vnc_setup]] 
-*[[home_server:home_server_setup:disk_check]] 
-*[[home_server:home_server_setup:other_services]] 
-</pagelist>++++ 
  
-===Home Server Other Index=== +<- home_server:home_server_setup:other_services:systemd|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:fail2ban|Next ->
-++++Home Server Other Index|<pagelist&header> +
-*[[home_server:home_server_setup:other_services:index]] +
-*[[home_server:home_server_setup:other_services:timedate]] +
-*[[home_server:home_server_setup:other_services:aptcache]] +
-*[[home_server:home_server_setup:other_services:swap]] +
-*[[home_server:home_server_setup:other_services:bash]] +
-*[[home_server:home_server_setup:other_services:vim]] +
-*[[home_server:home_server_setup:other_services:symlinks]] +
-*[[home_server:home_server_setup:other_services:fail2ban]] +
-*[[home_server:home_server_setup:other_services:monit]] +
-*[[home_server:home_server_setup:other_services:tripwire]] +
-*[[home_server:home_server_setup:other_services:misc]] +
-</pagelist>++++ +
- +
-<- home_server:home_server_setup:other_services:vim|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:fail2ban|Next ->+