I just set up a new dedicated server using AlmaLinux 8 and WHM/cpanel.
My other dedicated servers all use Centos 7 and WHM/cpanel.
In SSH as root, on Centos servers, I have always used
sudo find / -name filename
to find files on the servers
On AlmaLinux 8 in SSH as root
sudo find / -name filename
gives me the following errors (the process number changes for different sudo find / -name
inquiries )
find: ‘/proc/929745/task/929745/net’: Invalid argument
find: ‘/proc/929745/net’: Invalid argument
For some sudo find / -name filename
inquiries on AlmaLinux 8 in SSH as root
the sudo find / -name filename
command actually finds the files in addition to the invalid argument
I would just ignore the invalid argument on AlmaLinux 8, but, sometimes the
sudo find / -name filename
command doesn't find the file even though the file is definitely on the server
sudo find . -name filename
does not find any files on either Centos 7 or AlmaLinux 8, even though the file is definitely on the servers.
Any advice would be greatly appreciated
Thanks Audrey