Linux Commands Flashcards

1
Q

Which of the following Linux commands is used to display information about files and directories contained within the current working directory?

A

ls

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

A Linux command-line command that enables searching files for lines containing a match to a given text pattern is called:

A

grep

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

Which of the following Linux command-line commands enables directory traversal?

A

cd

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

The following command can be used for turning off or restarting a Linux host.

A

shutdown

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

A Linux command displaying an absolute path to (i.e. full filename of) the current working directory is called:

A

pwd

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

A Linux command-line command allowing a user to change his/her own password is known as:

A

passwd

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

Which of the following is a Linux command for transferring files/directories to a different directory?

A

mv

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

Which Linux command enables copying files and directories?

A

cp

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

What is the name of the Linux command used for renaming files and directories?

A

mv

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

A command-line command in Linux used for deleting files and directories is known as:

A

rm

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

What is the function of the Linux chmod command?

A

Changes file access permissions

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

What is the function of the Linux chown command?

A

Changes file owner and group permissions

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

A Linux command-line utility used for displaying and modifying network interface configuration settings is called:

A

ifconfig

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

Which of the following is a Linux command-line command used for configuring network interface parameters specific to the wireless communication?

A

iwconfig

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

What is the name of a Linux command-line utility used for displaying statistics of running processes?

A

ps

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

Which of the following is a Linux command that allows to assume the identity of a different system user and execute commands with security privileges of that user account?

A

su

17
Q

A Linux command that temporarily modifies security privileges to allow an execution of a single command that requires root access permissions is called:

A

sudo

18
Q

Which of the following is a package management system most often used on Debian and Debian-based Linux distributions?

A

APT

19
Q

What is the name of a software tool used for finding and installing software packages on Debian and Debian-based Linux distributions?

A

apt-get

20
Q

Which of the following commands is used for invoking a text editor in Unix-like operating systems?

A

vi

21
Q

A low-level utility that can be used for creating/restoring filesystem backup copies in Linux is called:

A

dd

22
Q

Which of the Linux command-line commands allows to terminate a running process?

A

kill