echo "Finding system binaries and libraries..." find /lib /usr/lib /bin /usr/bin -type f -executable -print | grep -v rootfs | grep -v live | grep -v boot > execable.txt echo "Finding commonly used binaries..." cat execable.txt| inotifywatch -a open --fromfile - > most_opened.txt & sleep 600 && pkill inotifywatch awk '{print $(NF)}' most-opened.txt > most_exec.txt