Bashing The Bash [Season 1 Episode 1] || CS create script for cd shortcuts - Bash Beginner tutorial!
Terminal_Heat_Sink
Hello there ladies and gentlemen,
This is a new series that I have concocted called Bashing the Bash. In the following episodes we will look at building some interesting and even scripts.
This series will follow a sort of a tutorial structure but I hope that by writing scripts that I have written and use personally it wont be as monotonous as some of the other ( probably better lol ) tutorials out there.
Plan for upcoming episodes is: Episode 1 - shortcut manager script for cd called cs Episode 2 - finish off cs Episode 3 - mounting hard drives reliably with support for luks, veracrypt Episode 4 - Hollywood hacker suicide script ( for fun ) .... this will be fairly long so might split it up into more than one episode. Episode 5 - ? need to come up with something.
GitHub link: https://github.com/ArtiomSu/YouTube/tree/master/Bashing_The_Bash
This Episode: CS script Link to cs script: https://github.com/ArtiomSu/YouTube/tree/master/Bashing_The_Bash/cs
This episode goes through what bash is and some basic bashisms. Then we take a look at if statements, elif, and variables, including how command like arguments work. We also optimize the script with the use of case statements.
At the end of the episode you will have a working script that allows you to take shortcuts while cding around the terminal.
In the next episode we will finish off this script by with an introduction to functions, more on subshells and saving a custom path realtime.
If you like what I do you can support me on Patreon https://www.patreon.com/user?u=28429069
Telegram group for Channel https://t.me/Terminal_Heat_Sink_Group
Thank you for watching and bye bye ... https://www.youtube.com/watch?v=8pM3lwjlNnM
106242646 Bytes