From d241ddf85c9598e856be4632694fbec7f1f13ce1 Mon Sep 17 00:00:00 2001 From: Rob <32943053+spicywiener666@users.noreply.github.com> Date: Mon, 28 Jan 2019 18:33:52 +0000 Subject: [PATCH] whereis: add missing examples to osx page (#2612) --- pages/osx/whereis.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pages/osx/whereis.md b/pages/osx/whereis.md index 55f3998a4..f59c0180a 100644 --- a/pages/osx/whereis.md +++ b/pages/osx/whereis.md @@ -5,3 +5,15 @@ - Locate binary, source and man pages for ssh: `whereis {{ssh}}` + +- Locate binary and man pages for ls: + +`whereis -bm {{ls}}` + +- Locate source of gcc and man pages for git: + +`whereis -s {{gcc}} -m {{git}}` + +- Locate binaries for gcc in /usr/bin/ only: + +`whereis -b -B {{/usr/bin/}} -f {{gcc}}`