zip -r directory.zip directory
ZIP WITHOUT ROOT FOLDER
cd directory;zip -r ../directory.zip .
df -h
du -sh *
ls -lrt
lsblk
find / -name filename
find / -type d -name folder
grep term file
grep term *
Compare 2 file
diff file1 file2
sdiff file1 file2
top
free (-m) (-g) (-h)
sar 1 3
cat /proc/cpuinfo
cat /proc/meminfo
lsof (-i) (-u)
ifconfig -a
ip a
dme
tcpdump -i any -s0
ping (-c number) (host)
ip link
ip address
traceroute
dig (host)
netstat (-l) (-antlpu)
sestatus
iptable -l
cd / var/log/audit
ssh -vvv
ps aux
ps -ef | grep name
kill -9 psid
uname -a
man (-k)
rpm (-qa) (-ql)
repoquery (-l)
journalctl (-xb) (-ef) (-p text) (-o verbose) (-u name)
dmesg
tail f /var/log/secure