Archive for December 10th, 2006

Most useful linux commands

 Just a little list for my own reference...<ol><li><em>#chattr (+-)i &lt;filename&gt; </em>make a file (+un)-writable to the system (like chmod but MUCH stronger) [currently in use by my resolv.conf to prevent dhcp overwriting]<br /></li><li><em>#tar zxf &lt;filename&gt;.tar.gz </em>untar a gzipped tarball</li><li><em>#tar jxf &lt;filename&gt;.tar.bz(2)</em> untar a bzipped tarball</li><li><em>#top</em> show top-used processes within the mem cache/cpu cycle</li><li><em>#chown -R owner:group &lt;folder&gt;</em> change ownership of a folder and recusively to folder sub-dirs and contents.<br /></li></ol>