Basic checks

OS version

# Check OS version
cat /etc/issuecat 
/etc/*-releasecat 
/etc/lsb-release      # Debian based
cat /etc/redhat-release   # Redhat based

Kernel version

cat /proc/version
uname -a
uname -mrs
rpm -q kernel
dmesg | grep Linux
ls /boot | grep vmlinuz-

Environment Variables

cat /etc/profile
cat /etc/bashrc
cat ~/.bash_profile
cat ~/.bashrc
cat ~/.bash_logout
env
set

Find

Juicy files

Last updated

Was this helpful?