WorksheetsIntroduction to Linux
Total questions: 15
Worksheet time: 27mins
Michael is setting up a new Linux server and needs to perform administrative tasks. Which user account should he use to have full administrative privileges?
administrator
admin
root
linux-administrator
Isla is learning to use the Linux terminal on her new computer. She notices that the command prompt looks different depending on the user. As a non-administrative user, what symbol does Isla usually see at the beginning of her command prompt?
$
#
)
@
Evelyn is setting up her first Linux computer and wants to know which shell she will be using by default. Which of the following is the default shell in Linux?
Korn
C
bash
Power
All commands, file names, directory names, and device names in Linux are case sensitive?
Jackson is working on a Linux system and needs to look inside a text file to check its contents. Which three commands can Jackson use to view the file? (Choose three.)
cat
more
less
look
Harper is learning to use the Linux terminal and wants to list all files in a directory, including hidden ones. Which of the following command syntaxes should Harper use?
command -options arguments
command arguments -options
command name value
command
Grace is working on her Linux computer and wants to open a folder named Projects in the terminal. What command, followed by the directory name, should Grace use to access that specific directory?
cp
cd
access
cdr
Priya wants to organize her project files and needs to create a new folder in her Linux system. Which command should she use to create a new directory?
dir
newdir
mk/dir
mkdir
Grace is organizing files on her Linux system. She wants to create an empty file or update the time and date stamp of an existing file. Which command should she use?
touch
mkfile
intouch
create
Oliver is organizing files and directories on his computer. Which of the following commands is NOT used in the management of files and directories?
ping
mkdir
touch
chmod
Kai is working on a Linux server and needs to edit some configuration files directly from the command line. Which of the following are text editors Kai can use at the Linux command line?
Microsoft Word
gedit
nano
vim
Priya is troubleshooting a network issue on her Linux computer and needs to find out the computer's IP address using the command line. Which commands can she use?
ipconfig
Settings panel
ifconfig
ip addr
Kai is managing a web server on a Linux machine and needs to stop, start, restart, and enable the web service. What command should Kai use to perform these actions?
Task Manager
sysctl
systemctl
services
Anika is troubleshooting network connectivity on her Linux computer. To find the default gateway at the command line, she should type ________.
ifconfig
ipconfig
cat /etc/os/gateway
ip route
Liam is considering which operating system to use for his new tech startup. He wants something that is reliable, widely supported, and cost-effective. Why might Liam choose Linux for his company?
It's FOSS
It's easy to learn and use
Licensing is inexpensive
It's proprietary
