From b8c363ec7e7d2271f76874b644506dd3d5f14f6c Mon Sep 17 00:00:00 2001 From: lbonanomi <5369016+lbonanomi@users.noreply.github.com> Date: Wed, 26 Dec 2018 20:15:05 -0500 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a6178c..78036d1 100644 --- a/README.md +++ b/README.md @@ -1229,7 +1229,7 @@ who -b ###### Detect a user sudo-su'd into the current shell -``` +```bash [[ $(who -m | awk '{ print $1 }') == $(whoami) ]] || echo "You are su-ed to $(whoami)" ```