MKC_WHICH(1)

✨ NAME ✨

okay so bestie, this is MKC_WHICH(1), the manual page for mkc_which πŸ’– β€” and its whole job is: locate a program file in the users $PATH environment variable. That's it. That's the girl. No cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

mkc_which [-x] name

πŸ’… DESCRIPTION πŸ’…

mkc_which takes a name and looks for the file which would be executed had this name been given as a command. The argument is searched for along the user's PATH. It's giving "which one of these would actually run, bestie?" πŸ‘‘

πŸŽ€ OPTIONS πŸŽ€

  • -x β€” If name is not found or non-executable, exit status is zero. Yup, that's the one and only flag, and she's lowkey iconic. ✨

πŸ”₯ EXIT STATUS πŸ”₯

  • 0 β€” if the specified command is found and executable
  • 1 β€” if the specified command is nonexistent or not executable
  • 2 β€” if an invalid option is specified

Vibe check: 0 = slay, 1 = not it, 2 = bestie why did you pass that flag πŸ˜­πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Aleksey Cheusov <vle@gmx.net> wrote this page, and honestly? royalty behavior. πŸ‘‘


That's the whole manual, bestie β€” source/version tag says MKC_WHICH(1), and it's dated Jan 27, 2020. Byeee, go find your executables! πŸ’–βœ¨

πŸ“¦ where this page comes from