Compare Bash with Other Shells (Zsh, Fish, sh)
📖 Scenario: You are learning about different command-line shells used in computers. Each shell has its own features and ways to run commands. You want to see how Bash compares to other popular shells like Zsh, Fish, and sh.
🎯 Goal: Create a simple script that stores the names of these shells, adds a description for each, and then prints out the list with their descriptions. This will help you understand the differences in a clear way.
📋 What You'll Learn
Create a dictionary called
shells with keys: Bash, Zsh, Fish, shAdd a variable called
highlight_shell set to BashUse a
for loop with variables shell and description to iterate over shellsPrint each shell and its description, marking the
highlight_shell with an arrow💡 Why This Matters
🌍 Real World
Understanding different shells helps you choose the right environment for scripting and daily command-line work.
💼 Career
Many IT and developer jobs require knowledge of shells like Bash and Zsh for automation and system management.
Progress0 / 4 steps