<br><br><div class="gmail_quote">On Tue, May 3, 2011 at 8:24 AM, Theron Conrey <span dir="ltr"><<a href="mailto:theron@conrey.org">theron@conrey.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
actually the first command changes who can do what with the file.<div><br></div><div>for the first command a quicky explanation is there are three groups. the owner, the group, and then everyone else.</div><div>basically changing the permissions to 777 allows EVERYONE (owner, group, and everyone) to do everything (read,write, execute) to that file. unrelated: triple sevens always scare me a bit.</div>
<div>the second unpacks the file in the current directory (because no path is given). the x = decompress, the v = tell me ALL about it (verbose), the f = don't ask me questions, just f do it.</div></blockquote><div>
<br>> the x = decompress, the v = tell me ALL about it (verbose), the f = don't ask me questions, just f do it.<br><br>Not quite accurate. The x means to extract. A tar file is not compressed unless you specify some compression (like using the "z" option gives you gzip compression). The f means extract from this file. The f option is "force" for other commands, but for tar, it specifies the file to read/write. If you do "tar -c dest.tar source1 source2 source3", it actually will try to tar up all FOUR files, and send it to standard output. If dest.tar doesn't exist, it will give a warning and continue. So if you don't want a bunch of binary characters going to your screen, make sure to specify the "f" option. :)<br>
<br>And FWIW, I agree, 777 is usually overkill, and bad! If you're used to the octet method, a much safer route is 755 (read/write/execute for you, read/execute for everyone else). Or if you don't want anyone else to do anything with the file, use 700.<br>
<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><br></div><div>
for non techies.</div><div><br></div><div>1) change the permissions to the file so that you can....</div><div>2) decompress (or unzip) the file to the directory it resides in.</div><div><br></div><div><br></div><div>-theron</div>
<div><br><div class="gmail_quote"><div><div></div><div class="h5">On Tue, May 3, 2011 at 8:15 AM, Rob Miller <span dir="ltr"><<a href="mailto:robarooney@gmail.com" target="_blank">robarooney@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
<div>Can someone translate this *nix phrase into "instructional English"? TIA.</div>
<div> </div>
<div>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><b><span style="font-size: 10pt;">In the FooBar2.1 directory:</span></b></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><b><span style="font-size: 10pt;"></span></b> </p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-indent: 0.5in;"><span style="font-size: 10pt;">1.<span> </span>chmod 777 Foobar_42_X26LMAQ.tar</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-indent: 0.5in;"><span style="font-size: 10pt;">2.<span> </span>tar –xvf Foobar_42_X26LMAQ.tar</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-indent: 0.5in;"><span style="font-size: 10pt;"></span> </p><span style="font-size: 10pt;">
<div>Would the translation be something like:</div>
<div> </div>
<div>1. Copy the compressed Foobar file (*.tar) to the FooBar2.1 directory.</div>
<div>2. Set the file permissions using the chmod 777 command.</div>
<div>3. Extract the compressed contents of the Foobar file (*.tar) using the tar -xvf command.</div>
<div> </div>
<div>Again, thanks for the help.</div></span></div>
<br></div></div>_______________________________________________<br>
Cialug mailing list<br>
<a href="mailto:Cialug@cialug.org" target="_blank">Cialug@cialug.org</a><br>
<a href="http://cialug.org/mailman/listinfo/cialug" target="_blank">http://cialug.org/mailman/listinfo/cialug</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Cialug mailing list<br>
<a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br>
<a href="http://cialug.org/mailman/listinfo/cialug" target="_blank">http://cialug.org/mailman/listinfo/cialug</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Tim<br>Required reading: <a href="http://bccplease.com/">http://bccplease.com/</a><br>