LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-11-2005, 11:50 PM   #16
chbin
Member
 
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".
 
  


Reply


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 02:30 AM
How do you change a files permissions Charlie Chan Linux - Security 8 10-20-2004 11:19 PM
ssh cant change files SCX Linux - Networking 3 09-09-2004 06:06 PM
can't change files on my own webserver tidasu Linux - Newbie 2 08-26-2004 07:44 PM
Need way to change the date of files BH_Exeter Linux - Software 7 08-26-2004 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:02 PM.

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