whereis, which, whatis, type: refer to each other (#18295)

This commit is contained in:
Managor
2025-09-30 20:44:46 +03:00
committed by GitHub
parent 82932cff32
commit fb40d850e0
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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: