To list all files in a directory – including subdirectories then use this command: # find /data/jord01 -type f If you want a count of all the files in a directory: # find /data/jord01 -type f | wc -l
Tag: linux
Disable Firewalld in CentOS 7
Simple instructions on how to stop, disable and the check the status of firewall 1) Stop the firewalld service # systemctl stop firewalld 2) Disable the firewalld service from starting # systemctl disable firewalld 3) Check the status of the firewalld service # systemctl status firewalld