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
15 questions
LO2 Understanding Computer Software

Quiz
•
11th - 12th Grade
20 questions
QuickBooks Online Exam Review

Quiz
•
9th - 12th Grade
20 questions
039_Zero-day Vulnerabilities – CompTIA Security+ SY0-701 – 2.3

Quiz
•
9th - 12th Grade
22 questions
App Inventor Basics Quiz

Quiz
•
9th - 12th Grade
20 questions
8.2 Database Management Systems (DBMS) Cambridge iAS 9618

Quiz
•
11th Grade
20 questions
Linux File Permissions

Quiz
•
9th - 12th Grade
15 questions
La shell di Linux

Quiz
•
9th - 12th Grade
18 questions
Edexcel Computer Science 2020 - Unit 04 - Quiz 01

Quiz
•
8th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade