Linux Commands
| COMMAND | SUMMARY | EXAMPLE | ||||||
| ls | lists the contents of the directory | ls | ||||||
| cd | changes directory |
| ||||||
| vi | vi POSCAR | Edit the file POSCAR To exit after editing press esc then :wq + return See more about editing files here |
||||||
| more | more POSCAR | Shows the contents of a file. Press space to see the rest of the file if a percentage appears at the bottom | ||||||
| mkdir | creates a new directory |
| ||||||
| rm | deletes a file or directory |
| ||||||
| cp | copies a file or directory |
| ||||||
| scp | copies a file or directory between machines |
| ||||||
| mv | moves/renames a file or directory |
| ||||||
| grep | searches files for text |
| ||||||
| man | Linux manual for any command |
| ||||||
| clear | used to clear the prompt | clear | ||||||
| ssh | used to connect to a remote host |
| ||||||
| exit logout |
logs user out of current session | logout | ||||||
| passwd | used to change password |
|