Exam Compass - Common Linux Commands Quiz Flashcards

1
Q

Which Linux command allows to display information about files and directories contained within the current working directory?
pwd
ls
grep
ps

A

ls

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

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

A

pwd

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

Which Linux command-line command is used for transferring files/directories to a different directory?
replace
export
move
mv

A

mv

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

What is the name of the Linux command used for renaming files and directories?
rm
ps
mv
ls

A

mv

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

Which of the Linux commands listed below allows for copying files and directories?
cp
copy
xcopy
robocopy

A

cp

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

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

A

rm

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

What is the function of the Linux chmod command?
Changes file access permissions
Changes file owner and group permissions
Compares the contents of two files or sets of files
Changes the Linux command prompt

A

Changes file access permissions

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

What is the function of the Linux chown command?
Changes the Linux command prompt
Compares the contents of two files or sets of files
Changes file owner and group permissions
Changes file access permissions

A

Changes file owner and group permissions

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

A

su

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

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

A

sudo

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

What is the name of a command-line utility used for managing (i.e., finding, installing, or updating) software packages on Debian and Debian-based Linux distributions?
rpm
dpkg
yum
apt-get

A

apt-get

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

Which of the answers listed below refers to a package management utility used on Red Hat and Red Hat-based Linux distributions?
dpkg
Synaptic
yum
apt-get

A

yum

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

Which of the following answers refers to a Linux command-line utility used for configuring network interfaces?
ip
net config
ipconfig
networksetup

A

ip

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

Which of the Linux commands listed below can be used to display the amount of available disk space?
diskpart
df
chkdsk
diskutil

A

df

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

A Linux command-line command that enables searching files for lines containing a match to a given text pattern is known as:
rm
chmod
find
grep

A

grep

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

What is the name of a Linux command-line utility used for displaying a snapshot of running processes?
ps
tasklist
nbtstat
id

A

ps

17
Q

Which of the following commands in Linux can be used to display help information related to a specific command-line command/utility?
[command name] help
man [command name]
[command name] info
help [command name]
[command name] /?

A

man [command name]

18
Q

Which Linux command-line utility provides a functionality similar to Windows Task Manager?
tasklist
iostat
top
Get-Process

A

top

19
Q

Which of the Linux utilities listed below can be used to display real-time system resources utilization statistics?
taskmgr
top
nbtstat
tasklist

A

top

20
Q

A Linux command-line utility used to search for files and directories is called:
find
path
search
grep

A

find

21
Q

Which of the following answers refers to a Linux network administration command-line utility used for DNS queries?
ping
tracert
dig
pathping

A

dig

22
Q

A Linux command that allows to create, view, and concatenate files is known as:
echo
concat
printf
cat

A

cat

23
Q

Which of the answers listed below refers to a Linux command-line text editor?
nano
gVim
Notepad
gedit

A

nano

24
Q

Which of the following Linux utilities can be used for creating backups?
dd
cpio
rsync
tar
dump
All of the above

A

All of the above