Explanation
Command | Windows/DOS equivalent | Linux example |
---|---|---|
List files | dir | ls |
Copy a file | copy file1 file2 | cp file1 file2 |
Rename a file | rename file1 file2 | mv file1 file2 |
Move a file | move file1 newdirectory\*.* | mv file1 newdirectory/ |
Change directory | cd newdirectory | cd newdirectory |
Make directory | md newdirectory | mkdir newdirectory |
Type a file | type filename | more | more filename |
Remove a file | del filename | rm filename |
Show current directory | cd | pwd |
Go to home directory | N/A | cd |
Text Editors | wordpad filename | [vi emacs nedit jot] filename (nedit,emacs : xwindows only. emacs -nw, vi, pico :terminal) |
Finding a command | apropos phrase or man -k phrase. EXAMPLE: % apropos c++cc, c89, CC (1) - Invokes the MIPS C, MIPSpro C, or MIPSpro C++ compiler complex (3C) - Introduction to C++ complex mathematics library etc. | |
Help on a command | help command | man command. EXAMPLE: % man CCNAME cc(1) Last changed: 4-15-99 cc, c89, CC - Invokes the MIPS C, MIPSpro C, or MIPSpro C++ compiler etc. |