0
0
Linux CLIscripting~5 mins

Shell concept (Bash, Zsh) in Linux CLI - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a shell in Linux?
A shell is a program that lets you type commands to control the computer. It acts like a translator between you and the system.
Click to reveal answer
beginner
Name two popular shells used in Linux.
Bash and Zsh are two popular shells. Bash is common and simple, Zsh has more features and customization.
Click to reveal answer
beginner
What does the command prompt in a shell represent?
The prompt shows that the shell is ready to accept your commands. It often shows your username, computer name, and current folder.
Click to reveal answer
beginner
How does a shell script help you?
A shell script is a file with commands you want to run automatically. It saves time by doing tasks for you without typing each command.
Click to reveal answer
intermediate
What is the difference between Bash and Zsh?
Bash is the default shell on many systems and is simple to use. Zsh offers more features like better auto-completion, themes, and plugins for easier use.
Click to reveal answer
What is the main role of a shell in Linux?
ATo store files on the computer
BTo display images on the screen
CTo accept and run commands typed by the user
DTo manage internet connections
Which shell is known for having many features and customization options?
AZsh
BCmd
CBash
DPowerShell
What does a shell script do?
ARuns a set of commands automatically
BCreates a new user account
CFormats the hard drive
DDisplays system hardware info
What information might you see in a shell prompt?
AWeather forecast
BUsername and current folder
CList of installed apps
DBattery percentage
Which shell is usually the default on many Linux systems?
ATcsh
BZsh
CFish
DBash
Explain what a shell is and why it is useful in Linux.
Think of the shell as your helper to talk to the computer.
You got /3 concepts.
    Describe the main differences between Bash and Zsh shells.
    Compare their features and user experience.
    You got /3 concepts.