Softlinks in linux
Softlinks are basically an absolute path to the executable, like in windows we see desktop shortcuts which actually leads to an absolute path of the executable resulting in executing that file upon clicking.
Creating softlinks
path_to_target_file -> original file path_to_link_file -> represents shortcut
Viewing hard/softlinks
Output:
Shows an example of a file in that directory.
Reading hard/softlinks of a file
Output:
Shows hard and softlinks of mentioned file.
Important points of softlinks
Softlinks can be made between file to file or dir to dir or even between different filesystems.
Last updated