System (Linux)
Post

System (Linux)

Distribution

1
2
3
4
5
ls /etc/*-release
cat /etc/os-release
cat /etc/issue
uname -a
cat /proc/version

Interesting files

1
2
3
4
5
6
7
cat /etc/passwd
cat /etc/group
cat /etc/shadow
cat /etc/hosts
ls -lh /var/mail/
ls -lh /usr/bin/
ls -lh /sbin/

Mounted File Systems

1
2
3
4
df -h
mount
cat /etc/fstab
lsblk

Loaded Kernel Modules

1
2
lsmod
/sbin/modinfo <libata> // Change for any library from lsmod command

Loaded PCI and USB Devices

1
2
lspci
lsusb

CPU Info

1
2
3
4
cat /proc/cpuinfo
cat /proc/meminfo `Memory`
lshw `Hardware Info`
dmesg -T