Tech Journal Week 10 - ArtTHEbard/SYS255FA19-Notes GitHub Wiki

Text Manipulation and Scripting

  • In this lab, I learned how to script in bash, and practiced doing so.
  • My first step was to install the necessary tools (sudo yum install tree)
  • I wrote a script using a for loop to pingscan ports on my network and return the respondents to me. (/usr/share/firewalld/tests/loop.sh)
  • I modified the script to accept user input
  • I wrote a script to run nslookup on all machines in my domain (/usr/share/firewalld/tests/nslu.sh)
  • I wrote a script to accept params for nmap, and run nmap using those params (/usr/share/firewalld/tests/nmap.sh)