Commands Flashcards
1
Q
Pwd
A
Print working directory.
2
Q
Cd
A
Change directory.
3
Q
Chmod
A
Changes the permissions on a file.
4
Q
Chown
A
Change owner of file.
5
Q
Su
A
Switch user
6
Q
Sudo
A
Super user do
7
Q
Cp
A
Copy
8
Q
Mv
A
Either move a file from one directory to another or rename a file in the same directory.
9
Q
Rm
A
Remove/delete file
10
Q
Df
A
Disk free: allows you to view the free disk space
11
Q
du
A
Disk usage: allows you to see how a device is used, including the size of directory.
12
Q
Grep
A
Globally search a regular expression and print: allows you to search for a match and print the result to the terminal.
13
Q
Find
A
Allows you to search for files
14
Q
ls
A
List the contents of the directory.
15
Q
Cat
A
Prints the contents of the file.