Skip to content

Instantly share code, notes, and snippets.

@mcandre
Created January 31, 2019 00:54
Show Gist options
  • Save mcandre/316461216c81fbbea162c806611576f5 to your computer and use it in GitHub Desktop.
Save mcandre/316461216c81fbbea162c806611576f5 to your computer and use it in GitHub Desktop.
How to find where a command is defined in mksh (e.g. MirOS/MirBSD)

Both command and type are missing sooo

  • which (aliased to whence)
  • whence (mksh built-in)
  • sudo find / -type f -name <name> -print 2>/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment