_ _ ___ __ _ _ __
| | | / __|/ _` | '_ \ You Suck at Programming
| |_| \__ \ (_| | |_) | Episodes and guide by dave eddy
\__, |___/\__,_| .__/ https://ysap.sh | https://daveeddy.com
__/ | | |
|___/ |_| Source: https://github.com/bahamas10/ysap
# join the community
+ --------- + ------------------------- +
| YouTube | https://ysap.sh/youtube |
| Instagram | https://ysap.sh/instagram |
| TikTok | https://ysap.sh/tiktok |
| Merch | https://ysap.sh/merch |
| Discord | https://ysap.sh/discord |
+ --------- + ------------------------- +
+ -------------------------- + -------------------------------------- + -------------------- +
| TITLE | DESCRIPTION | VIDEO |
+ -------------------------- + -------------------------------------- + -------------------- +
| 1. Bash Intro | An introduction to bash | https://ysap.sh/v/1 |
| 2. Bash Arguments | Parsing arguments in bash | https://ysap.sh/v/2 |
| 3. Bash Reading Files | Reading files in bash | https://ysap.sh/v/3 |
| 4. Subshell Basics | What happens when you find | while | https://ysap.sh/v/4 |
| 5. Bash Line Parsing | Parsing lines with builtins | https://ysap.sh/v/5 |
| 6. Bash and DTrace | Using dtrace and bash | https://ysap.sh/v/6 |
| 7. Bash manpage | How to read the manpage with man | https://ysap.sh/v/7 |
| 8. Bash Commands | Commands, functions, aliases, builtins | https://ysap.sh/v/8 |
| 9. Bash Variables | Basics of variables | https://ysap.sh/v/9 |
| 10. Bash Config | How to create a config file | https://ysap.sh/v/10 |
| 11. Bash Regex | Using regex in pure bash | https://ysap.sh/v/11 |
| 12. Bash Time | Timing commands with time | https://ysap.sh/v/12 |
| 13. Bash Date | Parsing dates in bash | https://ysap.sh/v/13 |
| 14. Fork Bomb Understood | Creating a fork bomb in bash | https://ysap.sh/v/14 |
| 15. Bash Readline | Readline and terminal shortcuts | https://ysap.sh/v/15 |
| 16. Actually Fork Bombing | This is how to fork bomb a machine | https://ysap.sh/v/16 |
| 17. Safe Fork Bomb | How to safely understand a fork bomb | https://ysap.sh/v/17 |
| 18. IO Redirection | Redirects and pipelines | https://ysap.sh/v/18 |
| 19. Quotes and SSH | How to quote variables over ssh | https://ysap.sh/v/19 |
| 20. Bash Arrays | Understanding arrays in bash | https://ysap.sh/v/20 |
| 21. Escaping Quotes | Quote wrangling in bash | https://ysap.sh/v/21 |
| 22. Backtick Commands | How to handle backticks | https://ysap.sh/v/22 |
| 23. Login Shells | .bashrc vs .bash_profile vs .profile | https://ysap.sh/v/23 |
| 24. SSH Port Forward | Understanding ssh -L local forwarding | https://ysap.sh/v/24 |
| 25. SSH keys | id_rsa and ssh keys | https://ysap.sh/v/25 |
| 26. Parameter Expansion | ${parameter//expansions} in bash | https://ysap.sh/v/26 |
| 27. Unix Signals | Unix signals with kill | https://ysap.sh/v/27 |
| 28. Local Return Codes | Bash functions and exit codes | https://ysap.sh/v/28 |
| 29. GNU Utils | GNU Tools can be slightly unique | https://ysap.sh/v/29 |
| 30. IFS Variable | IFS variable in scripts | https://ysap.sh/v/30 |
| 31. Simple File Globbing | Understand shopt -s nullglob | https://ysap.sh/v/31 |
| 32. Process ptools | Using tools like pkill and pgrep | https://ysap.sh/v/32 |
| 33. PS1 Prompt | Custom prompt for bash with PS1 | https://ysap.sh/v/33 |
| 34. Is a TTY | Tell if you're on a TTY w/ isatty(3) | https://ysap.sh/v/34 |
| 35. Zombie Processes | What is a defunct process? | https://ysap.sh/v/35 |
| 36. Parens vs Curly | () vs {} in bash | https://ysap.sh/v/36 |
| 37. SSH Scripts | Run commands over ssh | https://ysap.sh/v/37 |
| 38. For Loop vs While Loop | When to use for vs while | https://ysap.sh/v/38 |
+ -------------------------- + -------------------------------------- + -------------------- +
last updated: Wed Nov 20 17:15:44 UTC 2024
# get the list of episodes
$ curl ysap.sh
# get the list of episodes without color
$ curl ysap.sh/nocolor
# get the list of episodes in json format
$ curl ysap.sh/json
# get the help and usage docs
$ curl ysap.sh/help
# get your current IP address as a string
$ curl ysap.sh/ip
# get a 200 with the text "pong"
$ curl ysap.sh/ping
# buy me a coffee
> https://ysap.sh/ko-fi