Bird
0
0

What is the default shell environment when you run PowerShell on a Linux system?

easy📝 Conceptual Q1 of 15
PowerShell - Cross-Platform PowerShell
What is the default shell environment when you run PowerShell on a Linux system?
AZsh shell
BPowerShell Core (pwsh)
CBash shell
DFish shell
Step-by-Step Solution
Solution:
  1. Step 1: Understand PowerShell on Linux environment

    PowerShell on Linux runs as PowerShell Core, which is cross-platform and invoked by the command 'pwsh'.
  2. Step 2: Differentiate from native Linux shells

    Bash, Zsh, and Fish are native Linux shells, but PowerShell on Linux uses its own shell environment.
  3. Final Answer:

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

    Default shell = PowerShell Core (pwsh) [OK]
Quick Trick: PowerShell on Linux runs with 'pwsh' command by default [OK]
Common Mistakes:
  • Confusing PowerShell with Bash shell
  • Assuming Linux default shells run PowerShell commands
  • Thinking PowerShell uses Bash syntax by default

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes