previous: >>108354761
#define __NR_symlink 88
#define __NR_symlinkat 266
https://man7.org/linux/man-pages/man2/symlink.2.html
https://man7.org/linux/man-pages/man7/symlink.7.html
tl;dr:
create a symbolic link to a file
symlinks are rather neat. i recommend reading the section 7 manpage. it's pretty well written
i don't really have much to say about these, except that i use them all the time in /usr/bin to make my dmenu shortcuts nicer. e.g., one of the first things i will do on a new box is sudo ln -s /usr/bin/firefox /usr/bin/ff
similarly, many versioned binaries in your bin folder will do something similar (e.g., gcc/clang will actually be a symlink to some specifically versioned binary)
so it's really handy for that sort of thing. how do you use symlinks, anon?
relevant resources:
man man
man syscalls
https://man7.org/linux/man-pages/
https://linux.die.net/man/
https://elixir.bootlin.com/linux/
https://elixir.bootlin.com/musl/
https://elixir.bootlin.com/glibc/