Linux commands Flashcards

1
Q

changes the current directory

A

cd

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

changes file permission

A

chmod

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

changes the file owner and group

A

chown

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

copies files

A

cp

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

displays the content of a directory

A

ls

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

creates a directory

A

mkdir

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

renames a file and moves the file from the directory to another

A

mv

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

delete directory

A

rm

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

displays the current directory

A

pwd

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

copies blocks of data from one file to another (used to copy data from devices)

A

dd

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

downloads files from a repository site

A

apt-get

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

shut down Linux

A

shutdown

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

starts a new shell as another user. (the other user is assumed to be root when the command is invoked without any argument.)

A

su

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

Runs a command as another user (usually the root user).

A

sudo

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

allows you to display and configure information related to a network interface card (NIC)

A

ifconfig

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

similar to ifconfig, but used for wireless configurations.

A

iwconfig

17
Q

while not a utility this command is often used to quit most interactive utilities.

A

q

18
Q

displays a list of currently running processes.

A

ps

19
Q

terminates a process.

A

kill