Commands Flashcards

1
Q

Pwd

A

Print working directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Cd

A

Change directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Chmod

A

Changes the permissions on a file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Chown

A

Change owner of file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Su

A

Switch user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Sudo

A

Super user do

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Cp

A

Copy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Mv

A

Either move a file from one directory to another or rename a file in the same directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Rm

A

Remove/delete file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Df

A

Disk free: allows you to view the free disk space

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

du

A

Disk usage: allows you to see how a device is used, including the size of directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Find

A

Allows you to search for files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ls

A

List the contents of the directory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Cat

A

Prints the contents of the file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Cat -n

A

Prints the contents of the file adds line numbers.

17
Q

(pipe)

A

Send the results into this.

18
Q

ps

A

Invokes the process table, all processes running on the system.

19
Q

top

A

Same as ps but allows you to sort and terminate processes interactively.

20
Q

Ifconfig

A

Legacy ipconfig

21
Q

ip addr

A

Same reporting as ifconfig

22
Q

dig

A

Used to gather information and testing name resolution.

23
Q

Samba

A

Enables the integration of Linux and windows systems.

24
Q

cron

A

Allows you to schedule a job.

25
Q

Nano

A

Open text based editor

26
Q

Apt-get

A

Download files from repository

27
Q

yum

A

Download files from repository

28
Q

shutdown

A

Shut down Linux

29
Q

Vi

A

Starts visual file editor

30
Q

Man

A

System help for executable files

31
Q

passwd

A

Changes passwords

32
Q

iwconfig

A

Like if config but wireless

33
Q

q

A

Quit