Common Commands
Name | Synopsis | Description |
---|---|---|
ls |
ls {opt} |
list directory contents Options: |
cd |
cd {Directory]{directory} |
change directory Directory Options .. Move one level up / Move to the root directory |
cat |
Creates a new file | |
mv |
Move files | |
rm |
rm {options} {file} |
Deletes a file -f ignore nonexistent files and arguments, never prompt Example |
man |
Gives help information on a command | |
mkdir |
Creates a new directory in the present working directory or a at the specified path | |
rmdir |
Deletes a directory | |
mv |
Renames a directory | |
pwd |
display which directory you are in | |
top |
top -u somebody |
Details on all Active Processes |
ps |
Give the status of processes running for a user | |
kill |
kill -9 PID |
Kills a process |