Variables, Conditionals, and BASH (Linux+ Objective 3.1.1)

  Рет қаралды 1,773

Shawn Powers

Shawn Powers

7 ай бұрын

When creating automations on the Linux commandline, it's vital to understand how BASH variables work, including parent/child inheritance. Then, when comparing items, conditionals allow a script to perform different operations depending on what the variables contain.
Much of the footage in this video is taken from my BASH Scripting playlist, available on this channel: snar.co/bash
The CompTIA Linux+ objectives are available here: snar.co/plusobjectives
WAYS TO SUPPORT SHAWN
---------------------------------------------
Patreon: / shawnp0wers
Merch: store.nerdlings.net
SuperStickers, etc!
WAYS TO SUPPORT EACH OTHER
-------------------------------------------------------
1) Be Kind
2) Answer comments/questions here
3) Ask/Answer questions on our Discord: snar.co/discord
WAYS TO FIND SHAWN OTHER PLACES
----------------------------------------------------------------
Landing Page: shawnp0wers.com
Join this channel to get access to perks:
/ @shawnp0wers
#linux #comptia #bashscripting

Пікірлер: 19
@obrienortega6942
@obrienortega6942 6 ай бұрын
Passed my Linux+ exam today. Thank you for these videos. They're were very helpful.
@MrRolandFromPoland
@MrRolandFromPoland 5 ай бұрын
Amazing Linux+ material! Thank you for your hard work on the series
@nickschaffer4307
@nickschaffer4307 6 ай бұрын
Hi Shawn! Just finished your Linux+ course so far. I have a CBT Nugget subscription and saw you were on there for the last version of the test so i'll head over there and see how far I can get. I appreciate you making these videos interesting. I have scheduled my Exam for the 8th of JAN. I went through Jason Dion's Linux+ course and this is 10x better. More interesting and the content is well done. Thanks!
@DrMerciless
@DrMerciless 4 ай бұрын
Not all hero's wear capes. Some actually have Powers.
@ztwilli2
@ztwilli2 4 ай бұрын
Shawn, I really appreciate your content. I'm currently using these videos to prepare for the Linux+ certification this year. Thank you for your work. I've done video tutorials in my last 2 jobs and know it's a lot of work to prepare the material (organize it in an understandable way), film it (with bloopers), and then editing it. I know that for every 30 mins of footage, you're probably spending 5-10+ hours off screen. Great Job!!!
@adahywoodcraft2241
@adahywoodcraft2241 4 ай бұрын
Just passed my Linux+! Thank you Shawn for the free resources!
@shawnp0wers
@shawnp0wers 3 ай бұрын
Congrats!!!!!🎉
@DV-ml4fm
@DV-ml4fm 7 ай бұрын
Great video, as always. I've never seen the @ symbol used in if statements before. I've learned something new today. 😂
@GestionLecavalierRuizInc
@GestionLecavalierRuizInc 7 ай бұрын
So great to see you back!
@Thomas_Grusz
@Thomas_Grusz 6 ай бұрын
Always enjoying your Linux tutorials, gald you're back! 🙂
@shawnp0wers
@shawnp0wers 6 ай бұрын
More to come!
@jesusblanca3246
@jesusblanca3246 5 ай бұрын
At last Shawn, its been a while. been waiting for you. Please keep going. Thanks. Happy New Year!
@samplesandtests
@samplesandtests 7 ай бұрын
is bash implied? the Linux+ objectives just says shell scripting. would the enhanced bash functionality cause an issue on the test, if they are expecting a more agnostic scripting environment?
@shawnp0wers
@shawnp0wers 7 ай бұрын
I think implied just by tradition. Likely, any references in the test will be 100% POSIX compliant, but I talk about things like double brackets so when people find code snippets on the internet they'll have a clue why it might or might not work. (I go more in depth with the BASH course, but yeah, I don't feel too bad specifically using BASH here)
@inteliconn995
@inteliconn995 7 ай бұрын
Thanks!
@AdvaitaVedantaHUB
@AdvaitaVedantaHUB 6 ай бұрын
yo whens the next video? everyone is waiting mate! thank you so much by the way
@tonyc2119
@tonyc2119 6 ай бұрын
So next video Feb 11, 2024?
@shawnp0wers
@shawnp0wers 6 ай бұрын
Look, I’m trying my best. I’m having a difficult time settling into my new job. And my wife recently had surgery, so I have to help transport her everywhere. I’m not intentionally leaving people hanging.
@april9606
@april9606 6 ай бұрын
@@shawnp0wers really appreciate what you have contributed to my linux+ journey you basically almost have me to the finish line really greatful
Linux Loops: FOR, WHILE, and UNTIL (Linux+ Objective 3.1.2)
19:39
Shawn Powers
Рет қаралды 1,4 М.
Use SSH Like a PRO!
22:55
Shawn Powers
Рет қаралды 3,2 М.
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 50 МЛН
5 Good Python Habits
17:35
Indently
Рет қаралды 394 М.
SELinux Part1
9:11
uadmin
Рет қаралды 2,1 М.
Bash Scripting - Variables, Arrays, If-Then-Else
38:52
DistroTube
Рет қаралды 46 М.
BASH scripting will change your life
14:18
NetworkChuck
Рет қаралды 999 М.
This Zsh config is perhaps my favorite one yet.
17:24
Dreams of Autonomy
Рет қаралды 146 М.
Learning Awk Is Essential For Linux Users
20:02
DistroTube
Рет қаралды 286 М.
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 30 МЛН
🔥Идеальный чехол для iPhone! 📱 #apple #iphone
0:36
Не шарю!
Рет қаралды 1,3 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,6 МЛН