From e0731233e0c2d5556de0926027e7984fa4e7f68f Mon Sep 17 00:00:00 2001 From: JaeYoung Mun Date: Fri, 7 Apr 2017 18:29:38 +0900 Subject: [PATCH] Add description for whatis command (#31) * Add whatis command * Edit mistype --- README.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 37c44d3..4211813 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,18 @@ $ echo $AWS_HOME /Users/adnanadnan/.aws ``` -### b. `whereis` +### b. `whatis` +whatis shows description for user commands, system calls, library functions, and others in manual pages +```bash +whatis something +``` +Example: +```bash +$ whatis bash +bash (1) - GNU Bourne-Again SHell +``` + +### c. `whereis` whereis searches for executables, source files, and manual pages using a database built by system automatically. ```bash whereis name @@ -49,7 +60,7 @@ $ whereis php /usr/bin/php ``` -### c. `which` +### d. `which` which searches for executables in the directories specified by the environment variable PATH. This command will print the full path of the executable(s). ```bash which program_name @@ -60,7 +71,7 @@ $ which php /c/xampp/php/php ``` -### d. clear +### e. clear Clears content on window. ## 1.1. File Operations