SHTOOL-MKLN.TMP(1)
π SHTOOL-MKLN.TMP(1) π
okay so bestie, welcome to SHTOOL-MKLN.TMP(1), from the GNU Portable Shell Tool era β this is the shtool fam's glow-up version of ln(1), and she is serving. π
β¨ NAME β¨
shtool-mkln β the GNU shtool enhanced ln(1) replacement. yes, it's literally that. π
π¦ SYNOPSIS π¦
shtool mkln [-t|--trace] [-f|--force] [-s|--symbolic] src-path [src-path
...] dst-path
πΈ DESCRIPTION πΈ
So this is a ln(1)-style command, right, but make it fancy. β¨ It's been enhanced to automatically calculate and use relative links with the shortest possible path β if possible, bestie, we love an honest queen. π
When does it do this slay? Usually when src-path and dst-path are not absolute paths, or at the very least they share a common prefix other than the root directory ("/"). iykyk π§
And when you specify more than one src-path? Not me casually dropping multiple sources β all of them get linked into dst-path. periodt. π
π OPTIONS π
The following command line options are available. She's got range, ngl.
-t,--traceβ turns on the output of the essential shell commands that get executed. it's giving transparency, we stan. π-f,--forceβ forces the creation of the link even if it already exists. Default is to fail with error, so like... no-f, no link, that's the vibe. π-s,--symbolicβ creates a symbolic link instead of a hard-link. choose your fighter. π¦
π EXAMPLE π
# shell script
shtool mkln -s foo/bar baz/quux
see how clean that is?? obsessed. π
π HISTORY π
The GNU shtool fixperm command was originally written by Ralf S. Engelschall <rse@engelschall.com> in 1998 for ePerl. an icon, a legend, the moment. π
π₯ SEE ALSO π₯
and that's the whole thing, bestie!! π«Ά this page is from shtool 2.0.8, dated 18-Jul-2008 β yeah she's a lil vintage but she ate and left no crumbs. mwah π πΈππ
π¦ where this page comes from
- debian bookworm: shtool 2.0.8-10 Β· GPL-2.0-or-later
- debian trixie: shtool 2.0.8-10 Β· GPL-2.0-or-later
- ubuntu jammy: shtool 2.0.8-10 Β· GPL-2.0-or-later
- ubuntu noble: shtool 2.0.8-10 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms