ln [Command]

Command ln

Sets hard or symbolic links (aliases) for files and directories.


ln [options] existing_file new_name


-b backs up files before deleting them.
-d creates a hard link to a directory (this can be done only by root).
-f remove existing file named newname.
-help displays help for the team.
-s creates a symbolic link.
-v generates detailed output information.


ln command assigns a new_name for an existing_file. With the -s option can be create symbolic links for all known file systems. For symbolic links can view the related information with the command ls -l. In Otherwise, the ls -l displays two separate file – for file and its tight links.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.