MAN Discover (1) Команды И Прикладные Программы Пользовательского Уровня (FreeBSD И Linux)

You say to yourself: I want to watch my wife with other males. In case you are piping the output of discover into another program and there’s the faintest risk that the information which you’re trying to find might comprise a newline, then it is best to severely consider using the ‘-print0’ option instead of ‘-print’.

This option might be helpful in system scripts (cron scripts, for instance) that study areas of the filesystem that change frequently (mail queues, momentary directories, and so forth), because this state of affairs is frequent for these kinds of directories.

In case you are utilizing discover in an environment where safety is vital (for instance if you are utilizing it to seach directories which might be writable by different customers), you need to learn the “Security Issues” chapter of the findutils documentation, which is known as Finding Files and comes with findutils.find man

GNU discover searches the listing tree rooted at every given file name by evaluating the given expression from left to right, based on the rules of priority (see section OPERATORS), till the result is known (the left hand facet is fake for and operations, true for or), at which level discover moves on to the subsequent file name.find man

In case you use this selection, it’s essential to ensure that your $PATH environment variable doesn’t reference the current listing; otherwise, an attacker can run any instructions they like by leaving an appropriately-named file in a listing by which you will run -execdir.