commands Flashcards
what does this cmd do
<p>pwd</p>
<p> print working directory</p>
what does this cmd do
<p>hostname</p>
<p> my computer's network name</p>
what does this cmd do
<p class=”large” style=”text-align:center”;>mkdir</p>
<p class=”large” style=”text-align:center”;> make directory</p>
what does this cmd do
<p>cd</p>
<p> change directory</p>
what does this cmd do
<p>ls</p>
<p> list directory</p>
what does this cmd do
<p class=”large” style=”text-align:center”;>rmdir</p>
<p class=”large” style=”text-align:center”;> remove directory</p>
what does this cmd do
<p>pushd</p>
<p> push directory</p>
what does this cmd do
<p class=”large” style=”text-align:center”;>popd</p>
<p class=”large” style=”text-align:center”;> pop directory</p>
what does this cmd do
<p>cp</p>
<p> copy a file or directory</p>
what does this cmd do
<p class=”large” style=”text-align:center”;>mv</p>
<p class=”large” style=”text-align:center”;> move a file or directory</p>
what does this cmd do
<p>less</p>
<p> page through a file</p>
what does this cmd do
<p class=”large” style=”text-align:center”;>cat</p>
<p class=”large” style=”text-align:center”;> print the whole file</p>
what does this cmd do
<p>xargs</p>
<p> execute arguments</p>
what does this cmd do
<p>find</p>
<p> find files</p>
what does this cmd do
<p class=”large” style=”text-align:center”;>grep</p>
<p class=”large” style=”text-align:center”;> find things inside files</p>
what does this cmd do
<p>man</p>
<p> read a manual page</p>
what does this cmd do
<p class=”large” style=”text-align:center”;>apropos</p>
<p class=”large” style=”text-align:center”;> find what man page is appropriate</p>
what does this cmd do
<p>env</p>
<p> look at your environment</p>
what does this cmd do
<p>echo</p>
<p> print some arguments</p>
what does this cmd do
<p class=”large” style=”text-align:center”;>export</p>
<p class=”large” style=”text-align:center”;> export/set a new environment variable</p>
what does this cmd do
<p>exit</p>
<p> exit the shell</p>
what does this cmd do
<p class=”large” style=”text-align:center”;>sudo</p>
<p class=”large” style=”text-align:center”;> DANGER! become super user root DANGER!</p>
what does this cmd do
<p>chmod</p>
<p> change permission modifiers</p>
what does this cmd do
<p>chown</p>
<p> change ownership</p>