2
0
Fork 0
mirror of https://github.com/Idnan/bash-guide.git synced 2018-11-09 02:29:39 +01:00

Update README.md

This commit is contained in:
Adnan Ahmed 2017-04-01 21:11:48 +04:00 committed by GitHub
parent 2749a3154e
commit f5d5d96690

View file

@ -41,7 +41,7 @@ $ echo $SHELL
```
### b. `whereis`
Finds out where a specific binary is on your system.
Whereis search for executables, source files, and manual pages using a database built by system automatically.
```bash
whereis name
```
@ -52,7 +52,7 @@ $ whereis php
```
### c. `which`
Locate a program file in the user's path. This command will prints full path of the executable(s). It does this by searching the directories listed in the environment variable PATH.
which search for executables in the directories specified by the environment variable PATH. This command will prints full path of the executable(s).
```bash
which program_name
```