I use the find command in some of my scripts. For instance,
find /someDir -user $USER -type d -print
to list directories that belong to myself. For output, I get a lot of "permission Denied" error messages and then the list of directories that I want. How do I suppress the output of the error messages and just print what I want?
Thanks.
find /someDir -user $USER -type d -print
to list directories that belong to myself. For output, I get a lot of "permission Denied" error messages and then the list of directories that I want. How do I suppress the output of the error messages and just print what I want?
Thanks.