$()
globs vs regexes
exit codes
if, [, [[
set
<()
quoting
top shortcuts
startup order
getopts
1. filesystem navigation
2. help
3. view/edit files
4. create/delete files & directories
5. move/copy files, making links, command history
6. directory trees, disk usage, processes
7. misc
8. disk, memory, cpu usage
9. REPLs & versions
10. environment vars
11. basic scripting
12. config files
13. find
14. download
15. redirect
16. superuser
17. file permissions
18. users & groups
19. text ops
20. pattern matches
21. copy files over SSH
22. long-running processes
23. more
meta, basics, everyday usage, files & data, debugging, one-liners, obscure, macOS, windows, resources
1. Unpack a .tar file
2. Download something - be able to resume if something goes wrong
3. Generate a random, 20-character password for a new online account
4. Downloaded a file - test the checksum
5. Limit ping to five attempts
6. Start a web server in any folder
7. See how fast your network is with Speedtest-cli
8. See your external IP address
9. See your local IP address?
10. Clear the screen.
intro, scripts, envt, regexes, sed, awk, conditionals, interactive, repetition, vars, functions, signals
terminal tricks, vars, math, grep, sed, awk, xargs, find, conditionals, loops, time, download, random, xwindow, system, hardware, networking, data ops, others
1. startup (16 scripts)
2. std output (22)
3. std input (8)
4. executing commands (10)
5. shell variables
6. logic & math ops
7. tools
8. more tools
9. finding files
10. more scripting features
11. dates & times
12. example user tasks as scripts
13. parsing, etc
14. secure scripts
15. advanced topics
16. config / customization
17. admin tasks
18. shortcuts
19. tips & traps
A. options (multiple)
B. examples
C. command line processing
D. revisino control
E. build from source
a command-line benchmarking tool
1. getting started
2. shebang
3. directory navigation
4. listing files
5. cat
6. grep
7. aliasing
8. jobs & processes
9. redirects
10. control structures
variables
quoting variables
global, local, environment variables
for loops
if statements
functions
always quote your vars
return quotes
background processes,br> set -e, set -x, set -u
linting
1. basics
2. param expansions
3. loops
4. functions
5. conditionals
6. arrays
7. dicts
8. options 9. command history
10. miscellaneous*
1. intro
2. actions
3. package managers
4. dot files
5. VIM
6. aliases
7. scripts