UNIXSERVER(1)

πŸ’– UNIXSERVER(1) β€” the general commands manual glow-up πŸ’–

okay bestie, sit down, hydrate, and let's talk about unixserver from the General Commands Manual. this is your one-stop shop for being a UNIX domain socket server and it's giving ✨infrastructure✨. no cap.


🌸 NAME 🌸

unixserver β€” UNIX domain socket server πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

unixserver [options] socket program

that's it. options, then your socket, then the program you wanna run. main character energy fr fr.


πŸ¦‹ DESCRIPTION πŸ¦‹

so like, unixserver is a UNIX domain socket server that conforms to UCSPI, aka the UNIX Client-Server Program Interface. iykyk. it's out here holding the door open for your clients so your program can vibe with them. 🌈


✨ OPTIONS ✨

here's the whole menu, bestie, no skips, no skimming, every single one:

  • -q β€” Quiet. do not print any messages. silent. mysterious. 🀫
  • -Q β€” (default) print error messages. this is the factory setting, the OOTB vibe.
  • -v β€” Verbose. print error and status messages. she's chatty and we love that for her. πŸ’¬
  • -d β€” do not delete the socket file on exit. it stays. lingering. iconic.
  • -D β€” (default) delete the socket file on exit. tidy queen behavior 🧹
  • -u UID β€” change user id to UID after creating the socket. glow-up mid-run πŸ’«
  • -g GID β€” change group id to GID after creating the socket. same energy, group flavor.
  • -U β€” same as '-u $UID -g $GID'. the shortcut for the girlies who want both. 🫢
  • -o UID β€” make the socket owned by UID. the socket gets a new parent fr.
  • -r GID β€” make the socket group owned by GID. group parent energy.
  • -O β€” same as '-o $SOCKET_UID -r $SOCKET_GID'. combo deal, no extra charge. 🎁
  • -p PERM β€” set the permissions on the created socket (in octal). > heads up bestie: this option, if set, overrides the mask below. (defaults to 0666 minus umask)
  • -m MASK β€” set umask to MASK (in octal) before creating the socket. (defaults to 0, previous value is restored afterwards β€” she cleans up after herself πŸ’…)
  • -c N β€” do not handle more than N simultaneous connections. (default 10) 🚦
  • -b N β€” allow a backlog of N connections. the waiting room, but make it N.
  • -B BANNER β€” write BANNER to the client immediately after connecting. hi hello welcome to my socket πŸ’Œ

πŸ”₯ SEE ALSO πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

the ucspi-unix package was written by Bruce Guenter <bruceg@em.ca> β€” legend behavior, honestly.

this manual page was originally written by Tomas Kuliavas <tokul@bigfoot.com> for the Debian GNU/Linux system, but may be used elsewhere under the GPL. periodt. πŸ’œ


and that's the whole page, bestie β€” UNIXSERVER(1) from the General Commands Manual, served fresh, no crumbs left behind. πŸ“βœ¨πŸ¦‹