I am new to *nix and I am trying to find some files that I know are supposed to be somewhere on the system, but I am not sure where they might be or if they were even ever copied over from another project.
I was getting way too many “permission denied” messages to make sense of when using find. I searched and found this How can I exclude all “permission denied”-messages from “find .”? , but now I have a new problem.
find / -name trim* -print 2>/dev/nul
gives me
bash: /dev/nul: Permission denied
I searched a bit for someone with a similar issue, but I couldn't find one amid all the posts talking about 2>/dev/nul as a solution to the “permission denied”-messages