<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 21, 2014 at 8:01 PM, paul g <span dir="ltr"><<a href="mailto:pj.world@hotmail.com" target="_blank">pj.world@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Now what does the [.] mean in the lines you gave? Users Name? right?</blockquote>
</div><div class="gmail_extra"><br></div>Nope. In unix/linux systems, the dot character ( . ) refers to the current directory the command is being executed from.</div><div class="gmail_extra"><br></div><div class="gmail_extra">
So in the example command given (<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">find . -type f -exec chmod 444 {} \;), the dot character is telling find to start operations in the current directory. You could have just as well put a full path in there if you wanted.</span></div>
<div class="gmail_extra"><font color="#500050" face="arial, sans-serif"><br></font></div><div class="gmail_extra"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">find /path/to/files -type f -exec chmod 444 {} \;</span></div>
<div class="gmail_extra"><font color="#500050" face="arial, sans-serif"><br></font></div><div class="gmail_extra"><font color="#500050" face="arial, sans-serif">In a similar vein, the double-dot character, ( .. ) always refers to the parent directory.</font></div>
<div class="gmail_extra"><font color="#500050" face="arial, sans-serif"><br></font></div><div class="gmail_extra"><font color="#500050" face="arial, sans-serif">-Erik<br></font><br></div></div>