There are parameters of find
command for finding files and directories respectively -f
and -d
, but I want to avoid writing two find
commands and &&
or ||
between them.
I want to find file or directory(whichever is found conditionally) in one command, can -d
and -f
be ORed ?