Bash & the POSIX Shell interview questions
Bash & the POSIX Shell interview questions in 17 module banks: what each bank covers, how many questions it holds and the levels they are asked at.
-
Module 1
Start here: the shell, the terminal and your first script
12 questions: 4 warm-ups and 8 with model answers · Levels: Fresher to senior
-
Module 2
How Bash reads a command line
17 questions: 6 warm-ups and 11 with model answers · Levels: Fresher to staff
-
Module 3
Variables, parameters and arithmetic
18 questions: 6 warm-ups and 12 with model answers · Levels: Fresher to staff
-
Module 4
Exit status, tests and branching
12 questions: 4 warm-ups and 8 with model answers · Levels: Fresher to senior
-
Module 5
Loops
9 questions: 3 warm-ups and 6 with model answers · Levels: Fresher to senior
-
Module 6
Redirection, pipes and substitution
15 questions: 5 warm-ups and 10 with model answers · Levels: Fresher to senior
-
Module 7
Functions and script structure
9 questions: 3 warm-ups and 6 with model answers · Levels: Fresher to staff
-
Module 8
Arrays and lists
9 questions: 3 warm-ups and 6 with model answers · Levels: Fresher to senior
-
Module 9
Robust scripts: errors, traps and debugging
12 questions: 4 warm-ups and 8 with model answers · Levels: Fresher to senior
-
Module 11
Text processing: the Unix toolbox
36 questions: 11 warm-ups and 25 with model answers · Levels: Fresher to senior
-
Module 12
Processes, jobs and signals
15 questions: 5 warm-ups and 10 with model answers · Levels: Fresher to staff
-
Module 13
The interactive shell
9 questions: 3 warm-ups and 6 with model answers · Levels: Fresher to senior
-
Module 14
Portability: POSIX sh, versions and platforms
12 questions: 4 warm-ups and 8 with model answers · Levels: Fresher to staff
-
Module 15
Security for shell scripts
8 questions: 3 warm-ups and 5 with model answers · Levels: Fresher to staff
-
Module 16
Quality: ShellCheck, tests, style and speed
12 questions: 4 warm-ups and 8 with model answers · Levels: Fresher to staff
-
Module 17
Scripts in the real world
16 questions: 5 warm-ups and 11 with model answers · Levels: Fresher to senior
-
Module 18
Choosing tools and interview preparation
8 questions: 3 warm-ups and 5 with model answers · Levels: Fresher to staff