S6-BASENAME(1)
π
s6-basename β the basename one, but make it s6
okay so this is s6-basename, and it lives in the General Commands Manual section (1) β the classic "commands you just type" neighborhood. It's the s6-portable-utils glow-up of a utility you already know and love, and honestly? she ate. β¨
πΈ SYNOPSIS πΈ
s6-basename [-n] path [suffix]
bestie, that's the whole vibe: hand her a path, optionally hand her a suffix, and she'll give you the basename. π
π¦ DESCRIPTION π¦
s6-basename acts as the generic basename[1] utility. That's it, that's the whole personality β she's the standard basename you know, showing up in s6-portable-utils form. No cap. π«Ά
β¨ OPTIONS β¨
π Standard options
None. Literally none. Zero. The standard option list is empty and she's at peace with that. π
π Non-standard options
-nβ do not print a trailing newline after the output. That's the one. That's the whole non-standard menu. Main character energy. π
π₯ EXIT STATUS π₯
111β temporary error. Like, it might work next time, give it a sec. π100β permanent error, such as a misuse. You did something she can't forgive. π127β unable to execute program β not found. Where did it go?? π126β unable to execute program β other reason. It's there, but it's being difficult. π
π§ SEE ALSO π§
the whole s6-portable-utils friend group, fr fr β they all pull up together:
s6-cat(1), s6-chmod(1), s6-chown(1), s6-clock(1), s6-cut(1), s6-dirname(1), s6-dumpenv(1), s6-echo(1), s6-env(1), s6-expr(1), s6-false(1), s6-format-filter(1), s6-grep(1), s6-head(1), s6-hiercopy(1), s6-linkname(1), s6-ln(1), s6-ls(1), s6-maximumtime(1), s6-mkdir(1), s6-mkfifo(1), s6-nice(1), s6-nuke(1), s6-pause(1), s6-printenv(1), s6-quote(1), s6-quote-filter(1), s6-rename(1), s6-rmrf(1), s6-seq(1), s6-sleep(1), s6-sort(1), s6-sync(1), s6-tai64ndiff(1), s6-tail(1), s6-touch(1), s6-true(1), s6-uniquename(1), s6-unquote(1), s6-unquote-filter(1), s6-update-symlinks(1), seekablepipe(1)
[1] β the footnote link, iykyk: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/basename.html
π«Ά real talk: this man page is ported from the authoritative documentation at https://skarnet.org/software/s6-portable-utils/s6-basename.html
π STANDARDS π
s6-basename is suitable as a basename[1] program conforming to . β yes that's literally how it reads, trailing blank and all, I'm not out here editing the source, bestie. πΈ
π AUTHORS π
- Laurent Bercot
- Alexis <flexibeast@gmail.com> (man page port) π
and that's the page!! brought to you by Debian, dated April 18, 2022 β the footer said so, and I would never gatekeep a citation date from you. β π π¦
π¦ where this page comes from
- nixpkgs unstable: s6-portable-utils 2.3.1.2
- nixpkgs unstable: s6-portable-utils-man-pages 2.3.1.1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms