Lwhich

lwhich
Arguments:
  • [-i] - Disable case sensitivity

  • [32|--32|64|--64] - Search 32 or 64 bit. 64 by default

  • $1 - The library being searched for. Must match the beginning of the the basename of the library, but may also contain extended (grep) regex.

Output:

stdout - Newline separates list of full paths of matching filenames

Bash CLI version of bin_utils.bsh lwhich

Uses

nm - Most OSes have this installed already. Sometimes a binutils package needs to be installed to get this