ln

The command that makes links: a hard link by default, a symbolic link with -s.

In more detail

ln target name adds a second name for the same inode; ln -s stores the target path in a new small file instead. -f replaces an existing link.

Example

ln -s conf/app.conf current.conf makes a symbolic link to the config.

Related terms

Taught in

References

Certification courses