KPSESTAT(1)

✨ NAME ✨

kpsestat β€” bestie, this lil cutie computes the octal mode from the mode of an existing file πŸ’…


🌸 SYNOPSIS 🌸

kpsestat mode file

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea πŸ“: kpsestat prints the octal permission of file, modified according to mode, straight to standard output. like, it takes your file's current perms, applies the change you asked for, and hands you back the shiny octal number. no edits, no drama, just vibes ✨

the mode parameter accepts a subset of the symbolic permissions that chmod(1) accepts β€” so yeah, the symbolic syntax you already know and love, just a limited lil slice of it πŸŽ€

and if you want the permissions to come out unchanged? just use = as the mode. literally the "no thoughts, head empty, don't touch anything" setting, and honestly? iconic πŸ‘‘


πŸ’– OPTIONS πŸ’–

kpsestat accepts the following options, and yes there's only two, she's lowkey minimal like that:

  • --help β€” prints the help message and dips. that's it, that's the whole thing 🫢
  • --version β€” prints version information and then exits, stage left, no further questions πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

  • chmod(1) β€” the main character this one's whole flow is based on, fr fr

okay bestie, that's the whole page, no cap 🌈 this was the kpsestat(1) manual, part of Kpathsea 6.4.1, dated 1 March 2011 β€” she's been serving these facts since 2011 and she's still eating πŸ’…πŸ’– mwah, stan forever πŸŽ€