mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
whereis, which, whatis, type: refer to each other (#18295)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
> Display the type of command the shell will execute.
|
||||
> Note: All examples are not POSIX compliant.
|
||||
> See also: `whereis`, `which`, `whatis`.
|
||||
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-type>.
|
||||
|
||||
- Display the type of a command:
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# which
|
||||
|
||||
> Locate a program in the user's path.
|
||||
> See also: `whereis`, `whatis`, `type`.
|
||||
> More information: <https://manned.org/which>.
|
||||
|
||||
- Search the PATH environment variable and display the location of any matching executables:
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# whatis
|
||||
|
||||
> Display one-line descriptions from manual pages.
|
||||
> See also: `whereis`, `which`, `type`.
|
||||
> More information: <https://manned.org/whatis>.
|
||||
|
||||
- Display a description from a man page:
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# whereis
|
||||
|
||||
> Locate the binary, source, and manual page files for a command.
|
||||
> See also: `which`, `whatis`, `type`.
|
||||
> More information: <https://manned.org/whereis>.
|
||||
|
||||
- Locate binary, source and man pages for SSH:
|
||||
|
||||
Reference in New Issue
Block a user