Linux Variables and Commands

Linux Variables and Commands

11th Grade

20 Qs

quiz-placeholder

Similar activities

Test DEBIAN

Test DEBIAN

11th Grade

15 Qs

Linux Test Prep 2

Linux Test Prep 2

8th Grade - Professional Development

25 Qs

WEB & DNS

WEB & DNS

11th Grade

20 Qs

Files & File Systems

Files & File Systems

9th - 12th Grade

24 Qs

Digital Marketing: Web Presence Options

Digital Marketing: Web Presence Options

11th - 12th Grade

15 Qs

JavaScript and Graphics

JavaScript and Graphics

9th - 12th Grade

15 Qs

Operating Systems

Operating Systems

10th - 12th Grade

20 Qs

Network ports

Network ports

1st Grade - University

20 Qs

Linux Variables and Commands

Linux Variables and Commands

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Wayground Content

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

EUID

The current user's ID number.

The user's email address.

The user's password.

The user's session token.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

MAIL

The path to the current user's mailbox file.

The location of the user's email server.

The default email application on the user's device.

The settings for the user's email account.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Shell variable

A Linux variable that is not inherited by child shells and processes.

A global variable accessible by all processes.

A variable that stores user preferences in Linux.

A temporary variable used for session management.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

BASHOPTS

The list of options that were used when Bash was executed.

A command to display the current directory in Bash.

A variable that stores the last executed command in Bash.

A function to list all available Bash commands.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

User variable

A variable that is defined in the system's environment settings.

A Linux shell variable that is typically defined at the shell prompt or added when scripts that are defined in a user's profile are run.

A variable that is only accessible within a specific function or block of code.

A variable that is automatically generated by the operating system.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

HOME

The absolute path of the user's home directory.

The location where system files are stored.

A temporary directory for storing files.

The directory containing all user applications.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

HISTFILE

The filename where past commands are stored.

A command to clear the terminal history.

A file that stores system logs.

The name of the current user session.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?