Linux commands Flashcards

1
Q

ls

A

displays the contents of a directory

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

grep

A

search for regular expressions in a text file

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

cd

A

change the current directory

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

shutdown

A

shuts down the system

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

pwd

A

print working directory tells you where you are in the filesystem

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

passwd

A

change the login credentials of a specific user

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

mv

A

rename a file and move the file from one directory to andother

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

cp

A

copy files

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

rm

A

(remove) delete files

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

chmod

A

change file permission, change the mode of a file system object.

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

chown

A

change file owner and group

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

iwconfig

A

view and change information related to the wireless networking configurations

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

ifconfig

A

view and change information related to the networking configuration

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

ps

A

display a list of currently running processes, view the process ID of an application

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

apt-get

A

download files from a repository, install a specific utility

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

vi

A

Edit a file in the visual file editor

17
Q

dd

A

backs up and restores a partition and copies, blocks of data from one file to another,
creates a disk image of a Linux partition

18
Q

kill

A

if you want to terminate a particular process running on the system (used with PID numbers)

19
Q

su (username)

A

switching to another user in Terminal

20
Q

sudo (command)

A

executes one command in privileged mode