Linux Filesystem Cheat Sheet/Create symbolic link

Create a symlink to another file or directory.

Section: Links

Create symbolic link

bash
bash
ln -s /opt/app/current app-current

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Links
Create hard link
Create another filename pointing to the same inode.
OpenIn sheetbashsame section
Show symlink target
Print where a symlink points.
OpenIn sheetbashsame section
Resolve canonical absolute path
Normalize paths and follow symlinks.
OpenIn sheetbashsame section
Print working directory
Show the absolute path of the current directory.
Long listing with human sizes
Show detailed directory contents with human-readable sizes.
Create nested directories
Create a directory path including missing parents.