Correction to the way to run report.sh: you should run it as root. If your system support sudo and you are administrator, you can run it like that:
sudo sh report.sh > report.log
otherwise, you need to get root first:
su sh report.sh > report.log exit
Correction to the way to run report.sh: you should run it as root. If your system support sudo and you are administrator, you can run it like that:
sudo sh report.sh > report.log
otherwise, you need to get root first:
su
sh report.sh > report.log
exit