Symbolic links (symlinks) in linux

Опубликовано: 15 Май 2026
на канале: Chris Gregg
7,580
43

A "symbolic link" (symlink) is a file that is located in one part of the file system, but there is a reference to it in a different directory. Many times we will use symlinks in cs107 in order to have a directory of files that the entire class will share.

When you look at a program listing in long form, you might see a file that has a dash-arrow (I can't use angle-brackets in descriptions) notation that points to a different directory. That is a symbolic link.

To create a symlink:

ln -s locationOfFile linkLocation