 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Rename
a file mv
<source> <destination>
|
|
|
e.g. mv myfile.cpp dinner.cpp
|
|
|
| • |
Delete
a file rm <filename)
|
|
|
| • |
Copy
a file cp
<source> <destination>
|
|
|
| • |
Compile
a file CC <source> -o
<destination>
|
|
|
e.g. CC dinner.cpp –o dinner
|
|
|
(CC is capital and o is lower case)
|
|
|
| • |
Shortcut to repeat a
command !<first character
|
|
of
previous command>
|
|
|
e.g. !C to repeat the CC
compile command
|
|