Linux Variables and Commands

Linux Variables and Commands

11th Grade

20 Qs

quiz-placeholder

Similar activities

Web Design: Chapter 2 Exam

Web Design: Chapter 2 Exam

9th - 12th Grade

20 Qs

iGCSE Computer Science: Software

iGCSE Computer Science: Software

9th - 12th Grade

20 Qs

Linux CLI

Linux CLI

9th - 12th Grade

16 Qs

I.T. 98-365 Windows Server Admin Fundamentals Part 4

I.T. 98-365 Windows Server Admin Fundamentals Part 4

9th - 12th Grade

20 Qs

3.1.2 Cyber Access Control

3.1.2 Cyber Access Control

10th - 12th Grade

23 Qs

Linux Test Prep 1

Linux Test Prep 1

7th Grade - Professional Development

25 Qs

untitled

untitled

7th Grade - University

20 Qs

Crash Course Computer Science #20 - Files & File Systems

Crash Course Computer Science #20 - Files & File Systems

9th - 12th Grade

19 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?