Читать книгу Linux Bible - Christopher Negus - Страница 161

NOTE

Оглавление

If, as a regular user, you are searching an area of the filesystem where you don't have full permission to access all of the files it contains (such as the /etc directory), you might receive lots of error messages when you search with find. To get rid of those messages, direct standard errors to /dev/null. To do that, add the following to the end of the command line: 2> /dev/null. The 2> redirects standard error to the next option (in this case /dev/null, where the output is discarded).

Linux Bible

Подняться наверх