ln has the following syntax:

  • ln file link

  • ln files directory

Create link to file or in directory for all files. Symbolic links are created with the -s option.

Get LPI Linux Certification in a Nutshell, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.