Basic UNIX commands: Difference between revisions
From Antalya
(Created page with "<table class="table table-striped"> <tr> <th>Command</th> <th>What for</th> <th>Advanced version</th> <th>What does it do?</th> </tr> <...") |
No edit summary |
||
| Line 1: | Line 1: | ||
Here is a list of some common [[UNIX]] commands. This should get you started. | |||
<table class="table table-striped"> | <table class="table table-striped"> | ||
<tr> <th>Command</th> <th>What for</th> <th>Advanced version</th> <th>What does it do?</th> </tr> | <tr> <th>Command</th> <th>What for</th> <th>Advanced version</th> <th>What does it do?</th> </tr> | ||
| Line 9: | Line 11: | ||
</table> | </table> | ||
[[Category:Unix]] | |||
Revision as of 14:06, 27 November 2020
Here is a list of some common UNIX commands. This should get you started.
| Command | What for | Advanced version | What does it do? |
|---|---|---|---|
| ls | list contents of directory | ls -latr | list all files with more information, sort in reverse order than when it was created |
| cd | change directory | cd - | change to the last directory you were in |
| cp | copy files/directories | cp -a | copy while preserving all properties |
| mv | move file (change name) | mv -i | move but ask if you are overwriting an existing file |
| rm | remove (delete) | rm -rf * | delete everything, without asking and without mercy (very dangerous) |
| less | view an ASCII file |