Shell
Learn shell scripting by typing real commands.
Type your way to shell fluency: pipelines, variables and quoting, conditionals and loops, parameter expansion, and the command substitution that glues tools together. Each snippet is real Bash, and an AI tutor explains every line — why quoting a variable prevents word splitting, how a pipe streams data between commands — so the terminal stops feeling like guesswork as you build speed.
Progress0 / 182 solved · 0/12 sections
best wpm
0
avg wpm
0
accuracy
0%
runs
0
level
1
rating
1000
Run Shell on your machine
1. Install the toolchain
bash ships with macOS/Linux2. Save your code as script.sh, then compile & run
bash script.sh # or: chmod +x script.sh && ./script.shprogress by section
1Fundamentals0/17start →
2Strings In Depth0/17start →
3Text Processing0/18start →
grep basicshead and tailwc -l and -wawk print columnscut -d -fsed substitute s///gsort, numeric, reversecolumn -t aligngrep -i, -v, -ctee split outputtr translate and deleteuniq and uniq -cawk running sumgrep -E extended regexsed delete and printawk -F and patternspaste columns togethercomm compare sorted
4File I/O0/14Unlock →
5Networking0/20Unlock →
ping a hostcurl GET with headersDownload a fileDNS lookup with hostCheck your public IPFollow redirectsHTTP status checkDNS lookup with digip addr and ip routeRun a remote SSH commandcurl POST JSONtraceroute the pathnetcat port checkList open ports (ss)Parse JSON with jqCopy files with scp and rsyncTCP port test via /dev/tcpDownload and verify checksumHealth-check loopRetry with backoff