Linux Guide
https://github.com/livialima/linuxupskillchallenge
◦ ps ◦ df ◦ du ◦ vim ◦ top ◦ less ◦ more ◦ zless ◦ grep
systemctl status sshd
ss -patun | grep 2222
yum install -y firewalld
firewall-cmd --list-all
firewall-cmd --permanent --add-service=httpd
firewall-cmd --get-services
firewall-cmd --add-port=portnumber/tcp --permanent firewall-cmd --reload
setenforce 0
yum install -y vim tmux
repoquery -l httpd
yum list installed | grep httpd
pgrep httpd
ps aux | grep httpd
ps -ylC httpd
• vim → press i to go to insert mode, vimtutor will help you learn basic vim • wc → Word Count for lines → wc -l • shell redirection, >, >>, 2>1, • less => View files in a pager mode -> Ability to view and search text • cat → Spit all the lines to the terminal • zless → compressed files • zgrep → grep through compressed files