Search Header Logo

Linux Essentials Quiz 2

Authored by Raffael A

Computers

Professional Development

Used 8+ times

Linux Essentials Quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following characters in a shell indicates the shell is running with superuser (root) privileges?

~

#

$

>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol can be used with the cd command to change the current directory to the current user's home directory?

~

#

$

>

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which character starts a comment line in a shell script file?

~

#

$

>

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

When creating a bash script, which of the following must be placed in the first line to make it executable?

~!/tmp/exe

&!/etc/sh

$!/var/log

#!/bin/bash

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following linux commands will display processes that are running on the operating system? (Choose two)

ps aux

cat

top

powershell

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

You want to view the last tools installed by a user with the apt command. Which file contains this information?

/var/log/apt/history.log

/etc/apt/sources.list

/var/lib/apt/lists/installed_packages

/usr/share/apt/recent_installs

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Instead of using password-based authentication, which option is more secure for connecting to a remote server?

Telnet

Open authentication

Rsa-based authentication

Key-based authentication

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?