Linux Variables and Commands

Quiz
•
Computers
•
11th Grade
•
Hard
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
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
Similar Resources on Wayground
20 questions
Network ports

Quiz
•
1st Grade - University
20 questions
Key Applications 1

Quiz
•
9th - 12th Grade
15 questions
Code.org CSP Unit 1 Review

Quiz
•
9th - 12th Grade
15 questions
Social Media Basics for Educators

Quiz
•
9th Grade - Professio...
24 questions
Files & File Systems

Quiz
•
9th - 12th Grade
15 questions
Digital Marketing: Web Presence Options

Quiz
•
11th - 12th Grade
15 questions
JavaScript and Graphics

Quiz
•
9th - 12th Grade
20 questions
Operating Systems

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade