Shared March 19, 2020
A good rule of thumb is to never use "if" statements when writing shell or bash scripts. 90% of the time, you can get what you want more elegantly just with logical operators like && and ||. It makes the difference between ugly and elegant looking and running code.
WEBSITE: https://lukesmith.xyz 🌐❓🔎
DONATE NOW: https://lukesmith.xyz/donate 💰😎👌💯
Don't Be a Bash BRAINLET! (Shell is all about streams!)
A Comprehensive Guide To Tiling Window Managers
You'll never go wrong choosing Independence! (NEETs rule, Wagies drool!)
TryHackMe! Basic Penetration Testing
How to Do 90% of What Plugins Do (With Just Vim)
Bash is Bloated!
Roads should be abolished!
Simulating an epidemic
Layin' down Pipes like a Unix Chad
Don't trust Telegram! Your messages are not secure!
Getting Started With Awesome Window Manager
Let's Shell Script Together: Case statements, audio control and more
Terminal vs. Bash vs. Command line vs. Prompt
Watching the World End from the Linux Command Line!
Bash Scripting - Variables, Arrays, If-Then-Else
Are You Just TOO SMART to Learn Anything?