Keentune
Adaptive skill practice — find your level, get sharper.
Keentune
›
Tools & Platforms
›
Bash & Shell

Bash & Shell practice

uniq and sort
Try one — no signup
What does this print?
printf 'b\na\nb\n' | uniq | wc -l
Start practicing — it’s free
No signup · first signal after 5 answers · your score at session end
Predict what a shell one-liner prints
Master the command line by predicting what pipelines print — echo/printf piped through the text toolkit (sort, uniq, wc, cut, tr, grep, head/tail, rev, seq), shell arithmetic with $(( )), and parameter expansion. Every answer is computed by running the command, so the explanations are exact. Output-prediction over deterministic, side-effect-free one-liners that builds real shell fluency. Part of the Developer track.
• Meets you at your level — never too easy, never too hard.
• Adapts every question to how you’re doing.
• Tracks your level over time. Skill practice, not a test.

New here? Read the Bash & Shell guide

A free 17-minute primer — the mental model, the mistakes beginners make, and what to practice first.

Curriculum

218 concepts across 22 chapters, from foundations through advanced practice — each one a concept the adaptive question bank can teach and test.

A. What the shell is, and how a script runs

9

B. Quoting

9

C. Simple commands, pipelines and lists

9

D. The expansion order, and word splitting

11

E. Parameter expansion operators

14

F. Parameters, variables and attributes

11

G. Command and process substitution

8

H. Arithmetic evaluation

10

I. Filename expansion and pattern matching

10

J. Redirection and file descriptors

12

K. Here-documents and here-strings

6

L. Conditional expressions: test, [ and [[

11

M. Compound commands and control flow

11

N. Shell functions and scoping

10

O. Arrays and associative arrays

11

P. Exit status and error handling

13

Q. Signals and traps

9

R. Job control and processes

9

S. Shell options: set and shopt

8

T. Invocation, startup files and the environment

8

U. The builtins that carry scripts

11

V. Portability: bash versus POSIX sh

8
View the full curriculum →
Keentune is not affiliated with or endorsed by the organizations whose documentation informs these maps.
Start practicing — it’s free
No signup · first signal after 5 answers · your score at session end
Explore all skills on Keentune
Also on your phone
All exam, test, and product names and trademarks are the property of their respective owners and are used here for identification and reference only. Keentune is independent study practice — not affiliated with, authorized, or endorsed by any of these organizations.
© 2026 SportaApp LLC