Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-29 00:18:23 +00:00
parent a3692d638b
commit 75f807d6af
175 changed files with 1107 additions and 775 deletions

33
tldr/linux/whereis Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# whereis
> Locate the binary, source, and manual page files for a command.
> More information: <https://manned.org/whereis>.
- Locate binary, source and man pages for SSH:
`whereis {{ssh}}`
- Locate [b]inary and [m]an pages for ls:
`whereis -bm {{ls}}`
- Locate [s]ource of gcc and [m]an pages for Git:
`whereis -s {{gcc}} -m {{git}}`
- Locate [b]inaries for gcc in `/usr/bin/` only:
`whereis -b -B {{/usr/bin/}} -f {{gcc}}`
- Locate [u]nusual binaries (those that have more or less than one binary on the system):
`whereis -u *`
- Locate binaries that have [u]nusual [m]anual entries (binaries that have more or less than one manual installed):
`whereis -u -m *`