Linux Commands Flashcards
Which of the following Linux commands is used to display information about files and directories contained within the current working directory?
ls
A Linux command-line command that enables searching files for lines containing a match to a given text pattern is called:
grep
Which of the following Linux command-line commands enables directory traversal?
cd
The following command can be used for turning off or restarting a Linux host.
shutdown
A Linux command displaying an absolute path to (i.e. full filename of) the current working directory is called:
pwd
A Linux command-line command allowing a user to change his/her own password is known as:
passwd
Which of the following is a Linux command for transferring files/directories to a different directory?
mv
Which Linux command enables copying files and directories?
cp
What is the name of the Linux command used for renaming files and directories?
mv
A command-line command in Linux used for deleting files and directories is known as:
rm
What is the function of the Linux chmod command?
Changes file access permissions
What is the function of the Linux chown command?
Changes file owner and group permissions
A Linux command-line utility used for displaying and modifying network interface configuration settings is called:
ifconfig
Which of the following is a Linux command-line command used for configuring network interface parameters specific to the wireless communication?
iwconfig
What is the name of a Linux command-line utility used for displaying statistics of running processes?
ps
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?
su
A Linux command that temporarily modifies security privileges to allow an execution of a single command that requires root access permissions is called:
sudo
Which of the following is a package management system most often used on Debian and Debian-based Linux distributions?
APT
What is the name of a software tool used for finding and installing software packages on Debian and Debian-based Linux distributions?
apt-get
Which of the following commands is used for invoking a text editor in Unix-like operating systems?
vi
A low-level utility that can be used for creating/restoring filesystem backup copies in Linux is called:
dd
Which of the Linux command-line commands allows to terminate a running process?
kill