Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-11-2005, 10:50 PM   #16
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31

find path expression -exec command {} \;

Basically, everything following exec is taken as the command to execute until a ";" is encountered. It has to be escaped by "\" to protect it from expansion by the bash shell. The "{}" is replaced by the current file name being processed.

If you want to learn more about the find and chmod commands or any other read the man page, i.e "man find".


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I change files and save as... xstealthrtx Linux - Newbie 7 12-26-2004 01:30 AM
How do you change a files permissions Charlie Chan Linux - Security 8 10-20-2004 10:19 PM
ssh cant change files SCX Linux - Networking 3 09-09-2004 05:06 PM
can't change files on my own webserver tidasu Linux - Newbie 2 08-26-2004 06:44 PM
Need way to change the date of files BH_Exeter Linux - Software 7 08-26-2004 08:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration