[{"id":"bashintermediate-001","domain":"syntax-and-commands","topic":"Pipeline status with pipefail","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"b","rev":1},{"id":"bashintermediate-002","domain":"syntax-and-commands","topic":"Exceptions to set -e","kind":"scenario","interaction":{"type":"true-false"},"options":["a","b"],"answer":"a","rev":1},{"id":"bashintermediate-003","domain":"syntax-and-commands","topic":"Chaining && and ||","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-004","domain":"syntax-and-commands","topic":"Subshells lose variable changes","kind":"scenario","interaction":{"type":"multiple","tellCount":true},"options":["a","b","c","d","e","f"],"answer":"ab","rev":1},{"id":"bashintermediate-005","domain":"syntax-and-commands","topic":"Arithmetic for loops","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-006","domain":"syntax-and-commands","topic":"Case fallthrough with ;&","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-007","domain":"syntax-and-commands","topic":"Regex matching with =~","kind":"scenario","interaction":{"type":"true-false"},"options":["a","b"],"answer":"b","rev":1},{"id":"bashintermediate-008","domain":"syntax-and-commands","topic":"Pattern matching with == in [[ ]]","kind":"scenario","interaction":{"type":"multiple","tellCount":true},"options":["a","b","c","d","e","f"],"answer":"ab","rev":1},{"id":"bashintermediate-009","domain":"syntax-and-commands","topic":"Function return status","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-010","domain":"syntax-and-commands","topic":"Select menus","kind":"scenario","interaction":{"type":"sort","items":4},"options":[],"answer":"o:abcd","rev":1},{"id":"bashintermediate-011","domain":"expansion-and-quoting","topic":"String length with ${#var}","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-012","domain":"expansion-and-quoting","topic":"Suffix and prefix removal with ${var%pattern}","kind":"scenario","interaction":{"type":"multiple","tellCount":true},"options":["a","b","c","d","e","f"],"answer":"ab","rev":1},{"id":"bashintermediate-013","domain":"expansion-and-quoting","topic":"Search and replace with ${var/old/new}","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-014","domain":"expansion-and-quoting","topic":"Case conversion with ${var^^}","kind":"scenario","interaction":{"type":"true-false"},"options":["a","b"],"answer":"b","rev":1},{"id":"bashintermediate-015","domain":"expansion-and-quoting","topic":"Substrings with ${var:offset:length}","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-016","domain":"expansion-and-quoting","topic":"Arithmetic expansion with $(( ))","kind":"scenario","interaction":{"type":"multiple","tellCount":true},"options":["a","b","c","d","e","f"],"answer":"ab","rev":1},{"id":"bashintermediate-017","domain":"expansion-and-quoting","topic":"Process substitution with <( )","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-018","domain":"expansion-and-quoting","topic":"Custom IFS delimiters","kind":"scenario","interaction":{"type":"true-false"},"options":["a","b"],"answer":"a","rev":1},{"id":"bashintermediate-019","domain":"expansion-and-quoting","topic":"Order of expansions","kind":"scenario","interaction":{"type":"sort","items":5},"options":[],"answer":"o:abcde","rev":1},{"id":"bashintermediate-020","domain":"expansion-and-quoting","topic":"Recursive globbing with globstar","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-021","domain":"variables-and-arrays","topic":"Appending to a variable with +=","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-022","domain":"variables-and-arrays","topic":"Explicit indexed arrays with declare -a","kind":"scenario","interaction":{"type":"true-false"},"options":["a","b"],"answer":"b","rev":1},{"id":"bashintermediate-023","domain":"variables-and-arrays","topic":"Arithmetic array subscripts","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-024","domain":"variables-and-arrays","topic":"Expanding all array elements","kind":"scenario","interaction":{"type":"multiple","tellCount":true},"options":["a","b","c","d","e","f"],"answer":"ac","rev":1},{"id":"bashintermediate-025","domain":"variables-and-arrays","topic":"Integer attribute with declare -i","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-026","domain":"variables-and-arrays","topic":"Namerefs with declare -n","kind":"scenario","interaction":{"type":"multiple","tellCount":true},"options":["a","b","c","d","e","f"],"answer":"ab","rev":1},{"id":"bashintermediate-027","domain":"variables-and-arrays","topic":"Indirect expansion with ${!name}","kind":"scenario","interaction":{"type":"sort","items":4},"options":[],"answer":"o:abcd","rev":1},{"id":"bashintermediate-028","domain":"variables-and-arrays","topic":"Readonly variables","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-029","domain":"variables-and-arrays","topic":"RANDOM and SECONDS variables","kind":"scenario","interaction":{"type":"true-false"},"options":["a","b"],"answer":"a","rev":1},{"id":"bashintermediate-030","domain":"variables-and-arrays","topic":"PS4 trace prefix","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-031","domain":"redirection-and-processes","topic":"Order of redirections","kind":"scenario","interaction":{"type":"sort","items":4},"options":[],"answer":"o:abcd","rev":1},{"id":"bashintermediate-032","domain":"redirection-and-processes","topic":"Redirecting stdout and stderr together","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-033","domain":"redirection-and-processes","topic":"Overwriting files with > and >|","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"b","rev":1},{"id":"bashintermediate-034","domain":"redirection-and-processes","topic":"Closing a file descriptor with <&-","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-035","domain":"redirection-and-processes","topic":"Quoted here-document delimiters","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"b","rev":1},{"id":"bashintermediate-036","domain":"redirection-and-processes","topic":"Tab-stripping here documents with <<-","kind":"scenario","interaction":{"type":"true-false"},"options":["a","b"],"answer":"b","rev":1},{"id":"bashintermediate-037","domain":"redirection-and-processes","topic":"Bourne builtins: remembered state and EXIT trap","kind":"scenario","interaction":{"type":"multiple","tellCount":true},"options":["a","b","c","d","e","f"],"answer":"ab","rev":1},{"id":"bashintermediate-038","domain":"redirection-and-processes","topic":"SIGHUP when an interactive shell exits","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-039","domain":"redirection-and-processes","topic":"Signals an interactive shell ignores","kind":"scenario","interaction":{"type":"true-false"},"options":["a","b"],"answer":"b","rev":1},{"id":"bashintermediate-040","domain":"redirection-and-processes","topic":"Waiting for background jobs","kind":"scenario","interaction":{"type":"multiple","tellCount":true},"options":["a","b","c","d","e","f"],"answer":"ab","rev":1},{"id":"bashintermediate-041","domain":"shell-configuration","topic":"The !! event designator","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-042","domain":"shell-configuration","topic":"The !$ word designator","kind":"scenario","interaction":{"type":"multiple","tellCount":true},"options":["a","b","c","d","e","f"],"answer":"ab","rev":1},{"id":"bashintermediate-043","domain":"shell-configuration","topic":"Substitution modifier :s","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-044","domain":"shell-configuration","topic":"Readline key bindings in .inputrc","kind":"scenario","interaction":{"type":"true-false"},"options":["a","b"],"answer":"b","rev":1},{"id":"bashintermediate-045","domain":"shell-configuration","topic":"Vi editing mode","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-046","domain":"shell-configuration","topic":"nullglob option","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-047","domain":"shell-configuration","topic":"PROMPT_COMMAND","kind":"scenario","interaction":{"type":"true-false"},"options":["a","b"],"answer":"a","rev":1},{"id":"bashintermediate-048","domain":"shell-configuration","topic":"Aliases take no arguments","kind":"scenario","interaction":{"type":"multiple","tellCount":true},"options":["a","b","c","d","e","f"],"answer":"ab","rev":1},{"id":"bashintermediate-049","domain":"shell-configuration","topic":"Running commands with bash -c","kind":"scenario","interaction":{"type":"single"},"options":["a","b","c","d"],"answer":"a","rev":1},{"id":"bashintermediate-050","domain":"shell-configuration","topic":"Command lookup and the hash table","kind":"scenario","interaction":{"type":"sort","items":4},"options":[],"answer":"o:abcd","rev":1}]