linux symlink folder code example Example: linux symlink directory example ln -s /mnt/external-drive ~/mydrive