Linux Cheatsheet
•4 snippets
A comprehensive guide to Linux with examples for commands, tips, and more.
OS and system information
Find OS and system information
1uname -a
Users
Find user account
1whoami
Groups
Find user identity and group names
1id
Shell and Environment
Find shell and environment
1echo $SHELL && env | grep -E 'PATH|HOME|USER'