Build your own Elden Ring with Linode: ntck.co/linode and you get a $100 Credit good for 60 days as a new user! In this episode of the BASH scripting series, NetworkChuck covers BASH conditionals and harnesses this power to create Elden Ring inside of a bash script. Along the way, NetworkChuck also covers nested conditionals, or nested if statements, as well as elif and case statements. 0:00 ⏩ Intro 0:29 ⏩ the challenge 1:50 ⏩ Sponsor Message 3:24 ⏩ Elden Ring Script Setup 4:05 ⏩ Bash Conditionals (if statements) 7:58 ⏩ Elden Ring Bash Conditionals 13:40 ⏩ BOSS BATTLE (Using OR in bash) 15:39 ⏩ other options in Bash Conditionals 19:22 ⏩ Nested IF Statements (Bash Conditionals) 21:33 ⏩ ELIF statements 23:53 ⏩ CASE statements (a switcher)
I found lots of spam/scam comments on this video, you should try using the YT spammer purge tool by ThioJoe and you can scan this video and delete all of the spam comments.
Hey man, I know this probably isn't intentional, but I gotta say as someone with pretty severe ADHD, your editing style is SUPER useful for me. I generally have a hard time focusing on videos about coding but the way you jump cut in your face cam shots somehow manages to satisfy my brain and keep me relatively focused. Especially helpful in a case like this where I already know the information but am reviewing it to brush up on stuff for an upcoming interview.
Howcome everybody has ADHD these days? I too have ADHD, but I've always had it. People for some reason all of a sudden all have ADHD now, for some reason? I am confused.
@@omairtech6711 it’s not new or more common, it’s just that ADHD and autistic people spend a lot more time online than others. It’s like going to a weightlifting competition and asking why there are so many weightlifters here lol.
@@galahadcf Good point and I also have autism in addition to ADHD. Also note ADHD and autism is more common among tech folks like hackers, IT Administrators, software engineers, network engineers etc, so there is that.
this video made me miss programming. i'm working a different job right now (i graduated with my BSC like 2 years ago) and although when i graduated i felt myself not enjoying programming (mostly because in the field it's just not as easy/simple as it is here), i do enjoy when the simple concepts are taken and applied to something such as what you did here, make a small game just using conditional statements and variables. if i were to ever teach someone programming this is how i would teach them. i love your videos so please keep making more of them!
Same. I have been a programmer before. Now I'm switching to Cyber Security as I was never really interested in programming but Chuck makes it look so fun.
So funny. I immediately tried to start making a game for my son like this after your second video. But could not figure out how to "exit 1", and it was killing me. Thank you for dropping this!
Your style is addicting ! Thank you again for such a great instructional video! I am on a mission to duplicate this in my own style and see it run! Look forward to the next one! Cheers! ☕️
This series of videos of yours inspired me to learn bash. That's why I decided to create my own tutorial on Udemy, how to learn bash. I also made a game using what you showed here. But I also have one objection or suggestion, I could make a video in which I would show the possibility of the function in Bash. I discovered the existence of bash function to save time, it contains code that I would have to repeat over and over again, And with the function I just call the name of the function as a variable and additional arguments with it. And save tons of code & time.
this is actually crazy you upload this... I started a Command Line game like 1 week ago but in python. So far I only got player with stats/skills, choosing options and almost got the base code done for being able to navigate around to different places (by choosing options like "open the door and go through". Decided to do this because I can't do graphics very well :p
That sounds nice. I probably wouldn't even think of making something like this in Python, even during my 3 years of programming in Python. But I still have yet to learn some gui programming in Python. I did try to make a battleship game with PyGame. But after a few months I decided to abandon it. I've made some rather interesting things in Python. Like a virtual assistant, and it took me several months to make it and to work as I wanted to.
Hi, an important part of many games is Saving! How do you add saving or checkpoints to restart in Bash? Example: every time you dont want to pick class again, you chose samurai and chose to save there, before the first battle
as someone who has learned throughout all of high school and currently college, purely using the internet and its videos 87% of the time, u r hands down one of the best youtubers I have meant. ur words, and sequence, music, video structure are geniunnely genius. u are the evolved version of the outdated US education system on top of other videos online. great as heck. PLES PLES post more bash vids on youtube. U changing the world when u give us free videos to learn, including kids
Thank you for this series! I worked all of them thru, learned so much and had fun doing it Will now continue with another series of yours. Thank you again. Greetings from switzerland
really do love your channel.... as an IT professional earning over 80k a year you still provide such useful and interesting stuff. I am more netwokr than devops but love all your content ....well done sir xx
As someone that has written many many lines of Bash, it's quite nice that there will finally be some high-quality, approachable content about the topic. The number of poor Bash scripts that exist is kind of astounding, compared with other programming languages
i feel like thats mainly cause of bash's nature of being a terminal language. people just use it out of necessity to use terminal programs so it results in unrefined code
Dude these videos were epic. You teach extremely well, but the best part is that you make it fun! Its so hard to find "fun" IT teachers. Everyone's so boring! Anyways, epic videos man. really loved this playlist.
So... this unbelievable thing happened. I watched this video, wrote out the eldenring script, and added some some flourishing with figlet, and lolcat. Took about 30 minutes adding all the neatness I wanted to with just the two parts, a 50/50, and a 1/10 number choice (no cheat codes), ran the script for the first time, and low, and behold, I win... I don't even know who to brag to about about this... But I feel like that can't be common.
It is cool to see the channel going towards the scripting/automation. It will be cool to see some of the concepts you are touching in this video but more in depth, like the testing you used. It is something I use a lot and it is very powerful but we cannot see all possibilities in this video. Like test if the variable has zero value, or test if file exist, or any other testing.
Chunk, what did you do to me? I'm adoring your teaching ways to inspire we people. I loved your contents on python and bash. We will be waiting for new videos! 🙌🏻
Very nice work. I once began as a Full LAMP Stack Developer then at one point crossed over to Full Microsoft Stack. Multi-Tier Object Oriented components working as one. Never been to college, I just use to tinker a lot. For me, Programming/Scripting is a balance of Art and Science. Unfortunately, my mental health isn't so great these days.
Hmm, using WSL I found that the double brackets in the conditional check break the script, but single square brackets works fine. Also, to save and exit nano faster you can just use ctrl-s and then ctrl-x. One handed and only two operations.
thanks Chuck for the nice videos! little mistake there... there's 75-25 winning rate for the user not 50-50, the only case in which the player dies is beast - 1, tarnished - 0, soooo... if (beast == tarnished) then "You won!" else "You died!" will output "You died" on tarnished - 1, beast - 0 which is... sad :))) i wrote it like this if (beast == 1 && tarnished == 0 ) then "You died!" else "You won!"
So I am working on changing this up a bit. I am making it to be, HP+Attack >= beast then you win but if HP+Attack is < beast you lose. I may make it add +5 points to HP/Attack if victorious the first time. Still playing with it. I love python, bash is so similar but so ridiculously different that its awesome
I travel the world searching out different buffets so I can sneak corndogs into them. I carry with me 6 corndogs stuffed away in my jackey pockets. I will then sneak them into the fried food sections of the buffet. It then, is a joy for me to see other patrons of the buffet enjoying my corndogs. They think they are part of the buffet. (;
You know I have a similar quirk that I like to do. I like to enter large grocery stores like Walmart or Trader Joe's with a pocket full of blueberries. I will then trail behind a random person, keeping atleast 5 steps or more behind them. After I am assured that they are unaware of my presence I then keep in-step with them but close enough to reach out and touch them. I will then casually walk past them, sneaking a few blueberries into their pocket. This works a whole lot easier when it is cold outside and people are wearing jackets, and skinny jeans are almost impossible to work with.
I was going to ask why the script didn’t print “You Died at 21:22 when the user was not root but, after looking closer it looks like the logic is: Create and read variable named tarnish Create and set variable named beast If beast is equal to tarnish or tarnish is equal to coffee, then check if the user is root and if so, print “Beast Vanquished”. End the function If beast is not equal to tarnished or tarnished is not equal to coffee, echo “You Died” So we never actually told the program to echo anything in the case where beast == tarnished or tarnished == coffee and the user was not root. Maybe you covered it in the rest of the video - haven’t gotten that far yet, but it was a good exercise for me to work out why that didn’t happen 🙃
As a programmer I really enjoyed this video. If someone taught me bash like this in the beginning, pfeeewwww. Edit: I didn't even need this video but it was so entertaining and this should be the way programming should be taught to beginners.
You know, talking about games and stuff, you sound like Professor Mordin Solus from Mass Effect series hahaha. I’ve meet your channel recently and I’m loving! Great stuff, thanks for sharing!
Read takes a -p arg for prompt so there is no need for another line to print question to user and it can also be assigned to the variable given at the end read -p "do you want to> " myvar and you have $myvar
These do the same thing ($? is the exit code of the previous command): test $? -eq 0 && echo 'ok'; [ $? -eq 0 ] && echo 'ok'; if [ $? -eq 0 ]; then echo 'ok'; fi; if [[ $? -eq 0 ]]; then echo 'ok'; fi; -- the "[" & "test" live in "/usr/bin", check with: ls -l $(which {[,test}) I love bash scripting :D
I followed the steps and made the first beast challenge like "First beast appeared, fight it? (y/n)" and if the player says "y" the script randomly says "You win / you died" and quits lol
I have always pronounced it: ca loc quee al. Colloquial. Yep, the "co" becomes "ca". Sometimes the "llo" is "low", but I've learned to add the "c", as in location (or "my loc is here"). "qui" can be "quee" or "qwee". And "al" pronounced as "all". in 60 years of using that pronunciation, no one has said it's wrong, to my face. If they had, I would have looked for more information on it. The hardest part of it's pronunciation is: CA "LOC QUEE" AL. Getting the "loc" "quee" to roll off the tongue can be hard at first. The is a kinda stop between the two syllables to make the "loc"'s "c" be pronounced. Anyway, this is gonna roll on too long. Good luck!
Love this, but I'm not a fan of "if" statements in Bash they are not needed, logical operators are just nicer, shorter, cleaner and quicker e.g. [[ $coffee = y ]] && echo "You're awesome" || echo "Leave right now" does the same thing. [[ ]] is actually the test operator in bash
I am just starting to learn this at Devry. I love your videos they help me a lot!! I also love playing Elden Ring almost my whole channel is for Elden Ring! This was fun and I can't wait to show my class mates, and send them right here to the man the myth the COFFEE DRINKING LEGEND NETWORKCHUCK!!!
Please consider maybe doing some cool stuff also with Powershell, similar video content to Bash. There are a lot of people working to Devops specific to Azure and Powershell is more used in those cases. BTW i like your Bash series!
Very fun, Chuck! I added a few sleep timers between user input and the response from the game to make it feel like an old DOS game. like this: echo "You have chosen the $type class. Your hp is $hp, and your attack is $attack." sleep 1 echo "." sleep 1 echo ". ." sleep 1 echo ". . ." sleep 1 #First beast battle
Dear Chuck, many thanks for all the videos of Bash! Is very usefull for my new job! Could you please continue whit this? I would like to know more about the "case" command :) and make "textual adventure" thank you in advance!
Build your own Elden Ring with Linode: ntck.co/linode and you get a $100 Credit good for 60 days as a new user!
In this episode of the BASH scripting series, NetworkChuck covers BASH conditionals and harnesses this power to create Elden Ring inside of a bash script. Along the way, NetworkChuck also covers nested conditionals, or nested if statements, as well as elif and case statements.
0:00 ⏩ Intro
0:29 ⏩ the challenge
1:50 ⏩ Sponsor Message
3:24 ⏩ Elden Ring Script Setup
4:05 ⏩ Bash Conditionals (if statements)
7:58 ⏩ Elden Ring Bash Conditionals
13:40 ⏩ BOSS BATTLE (Using OR in bash)
15:39 ⏩ other options in Bash Conditionals
19:22 ⏩ Nested IF Statements (Bash Conditionals)
21:33 ⏩ ELIF statements
23:53 ⏩ CASE statements (a switcher)
Sir please your insta id
Can you do a video about silver bullet or openbullet program plz
have you got the link to the .sh file?
You are the best teacher in the world 😉
Please make more videos of bash scripting
I found lots of spam/scam comments on this video, you should try using the YT spammer purge tool by ThioJoe and you can scan this video and delete all of the spam comments.
Hey man,
I know this probably isn't intentional, but I gotta say as someone with pretty severe ADHD, your editing style is SUPER useful for me. I generally have a hard time focusing on videos about coding but the way you jump cut in your face cam shots somehow manages to satisfy my brain and keep me relatively focused. Especially helpful in a case like this where I already know the information but am reviewing it to brush up on stuff for an upcoming interview.
Yea its super easy, he motivate us when talking !
Howcome everybody has ADHD these days? I too have ADHD, but I've always had it. People for some reason all of a sudden all have ADHD now, for some reason? I am confused.
@@omairtech6711 it’s not new or more common, it’s just that ADHD and autistic people spend a lot more time online than others. It’s like going to a weightlifting competition and asking why there are so many weightlifters here lol.
@@galahadcf Good point and I also have autism in addition to ADHD. Also note ADHD and autism is more common among tech folks like hackers, IT Administrators, software engineers, network engineers etc, so there is that.
You never make a bad video chuck. Thanks for the content!
this video made me miss programming. i'm working a different job right now (i graduated with my BSC like 2 years ago) and although when i graduated i felt myself not enjoying programming (mostly because in the field it's just not as easy/simple as it is here), i do enjoy when the simple concepts are taken and applied to something such as what you did here, make a small game just using conditional statements and variables. if i were to ever teach someone programming this is how i would teach them. i love your videos so please keep making more of them!
Same. I have been a programmer before. Now I'm switching to Cyber Security as I was never really interested in programming but Chuck makes it look so fun.
So funny. I immediately tried to start making a game for my son like this after your second video. But could not figure out how to "exit 1", and it was killing me. Thank you for dropping this!
Your style is addicting ! Thank you again for such a great instructional video! I am on a mission to duplicate this in my own style and see it run! Look forward to the next one! Cheers! ☕️
yes his style is addicting ...
This series of videos of yours inspired me to learn bash. That's why I decided to create my own tutorial on Udemy, how to learn bash. I also made a game using what you showed here.
But I also have one objection or suggestion, I could make a video in which I would show the possibility of the function in Bash.
I discovered the existence of bash function to save time, it contains code that I would have to repeat over and over again, And with the function I just call the name of the function as a variable and additional arguments with it. And save tons of code & time.
this is actually crazy you upload this...
I started a Command Line game like 1 week ago but in python.
So far I only got player with stats/skills, choosing options and almost got the base code done for being able to navigate around to different places (by choosing options like "open the door and go through".
Decided to do this because I can't do graphics very well :p
Well the fact that you've done that is pretty impressive🍀
no need for fancy graphics if you have use imagination!
That sounds nice. I probably wouldn't even think of making something like this in Python, even during my 3 years of programming in Python. But I still have yet to learn some gui programming in Python. I did try to make a battleship game with PyGame. But after a few months I decided to abandon it.
I've made some rather interesting things in Python. Like a virtual assistant, and it took me several months to make it and to work as I wanted to.
Some really famous games are command line games. Keep going!
Hi, an important part of many games is Saving! How do you add saving or checkpoints to restart in Bash?
Example: every time you dont want to pick class again, you chose samurai and chose to save there, before the first battle
read from a file, if the file is empty, ask the user input and save to that file, if the file is not empty, just load its contents.
@@alexradu1921 how tho
as someone who has learned throughout all of high school and currently college, purely using the internet and its videos 87% of the time, u r hands down one of the best youtubers I have meant.
ur words, and sequence, music, video structure are geniunnely genius. u are the evolved version of the outdated US education system on top of other videos online.
great as heck. PLES PLES post more bash vids on youtube. U changing the world when u give us free videos to learn, including kids
Thank you for this series! I worked all of them thru, learned so much and had fun doing it Will now continue with another series of yours. Thank you again. Greetings from switzerland
in my first try
Beast VANQUISHED!! Congrats fellow tarnished
Same here
really do love your channel.... as an IT professional earning over 80k a year you still provide such useful and interesting stuff. I am more netwokr than devops but love all your content ....well done sir xx
I love the way you teach, honesty the most fun tutorials i've ever watch. I wish you had more on bash
watched
As someone that has written many many lines of Bash, it's quite nice that there will finally be some high-quality, approachable content about the topic. The number of poor Bash scripts that exist is kind of astounding, compared with other programming languages
i feel like thats mainly cause of bash's nature of being a terminal language. people just use it out of necessity to use terminal programs so it results in unrefined code
Dude these videos were epic. You teach extremely well, but the best part is that you make it fun! Its so hard to find "fun" IT teachers. Everyone's so boring! Anyways, epic videos man. really loved this playlist.
So... this unbelievable thing happened. I watched this video, wrote out the eldenring script, and added some some flourishing with figlet, and lolcat. Took about 30 minutes adding all the neatness I wanted to with just the two parts, a 50/50, and a 1/10 number choice (no cheat codes), ran the script for the first time, and low, and behold, I win...
I don't even know who to brag to about about this... But I feel like that can't be common.
Thanks for interacting with different cameras ❤❤
This is the best way to learn scripting well done Chuck please keep making more bash videos
Really nice one. It nicely demonstrates the core basics of game development.
It is cool to see the channel going towards the scripting/automation. It will be cool to see some of the concepts you are touching in this video but more in depth, like the testing you used. It is something I use a lot and it is very powerful but we cannot see all possibilities in this video. Like test if the variable has zero value, or test if file exist, or any other testing.
And by the way, you can use switch to have similar implementation as case in python
From Python 3.10 onwards, it started supporting switch-case functionality, but in different keyword match-case.
I was looking for this comment
Chuck lay off the coffee. 🤣 Playing the video at .25 makes for some great laughs! Keep up the great work!
Chunk, what did you do to me? I'm adoring your teaching ways to inspire we people. I loved your contents on python and bash. We will be waiting for new videos! 🙌🏻
you just opened my mind for a crazy ideas with the classes and stats . thanks alot for this series
"Here's Elden Ring in a bash script"
echo "You died"
Yup that pretty much sums up Elden Ring 😂
Sir please make full detailed tutorial series on N-Map ...and... Metasploit framework....😊
Very nice work.
I once began as a Full LAMP Stack Developer then at one point crossed over to Full Microsoft Stack. Multi-Tier Object Oriented components working as one. Never been to college, I just use to tinker a lot.
For me, Programming/Scripting is a balance of Art and Science. Unfortunately, my mental health isn't so great these days.
First ever educational video I ever watched without skipping..lol😂
Hmm, using WSL I found that the double brackets in the conditional check break the script, but single square brackets works fine. Also, to save and exit nano faster you can just use ctrl-s and then ctrl-x. One handed and only two operations.
2 equals don't work either
thanks Chuck for the nice videos!
little mistake there... there's 75-25 winning rate for the user not 50-50, the only case in which the player dies is beast - 1, tarnished - 0, soooo...
if (beast == tarnished) then "You won!" else "You died!"
will output "You died" on tarnished - 1, beast - 0 which is... sad :)))
i wrote it like this
if (beast == 1 && tarnished == 0 ) then "You died!" else "You won!"
Super Video Chuck Your videos are awesome And informative 👍🏿
All videos are so awesome … make more on shell love it
So I am working on changing this up a bit. I am making it to be, HP+Attack >= beast then you win but if HP+Attack is < beast you lose. I may make it add +5 points to HP/Attack if victorious the first time. Still playing with it. I love python, bash is so similar but so ridiculously different that its awesome
I travel the world searching out different buffets so I can sneak corndogs into them. I carry with me 6 corndogs stuffed away in my jackey pockets. I will then sneak them into the fried food sections of the buffet. It then, is a joy for me to see other patrons of the buffet enjoying my corndogs. They think they are part of the buffet. (;
You know I have a similar quirk that I like to do. I like to enter large grocery stores like Walmart or Trader Joe's with a pocket full of blueberries. I will then trail behind a random person, keeping atleast 5 steps or more behind them. After I am assured that they are unaware of my presence I then keep in-step with them but close enough to reach out and touch them. I will then casually walk past them, sneaking a few blueberries into their pocket. This works a whole lot easier when it is cold outside and people are wearing jackets, and skinny jeans are almost impossible to work with.
BASH script : do a video related resolve every day practical issues and make every day life easier
I am learning bash at midnight, best decision I ever made, keep up the good work Chuck!
I was going to ask why the script didn’t print “You Died at 21:22 when the user was not root but, after looking closer it looks like the logic is:
Create and read variable named tarnish
Create and set variable named beast
If beast is equal to tarnish or tarnish is equal to coffee, then check if the user is root and if so, print “Beast Vanquished”. End the function
If beast is not equal to tarnished or tarnished is not equal to coffee, echo “You Died”
So we never actually told the program to echo anything in the case where beast == tarnished or tarnished == coffee and the user was not root.
Maybe you covered it in the rest of the video - haven’t gotten that far yet, but it was a good exercise for me to work out why that didn’t happen 🙃
Thanks for the video! Just a reminder, the case statement in the BASH language exists in the c and c++ language, as the switch statement :)
You are the best, I love the way the material is explained and so fun. Thank you very much!! I am joining some of your courses.
Hey Chuck, you content is amazing - so well done! You can make anything fun and entertaining and informative. Thank you!
I’m having flashbacks to the original Oregon Trail game. In other news, I now have diphtheria.
I like this channel, especially that coffee interlude 😆 Funny and educational 🙂
I seriously consider growing a beard 😃
The spambots are out again. And worse, they’re impersonating Chuck. I wish there was a Bash script to banish them forever and send them to Siberia.
There's a script to mass report bots. Linus tech tips made a video about it
As a programmer I really enjoyed this video. If someone taught me bash like this in the beginning, pfeeewwww. Edit: I didn't even need this video but it was so entertaining and this should be the way programming should be taught to beginners.
This channel is my fav
hey thanks,I like the way you teach.You make it fun and funny so it doesnt even feel like work.keep up the good work
You know, talking about games and stuff, you sound like Professor Mordin Solus from Mass Effect series hahaha. I’ve meet your channel recently and I’m loving! Great stuff, thanks for sharing!
Thank you!
Thank you!! You have such a great way to teach! Love the energy
Dude you're my favorite nerd. Thanks for all the tutorials!!
Man I had so much fun with this XD this is great
Read takes a -p arg for prompt so there is no need for another line to print question to user and it can also be assigned to the variable given at the end
read -p "do you want to> " myvar
and you have $myvar
>starts eldenring
>"You Died"
So accurate.
How dare you say that Python can't do switch statements. Python 3.10 has a new keyword called match and it's pretty much like a switch statement
cry
Oh, I never noticed that and I'm a Python programmer😂
@@ModernDays_Faith You're welcome 😁
chucks video editing has reached the next level
god mode
@@alimctavish998 hey what do you do, are u a student or something else?😊
I'm so confused yet drawn, by the title
This was an awesome tutorial. Thank you so much!
First time seeing your content and sub so deserved👍
great job, Can't wait for the next episode?
These do the same thing ($? is the exit code of the previous command):
test $? -eq 0 && echo 'ok';
[ $? -eq 0 ] && echo 'ok';
if [ $? -eq 0 ]; then echo 'ok'; fi;
if [[ $? -eq 0 ]]; then echo 'ok'; fi;
--
the "[" & "test" live in "/usr/bin", check with: ls -l $(which {[,test})
I love bash scripting :D
The title KILLED us already :)
I followed the steps and made the first beast challenge like
"First beast appeared, fight it? (y/n)" and if the player says "y" the script randomly says "You win / you died" and quits lol
Hey Chuck maybe try provoisioning your labs with terraform?
Could you try to teach people to use vi or vim instead nano? :)
Your chann6is one of a kind. Love it
Speaking of coffee...I had to check my playback speed to make sure I hadn't increased it. 😂
your gamification technique is way better in teaching tech
actually that's why I follow this channel haha :))
Vanquised the beast the first 3 times before I lost. 🙂 Thanks for your great videos. Greetings from Germany.
Thanks we learned a lot from u your video are amazing lots of thinks to learn
I have always pronounced it: ca loc quee al. Colloquial. Yep, the "co" becomes "ca". Sometimes the "llo" is "low", but I've learned to add the "c", as in location (or "my loc is here"). "qui" can be "quee" or "qwee". And "al" pronounced as "all". in 60 years of using that pronunciation, no one has said it's wrong, to my face. If they had, I would have looked for more information on it. The hardest part of it's pronunciation is: CA "LOC QUEE" AL. Getting the "loc" "quee" to roll off the tongue can be hard at first. The is a kinda stop between the two syllables to make the "loc"'s "c" be pronounced. Anyway, this is gonna roll on too long. Good luck!
Love this, but I'm not a fan of "if" statements in Bash they are not needed, logical operators are just nicer, shorter, cleaner and quicker e.g.
[[ $coffee = y ]] && echo "You're awesome" || echo "Leave right now"
does the same thing. [[ ]] is actually the test operator in bash
this is an illegal hack...
thanks man
What a nice way of teaching bash scripting .
‘R’ is among the most menacing of sounds. That’s why it’s called MURDER and not MUKDUK.
i spent like an hour troubleshoting my eldenring :D
Pro tip at 7:15 pay attention to the spaces in your if statement. they do mater
I am just starting to learn this at Devry. I love your videos they help me a lot!! I also love playing Elden Ring almost my whole channel is for Elden Ring! This was fun and I can't wait to show my class mates, and send them right here to the man the myth the COFFEE DRINKING LEGEND NETWORKCHUCK!!!
Python added a switcher in version 3.10, but they use 'match' instead of 'switch' or 'case'
you are doing great.. love you chuck.
The computer decides if you live or die? Do you want terminators? This is how you get terminators!
It was good. Thanks and yes you are indeed a great teacher.
Great video! It makes me want to do this but in python, just for fun. I love your videos Chuck! ☕️
Hey chuck! Can you do a series like this but for Java basics please?? I’m really struggling with it
You make learning eaaaasy ! !
I must be old and dense. I’m looking at all these echo commands and it finally dawns on me that they mean print.
Please consider maybe doing some cool stuff also with Powershell, similar video content to Bash. There are a lot of people working to Devops specific to Azure and Powershell is more used in those cases. BTW i like your Bash series!
really enjoyed this video Chuck =D
thanks
O.K. Got my coffee ready... Let's do this.
What an awesome video! Thank you!
Who knows this can be great. Great thanks for the information and the video. 👌
Excellent Videos, keep doing a great job! Thanks a lot
I was so unlucky I thought I coded it wrong.
Thanks chuck...I just created a stone paper scissors game using bash 🙂
Very fun, Chuck! I added a few sleep timers between user input and the response from the game to make it feel like an old DOS game. like this:
echo "You have chosen the $type class. Your hp is $hp, and your attack is $attack."
sleep 1
echo "."
sleep 1
echo ". ."
sleep 1
echo ". . ."
sleep 1
#First beast battle
Thanks for the series!
This video made me laugh so much. Never put these foolish ambitions to rest.
Kojimbo is already copyright striking this one, great vid
Dear Chuck, many thanks for all the videos of Bash! Is very usefull for my new job! Could you please continue whit this? I would like to know more about the "case" command :) and make "textual adventure"
thank you in advance!
Chuck is like the Bill Nye of Networking.
j'aime beaucoup votre façon de nous apprendre et surtout vos exemples qui sont à la fois très pédagogiques et marrants .
bonjour , c'est super de mettre vos connaissances au service des débutants , vos videos sont géniales et c'est bien expliqué , un grand merci à vous .
Wow ! Amazing I love it .