I would like to do something like:
find . -iname "*Advanced*Linux*Program*" -exec kpdf {} & \;
Possible? Some other comparable method available?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Firstly, it won’t work as you’ve typed, because the shell will interpret it as
which is an invalid
findrun in the background, followed by a command that doesn’t exist.Even escaping it doesn’t work, since
find -execactuallyexecs the argument list given, instead of giving it to a shell (which is what actually handles&for backgrounding).Once you know that that‘s the problem, all you have to do is start a shell to give these commands to:
On the other hand, given what you’re trying to do, I would suggest one of
which will open the file in the default program as associated by your desktop environment.