Bird
0
0

What is the default shell environment when you install PowerShell on macOS?

easy📝 Conceptual Q1 of 15
PowerShell - Cross-Platform PowerShell
What is the default shell environment when you install PowerShell on macOS?
Afish
Bpwsh (PowerShell Core)
Czsh
Dbash
Step-by-Step Solution
Solution:
  1. Step 1: Understand PowerShell installation on macOS

    PowerShell Core is installed as the default shell named 'pwsh' on macOS.
  2. Step 2: Identify the default shell after installation

    Unlike bash or zsh, PowerShell uses 'pwsh' as its executable shell environment.
  3. Final Answer:

    pwsh (PowerShell Core) -> Option B
  4. Quick Check:

    Default PowerShell shell = pwsh [OK]
Quick Trick: PowerShell on macOS runs with 'pwsh' command by default [OK]
Common Mistakes:
  • Confusing macOS default shell with PowerShell shell
  • Assuming bash is default PowerShell shell
  • Using 'powershell' instead of 'pwsh'

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes