Never say "If" writing a Bash script! (Exit codes & logical operators)
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 💰😎👌💯
Видео Never say "If" writing a Bash script! (Exit codes & logical operators) канала Luke Smith
WEBSITE: https://lukesmith.xyz 🌐❓🔎
DONATE NOW: https://lukesmith.xyz/donate 💰😎👌💯
Видео Never say "If" writing a Bash script! (Exit codes & logical operators) канала Luke Smith
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Bash commands to not look dumb at the Interview...Bash Scripting - Variables, Arrays, If-Then-ElseDon't Be a Bash BRAINLET! (Shell is all about streams!)TOP 6 WEB BROWSERS! (5 out of 6 are Blue!)I Don't Use or Trust Wikipedia Anymore.Vim Diesel's OFFICIAL Vimtutor Let's Play/Commentary! (1 HOUR+ Special)Bash is Bloated!Bash in 100 SecondsWatching the World End from the Linux Command Line!A Beginner's Introduction to BASH Shell ScriptingWhy Vim Doesn't Need the MouseTerminal vs. Bash vs. Command line vs. PromptIntroduction to Advanced Bash Usage - James Pannacciulli @ OSCON 2014zathura: A vim-based minimalist PDF/djvu/ps/epub/comic book readerMy 5 Favorite Linux Shell Tricks for SPEEEEEED (and efficiency)Write Your Own Bash Scripts for Automation [Tutorial]Layin' down Pipes like a Unix ChadHow dwm makes me look cool on the internet!!!! #unixporn #soydevThe Simple Terminal: st from Suckless, and how I extend it