Update README.md

This commit is contained in:
lbonanomi 2018-12-26 20:15:05 -05:00 committed by GitHub
parent 2e28c6c0da
commit b8c363ec7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1229,7 +1229,7 @@ who -b
###### Detect a user sudo-su'd into the current shell ###### Detect a user sudo-su'd into the current shell
``` ```bash
[[ $(who -m | awk '{ print $1 }') == $(whoami) ]] || echo "You are su-ed to $(whoami)" [[ $(who -m | awk '{ print $1 }') == $(whoami) ]] || echo "You are su-ed to $(whoami)"
``` ```