Exam Compass - Common Linux Commands Quiz Flashcards
Which Linux command allows to display information about files and directories contained within the current working directory?
pwd
ls
grep
ps
ls
A Linux command displaying an absolute path to (i.e., full filename of) the current working directory is called:
mv
pwd
rm
dir
pwd
Which Linux command-line command is used for transferring files/directories to a different directory?
replace
export
move
mv
mv
What is the name of the Linux command used for renaming files and directories?
rm
ps
mv
ls
mv
Which of the Linux commands listed below allows for copying files and directories?
cp
copy
xcopy
robocopy
cp
A command-line command in Linux used for deleting files and directories is known as:
erase
rm
del
edit
rm
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
Changes file access permissions
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
Changes file owner and group permissions
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
su
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
sudo
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
apt-get
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
yum
Which of the following answers refers to a Linux command-line utility used for configuring network interfaces?
ip
net config
ipconfig
networksetup
ip
Which of the Linux commands listed below can be used to display the amount of available disk space?
diskpart
df
chkdsk
diskutil
df
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
grep
What is the name of a Linux command-line utility used for displaying a snapshot of running processes?
ps
tasklist
nbtstat
id
ps
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] /?
man [command name]
Which Linux command-line utility provides a functionality similar to Windows Task Manager?
tasklist
iostat
top
Get-Process
top
Which of the Linux utilities listed below can be used to display real-time system resources utilization statistics?
taskmgr
top
nbtstat
tasklist
top
A Linux command-line utility used to search for files and directories is called:
find
path
search
grep
find
Which of the following answers refers to a Linux network administration command-line utility used for DNS queries?
ping
tracert
dig
pathping
dig
A Linux command that allows to create, view, and concatenate files is known as:
echo
concat
printf
cat
cat
Which of the answers listed below refers to a Linux command-line text editor?
nano
gVim
Notepad
gedit
nano
Which of the following Linux utilities can be used for creating backups?
dd
cpio
rsync
tar
dump
All of the above
All of the above