Volatile Data
# elevate to root
sudo su
# put a file heading
echo <heading> > report.txt
# add a timestamp
date >> report.txt
# system information
uname -a >> report.txt
# the name of the host
hostname >> report.txt
# network statistics
netstat -ano >> report.txt
# running processes
ps aux >> report.txt
# routing table
route -n >> report.txt
# end with a timestamp
date >> report.txtLast updated