Programming Medium

Databases & DevOps: Bash Scripting

Bash scripts automate the repetitive parts of DevOps work — backups, deployments, scheduled jobs. This quiz tests the scripting fundamentals behind that automation.

Questions cover variables and the shebang line, conditional statements, command-line arguments, output redirection, cron jobs for scheduling, and capturing a command's exit status.

Could you write a backup script with rotation logic from scratch? This quiz checks the building blocks.

Start quiz → Opens in a new tab on Cletica
Sample questions3 of 13 shown
Q1
Which symbol is used to denote a variable in bash scripting?
Q2
What does the 'grep' command do in bash?
Q3
Which of the following are valid ways to execute a bash script? (Select all that apply)
Answer all 13 questions on Cletica →

What This Quiz Covers

Cletica

Want to create your own quiz?

Build surveys and quizzes, share with anyone, collect responses — free to start.

Try Cletica for free →