Make links between files (simulated).
Synopsis
ln [OPTION]... TARGET LINK_NAME
Description
Create a link to TARGET with the name LINK_NAME. In SLICC, symlinks are simulated by creating a regular file containing the target path. Runs in the just-bash WASM shell inside SLICC.
Options
-s, --symbolic Make symbolic links instead of hard links.
-f, --force Remove existing destination files.
Examples
$ ln -s /workspace/source.txt link.txt
Create a symbolic link.
Notes
True symlinks are not supported on LightningFS. Symbolic links are emulated by writing the target path to a regular file. Hard links are not supported — they create copies.
See Also
cp, mv, stat