From 6d77c0c7aca4b7c966c0aaa524a3bfe93fffe19d Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 15 Jun 2018 16:14:08 +1000 Subject: [PATCH] Added another entry --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index db7aceb..a6afa8d 100644 --- a/README.md +++ b/README.md @@ -1117,8 +1117,11 @@ This is an alternative to the `pwd` built-in. ## Check if a program is in the user's PATH. ```shell -# Bare. +# There are 3 ways to do this and you can use either of +# these in the same way. type -p executable_name &>/dev/null +hash executable_name &>/dev/null +command -v executable_name &>/dev/null # As a test. if type -p executable_name &>/dev/null; then