Linux is a versatile operating system available in numerous distributions ("distros") that are customized for different uses. Unlike proprietary alternatives, Linux manages computer hardware resources while allowing various software applications to communicate with the underlying components.

Linux Version

# Get linux version - works on most distributions
cat /etc/*-release
 
# Get linux version - kernel version only
uname -r
 
# Get linux version - full kernel information
uname -a
 
# Get linux version - detailed hardware and OS info
hostnamectl

Files & Directories Permission

SUID & SGID

Special permission bits that temporarily elevate privileges. SUID allows users to run programs with the file owner’s permissions, while SGID runs with the file’s group permissions. These enable administrators to grant limited elevated access for specific applications without giving users permanent higher privileges.

# Find SUID files
find / -perm -4000 -type f -exec ls -l {} \; 2>/dev/null
# OR using symbolic notation
find / -perm -u=s -type f -exec ls -l {} \; 2>/dev/null
 
# Find SGID files
find / -perm -2000 -type f -exec ls -l {} \; 2>/dev/null
# OR using symbolic notation
find / -perm -g=s -type f -exec ls -l {} \; 2>/dev/null

Services & Processes

Network Configuration

3 items under this folder.