> For the complete documentation index, see [llms.txt](https://gowsundar.gitbook.io/book-of-bugbounty-tips/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gowsundar.gitbook.io/book-of-bugbounty-tips/linux.md).

# Linux

* [what are the substitutes 4 whoami cmd in #linux #bash 1) cat /proc/$$/status | grep -i uid (second number is euid) 2) echo $EUID 3) echo $USER 4) id 5) (\[\[ -r /root \]\] && echo "root") || echo "not root" (check read access to home dir of a user, in this case root)](https://twitter.com/DissectMalware/status/1052457563235766272)
