symlink to file code example Example 1: create symlink ln -s source_file myfile Example 2: create symbolic link ln -s source_file symbolic_link