Useful commands that I have put together which have helped me during my career as a network engineer.

nmap ping scan with formatted results
sudo nmap -sP -oG –

using SED to find and replace from all files in directory
go into the directory where the files are and run the below:
sed -i -e ‘s/’ .
or for a specific file
sed -i -e ‘s/’ filename