Difference between revisions of "Basic linux commands everyone should know!"
Jump to navigation
Jump to search
import>Cen1001 |
import>Jss43 |
||
Line 6: | Line 6: | ||
mkdir newdir newdir2 |
mkdir newdir newdir2 |
||
This will create two new directories, ''newdir'' and ''newdir2'' |
This will create two new directories, ''newdir'' and ''newdir2'' |
||
+ | mkdir -p newdir/newdir2 |
||
+ | This will create ''newdir'' and ''newdir/newdir2'', even if the former doesn't exist. |
Revision as of 15:22, 29 April 2008
Here are a few simple linux commands that should make life a bit easier for you. Please everyone, add anything you think would be useful!
You may want to read the computer office's introduction to Unix booklet .
- mkdir
mkdir newdir newdir2
This will create two new directories, newdir and newdir2
mkdir -p newdir/newdir2
This will create newdir and newdir/newdir2, even if the former doesn't exist.