
Linux Administration Bootcamp: Go from Beginner to Advanced - Customizing the Shell Prompt
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which environment variable is used to customize the primary prompt string in bash?
PS1
PROMPT
BASH_PROMPT
SHELL_PROMPT
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the formatting string '\\H' display in a bash prompt?
Username
Short hostname
Fully qualified domain name
Current time
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the formatting string '\\w' display in a bash prompt?
Username
Current working directory
Current time
Hostname
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you ensure that your customized bash prompt persists across logins?
By setting the prompt in the terminal each time
By using a special shell script
By adding the PS1 value to the bash_profile file
By using the 'save' command
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the '~' symbol represent in a bash prompt?
Parent directory
Home directory
Root directory
Current directory
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command can be used to edit the bash_profile file?
edit
prompt
nano
bash
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you create a multiline prompt in bash?
By editing the shell script
By using '\\n' in the PS1 variable
By setting multiple PS1 variables
By using a special multiline command
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
6 questions
The Complete Practical Docker Guide - Exploring Frontend Container from Inside
Interactive video
•
University
6 questions
Linux Crash Course for Beginners - 2023 - Shell Scripting
Interactive video
•
University
6 questions
AZ-104: Microsoft Azure Administrator Full Course - Types of Azure AD Users
Interactive video
•
University
6 questions
Elasticsearch 7 and Elastic Stack - In Depth and Hands On! - X-Pack Security
Interactive video
•
University
6 questions
AZ-204 Developing for Microsoft Azure Exam Prep - Introduction to Azure Active Directory (AD)
Interactive video
•
University
6 questions
Generative AI Art for Beginners - Using Images as Part of Your Prompt
Interactive video
•
University
8 questions
Python for Network Forensics 2.1: Enumerating Directories
Interactive video
•
University
6 questions
Linux Fundamentals - Xargs Command
Interactive video
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University