From 16ea5bd4b5807013536b1f176e107e79d364ab91 Mon Sep 17 00:00:00 2001 From: Dimi Catrysse Date: Wed, 8 Apr 2020 12:41:05 +0200 Subject: [PATCH] Document the which command --- docs/addendum-10-crazy-command-list/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/addendum-10-crazy-command-list/README.md b/docs/addendum-10-crazy-command-list/README.md index 03952cc..aabdc12 100644 --- a/docs/addendum-10-crazy-command-list/README.md +++ b/docs/addendum-10-crazy-command-list/README.md @@ -45,3 +45,9 @@ title: X - Crazy Command List | `ls [OPTIONS] [PATH]` | List information about files | | **Examples** | `ls -al`, `ls ~`, `ls /boot` | | **Common Options** | `-l` long listing
`-a` include hidden files
`-h` human readable format | + +| Command | Description | +| --- | --- | +| `which [-a] filename` | Locate command | +| **Examples** | `which bash`, `which sudo`, `which ls` | +| **Common Options** | `-a` print all matching pathnames | \ No newline at end of file