Become a bash scripting pro - full course

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 162

  • @thisguyc0ry
    @thisguyc0ry 8 месяцев назад +150

    I never knew I needed a “Guided Bash Meditation”

    • @RickGladwin
      @RickGladwin 8 месяцев назад +11

      Pro tip: light a couple candles, put on a nice essential oil diffuser. Saje has a scent called “nerd forest” that’s perfect for this.

    • @CHURCHISAWESUM
      @CHURCHISAWESUM 5 месяцев назад

      @@RickGladwin Nerd forest is great, you can find it right next to "Mystical autism"

    • @l.t.c8.1.46
      @l.t.c8.1.46 3 месяца назад +2

      *Gnuided Bash Meditation

  • @RickGladwin
    @RickGladwin 8 месяцев назад +38

    I consider myself to be “decent to okay” at bash scripting. I’ve even got bash scripts in enterprise production environments. This video helped _clarify_ and illuminate so many individual features and (sometimes conflicting) syntaxes. Not only do I have new knowledge, but the information that was already in my head is more cohesive. Absolute A+ content.

  • @nomemeshere253
    @nomemeshere253 8 месяцев назад +137

    If you made Bash Pro Shop merch, I would instantly buy it. I have never bought merch before, but it would be worth the investment.

    • @Kane0123
      @Kane0123 8 месяцев назад +10

      I second this. Only stopped for the title

    • @SteveWilburn
      @SteveWilburn 8 месяцев назад +4

      For real. That graphic would be great on a shirt or a hat.

    • @hunterlake2943
      @hunterlake2943 8 месяцев назад

      Same

    • @moose-1
      @moose-1 8 месяцев назад +1

      Agreed

    • @Iwbyiwm
      @Iwbyiwm 8 месяцев назад

      I agree

  • @danydanger
    @danydanger 8 месяцев назад +66

    I have been through long courses of bash scripting and in that only I have seen all these topics covered, covering so much in a less than 30mins is really awesome. I request you to make more of like this plz.

    • @leo25cm
      @leo25cm 8 месяцев назад

      It's interesting that not a lot of creators go in-depth into she'll scripting. It's so useful and portable

    • @kurdm1482
      @kurdm1482 8 месяцев назад

      Shell scripting is easy n powerful
      ​@@leo25cm

  • @mgmartin51
    @mgmartin51 8 месяцев назад +18

    I feel like I’m listening to late night FM radio.

  • @silvertechnolo3958
    @silvertechnolo3958 8 месяцев назад +9

    This was beautiful my friend. Your calming voice and the methodical breakdown of the code is Buddhist in nature. Incredible work. And I now second the merch thing.

  • @DenisNolan
    @DenisNolan 8 месяцев назад +8

    I feel like I’m learning and meditating at the same time. This is wonderful. Subscribed

  • @aoshifo
    @aoshifo 4 месяца назад +3

    This is easily one of the best tutorials I have ever watched! Thank you!

  • @wormholecowboy
    @wormholecowboy 3 месяца назад +2

    You are better than all of the other programming teachers on YT. Please make more videos. This is such good content.

  • @batchrocketproject4720
    @batchrocketproject4720 5 месяцев назад +1

    Slay! Today I learned that my years of bumbling along struggling with bash were avoidable. This content is gold. Thank you. 💯👏

  • @caiocouto3450
    @caiocouto3450 8 месяцев назад +2

    this vid is amazing. I'm not very inclined to learn shell scripts, like bash or powershell; but the pacing, the background song, the edit and your explanation turn it like a "reading session". i felt like i was reading a really good book, with no hurry and pay the most attention i could

  • @nguyen_tim
    @nguyen_tim 3 месяца назад +2

    Seriously awesome thumbnail (and also really great video).
    I would 100% impulse buy Bash Pro Shop merch.

  • @erikastjarnstoft
    @erikastjarnstoft 8 месяцев назад +1

    So glad I found your channel as I'm struggling to wrap my head around the awkwardness of writing bash scrips for my studies right now. Will definitely reference parts of this video again during the two weeks I have for my current assignment! Thank you! ❤

  • @josephbledsoe1333
    @josephbledsoe1333 6 месяцев назад +1

    Was skeptical I would learn anything new, but there were several juicy fresh bits! Very cohesive, wish I had seen this years ago haha. Valuable content for the community

  • @goofballbiscuits3647
    @goofballbiscuits3647 8 месяцев назад +11

    Nice mic, damn 😅
    Even better video! It's actually as relaxing as it is perfectly dense and presented. I think any more in any direction of brevity or speed, it wouldn't work. You hit that Cinderella slipper of YT education. Normally, music in the background drives me nuts. I loved it!

  • @ajko000
    @ajko000 8 месяцев назад

    I had some trouble understanding how the positional variables worked until I saw the ffmpeg example and then it clicked! Thanks!

  • @aarond0623
    @aarond0623 8 месяцев назад +6

    A couple of errors/things that may be confusing:
    13:53 - The internal logical AND and OR are wrong for double brackets. They would be correct for single brackets, though.
    20:07 - The for loop is incorrect and prints 1[@]. The correct syntax would be `for item in "${my_arr[@]}"`
    21:00 - Not an error, but this while loop will fail after the first iteration with the previously mentioned "strict mode", because ((counter++)) will return non-zero and exit the script.

    • @TylerTheDestroyer
      @TylerTheDestroyer 6 месяцев назад

      I implore @RUclips to please address this very bad and lazy ai driven content

  • @trev-dev
    @trev-dev 8 месяцев назад

    Telling me that bash is a command syntax language unravels much of the mystery behind why my scripts have sucked. Thanks

  • @polares8187
    @polares8187 8 месяцев назад +9

    You keep hitting it out of the park. Another amazing video. Holy hell.

  • @youseflourdx6531
    @youseflourdx6531 8 месяцев назад +7

    Thanks a lot!
    I'm learning bash little by little and this video and the last one hit the spot

  • @asadmoosvi
    @asadmoosvi 5 месяцев назад

    This has to be one of the most soothing videos I've ever watched.

  • @franciscocarvalho8843
    @franciscocarvalho8843 8 месяцев назад +2

    Hey, you did an amazing job. This was more than helpful, it was enjoyable. I believe that you have an excellent combination here, summarizing information but also lifting a bit the curtain to understand the underlying structure is really valuable for this type of content. Keep up and I am sure that you will get more acknowledgment from everyone in a near future!

  • @frackinfamous6126
    @frackinfamous6126 8 месяцев назад +1

    Please don’t stop making videos. ❤. Keep it up! Too good.

  • @SCALENE5
    @SCALENE5 8 месяцев назад +1

    Thank you for teaching me. This is top grade knowledge that you are teaching us.

  • @pontoppidan_
    @pontoppidan_ 2 месяца назад

    This video is gold and hits all the right spots

  • @user-rx8lz6yz4f
    @user-rx8lz6yz4f 2 месяца назад

    Excellent, the level and pace are spot on for me. thanks!

  • @SocheatSok78
    @SocheatSok78 6 месяцев назад

    In the function statement you can also use the “return” keyword “return” or “return n”.

  • @IsayaOdongo
    @IsayaOdongo 6 месяцев назад

    You have covered alot in just 30 minutes ..Thank you.

  • @made-simple
    @made-simple 8 месяцев назад

    Really unique Editing style ... feels calming and mental rush just boils down! ... Subscribed! for your efforts !

  • @phobosmoon4643
    @phobosmoon4643 8 месяцев назад +1

    dank content the middle school teachers need to steal this and create some yung engineers

  • @davemeech
    @davemeech 6 месяцев назад

    This was superb. The music choice was fantastic if conscious, because it helped immensely with focus.
    Also Bash Pro Shop merch when?

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  6 месяцев назад

      I’m glad you like it, I did spend some time trying to find the right tunes.
      And I’ve looked into it but I’ve been lazy about getting some samples. But I’ll do so, as it seems like a decent number of people are interested.

  • @nickp6857
    @nickp6857 6 месяцев назад

    Thank you so much for this well explained and well structured tutorial, it is more than appreciated!

  • @alexander_adnan
    @alexander_adnan 8 месяцев назад

    The title got me, there’s one that just opened near my place😂😂😂😂😂❤

  • @Robdawger
    @Robdawger 8 месяцев назад +1

    You're the best. I followed along and made a "quick reference" guide for myself as I continue to learn how to use Bash and Linux/Ubuntu. It's not as scary as I thought it would be, trying to learn all this. Thank you for making it much more approachable!
    One question: Is there is significant difference between csh and bash? My advisor only uses csh, while, I want to learn more bash/tcsh, since I've read that the latter is a bit more dynamic compared to csh. Is this true?

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  8 месяцев назад +1

      I'm glad to hear it!
      And I think the choice really comes down to personal preference. There will be some differences in syntax and a few features here and there, but the majority of the work you'll be doing in the scripting is going to be very similar, as it'll be heavily command driven.
      I think the real reason to opt for bash is its ubiquity. Almost every unix system will have bash pre-installed, whereas very few have csh/tcsh (not that its hard to install).
      I personally use zsh as my main shell, but still for any scripts I write I'll tell it to use bash so it'll run on any of my systems.

    • @goofballbiscuits3647
      @goofballbiscuits3647 8 месяцев назад

      I'll add that Bash is used in Unix, Linux and Windows. If you are going professional with these skills, bash would be the most useful/ubiquitous by far.

  • @JordanBourdeau
    @JordanBourdeau 6 дней назад

    Can I put this design on a hat for Christmas gifts? Absolute gold

  • @theMadZakuPilot
    @theMadZakuPilot 4 месяца назад

    This is amazing. Please make more videos like this.

  • @alezad57121
    @alezad57121 7 месяцев назад

    more videos exactly like this. fundamentals of linux is great stuff.

  • @leo25cm
    @leo25cm 8 месяцев назад

    Also if you stick to the Bash test, that is `[[ ... ]]`, you don't need to put variables inside quotes, not on the left side of a comparison.

  • @SlinkyD
    @SlinkyD 8 месяцев назад +3

    This is the ABS (Advanced Bash Scripting) Guide speed run.

  • @hyltoncarboo8303
    @hyltoncarboo8303 8 месяцев назад

    This is golden!!! What font do you use for the terminal?

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  8 месяцев назад +1

      Thanks! And its IBM Plex Mono (www.programmingfonts.org/#plex-mono)

  • @DetlevObst
    @DetlevObst 6 месяцев назад

    You've got a great way of explaining the structure & modularity of using bash and "glue" together its userland utilities. You'd be awesome for teaching python and rust I'd bet! Thanks so much for making the video. BTW, how did you get those lines of code to highlight while you're explaining? Also, never saw "#!/usr/bin/env" syntax before ... it even works in FBSD.

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  6 месяцев назад

      Thanks! And I’ve only dabbled with Rust, but I will have some more programming videos soon.
      And I used reveal.js which has a line highlight capability for code blocks.

  • @mingzih
    @mingzih 8 месяцев назад

    nice, you acually explained all about bash, thanks.

  • @ObsequiousV4
    @ObsequiousV4 4 месяца назад

    you're wild, man. Great channel!

  • @upgrade_afterlife
    @upgrade_afterlife Месяц назад

    Love the music brother.

  • @darkseid3427
    @darkseid3427 8 месяцев назад

    thanks a ton!! can you please make video or if possible share reference sites for learning docker and k8s.

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  8 месяцев назад

      Hey, I've been thinking about doing guide videos for those. I've got a couple others in the works right now, but I can definitely do that.

  • @M3eizo
    @M3eizo 8 месяцев назад

    Really awesome! Thank you so much and see you in the next one too.

  • @Eutropios
    @Eutropios 8 месяцев назад

    Fantastic video. I'll definitely be showing this to others who may need help with bash scripting.
    It's also worth pointing out that a lot of these (but not all) commands and syntaxes can be applied to ksh/mksh, dash and POSIX shell, and zsh too!

  • @deflect3658
    @deflect3658 6 месяцев назад

    such an awesome explaination! thank you for this

  • @redbrickhut
    @redbrickhut 7 месяцев назад

    Dude your content is amazing, keep it up!

  • @Hellawacked
    @Hellawacked 8 месяцев назад

    Great videos looking forward to the next one.

  • @kilianlindberg
    @kilianlindberg 6 месяцев назад

    2:07 Thus far into this video the music is close to superb along 👏👏

  • @keylanoslokj1806
    @keylanoslokj1806 2 месяца назад

    Can you make another such great bash scripting video?❤

  • @bagfleet
    @bagfleet 8 месяцев назад

    Wonderful vid! Looking forward to more!

  • @richardshalla
    @richardshalla 6 месяцев назад

    I got lost in the weeds pretty quickly, this is over my head. I should look for a longer video with a deeper explanation of each step. Thanks anyway. By the comments it looks like some were able to get it fairly quickly. I'm afraid that I am not one of those people. The search continues........

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  6 месяцев назад

      I’m sorry to hear that. Was there any part in particular that was causing trouble or was it just moving too fast in general?
      FYI I’m working on a site right now that will be a companion to my videos that’ll have exercises and such to help aid in the learning process, so once it is up and ready it’ll hopefully help.

    • @batchrocketproject4720
      @batchrocketproject4720 5 месяцев назад +1

      I'm curious as to how you use videos like this? Personally, I massively benefited from it by actively trying and exploring each of the points raised. It took me well over an hour to get to 7 minutes. Even the opening use of env taught me tons because I stopped and ran env as a command, studied its output, discovered there was env at /bin and usr/bin, compared the output of env to the which bash command. I explored everything that way, making notes and creating working examples that illustrated variations of usage. This one hour video is a ten hour course that is worth 10 years of bumbling along (as I have spent the last decade doing). I agree the presentation has to engage and not grate your personal style preferences (in which regard it was a perfect fit for me) but style alone will not make you learn, exploration and discovery is the key to that, preferably with a pro guide like this fellow.

  • @cherkim
    @cherkim 7 месяцев назад +2

    This production quality is too high, the channel will blow up soon.

  • @MacSuperior_
    @MacSuperior_ 8 месяцев назад

    thx for the video! I’m sure learning this will help me in the future

  • @senorchang6249
    @senorchang6249 8 месяцев назад

    What color Schema is that? Looks beautiful

  • @xExekut3x
    @xExekut3x 4 месяца назад

    "bash pro shop" .. great phrase

  • @kaansouth8789
    @kaansouth8789 4 месяца назад

    This was very helpful thank you so much 🎉🎉

  • @pabloqp7929
    @pabloqp7929 8 месяцев назад

    So many pro-tips and nuanced demos, thank you! Also great voice tbf.

  • @doskius111
    @doskius111 8 месяцев назад

    I do not know if someone address this but during 13:54 there is an syntax error in internals, instead of [[]] you have to use [], because -a/-o are for POSIX standard

  • @mervmartin2112
    @mervmartin2112 7 месяцев назад

    Bash is cow complete! cowsay "Thanks! You have another subscriber."

  • @XrayShapeShifter
    @XrayShapeShifter 8 месяцев назад

    This video is an expected pleasure

  • @Juanjuanzerojuan
    @Juanjuanzerojuan 8 месяцев назад +1

    Super helpful thank you!

  • @blank001
    @blank001 8 месяцев назад

    Thanks for this awesome video/resource

  • @leocheng9773
    @leocheng9773 4 месяца назад

    this is GOLD, THANK YOU!

  • @flflflflflfl
    @flflflflflfl 8 месяцев назад

    15:11 isn't it a convention to print (Y/n) with a capital Y only if "yes" is the default option if the user enters nothing (i.e., simply presses return)? Because your script would treat that as a "no", which could be confusing.

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  8 месяцев назад

      Good catch. You’re correct, I should’ve had it the other way around

  • @dachanel2076
    @dachanel2076 7 месяцев назад

    whats the zshell interface/custom form you use? I'd love to try it.

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  7 месяцев назад

      I keep it pretty simple with just oh-my-zsh and then when I’m doing the video recording I set these
      export PROMPT='> '
      export RPROMPT=""
      That way it gets rid of all of the extra noise. But on my day to day I don’t keep it like this since it gets rid of some useful info.

  • @finnberuldsen4798
    @finnberuldsen4798 8 месяцев назад

    Awesome video, so much content, so well explained. Love the added process at the end

  • @hanzomaster
    @hanzomaster 8 месяцев назад

    Can you pls tell me what is the font you use in this video? The # sign look so unique

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  8 месяцев назад

      I’m using IBM Plex Mono font for the code and Syne for the titles.

  • @Gabriel_Bento
    @Gabriel_Bento 8 месяцев назад

    This man is a legend. I always thought bash was a hard and weird language. Now I realize it's not that hard, but still weird as mentioned. Thanks! :D

  • @rafadubiel5288
    @rafadubiel5288 8 месяцев назад

    Great video! Need more! 👏

  • @rorylabine7143
    @rorylabine7143 8 месяцев назад +1

    PLEASE make a hat with Bash Pro Shop on it. I would buy it so fast

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  8 месяцев назад

      Haha I’d love to but I imagine I’d be inviting trouble. But I’ll look into it.

  • @JustinDejong
    @JustinDejong 5 месяцев назад

    Hi, other very new people to Linux! I accidentally typed user/bin/env instead of usr/bin/env. If your hello world isn't running, that might be why.

  • @Podoco_music
    @Podoco_music 8 месяцев назад

    fantastic video! this ends up being a good refresher video too!

  • @MorphTW
    @MorphTW 8 месяцев назад

    thanks for sharing. here is the comment for the algo!

  • @saeedxgholami
    @saeedxgholami 8 месяцев назад

    Very useful thanks.

  • @l.sureshkumar-lsk550
    @l.sureshkumar-lsk550 8 месяцев назад

    Nice useful video. 👏

  • @rayforever
    @rayforever 6 месяцев назад

    What tool did ya use to visualise these ?

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  6 месяцев назад

      Nothing fancy, just used revealjs with some custom styling

  • @LeoVS44
    @LeoVS44 6 месяцев назад

    premium content, very nice :)

  • @GagikAvetisyan-hi9jh
    @GagikAvetisyan-hi9jh 6 месяцев назад

    Good Job !

  • @kartikmahajan4405
    @kartikmahajan4405 8 месяцев назад

    great video, subscribed

  • @KeithErekson
    @KeithErekson 8 месяцев назад

    How is hardcoding the path to "env" any better than hardcoding the path to "bash"?

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  8 месяцев назад +2

      It comes down to the portability. You have to hardcode some full path, but not every machine will have bash at the same location, whereas env is almost always at /usr/bin/env.

  • @YTit69
    @YTit69 6 месяцев назад

    Perfect material, perfect music, perfect voice!
    One think, please a bit slower and pauses a bit longer, cuz content sounds squashed.
    Thank you so much!

  • @setsune999
    @setsune999 8 месяцев назад

    I need a tshirt with that thumbnail

  • @tonyb9864
    @tonyb9864 8 месяцев назад +1

    Thanks! More of this please! 🙂

  • @NiranjanPawar-n4j
    @NiranjanPawar-n4j 6 месяцев назад

  • @Parker8752
    @Parker8752 8 месяцев назад

    I did wonder why the /usr/bin/env was so common in scripts.

  • @valeris98
    @valeris98 8 месяцев назад

    What font did you use btw?

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  8 месяцев назад

      For the code it is IBM Plex Mono. The titles are syne

  • @azadim8268
    @azadim8268 8 месяцев назад

    Thank you sir!

  • @imaboutmyfathersbusiness
    @imaboutmyfathersbusiness 6 месяцев назад

    Subscribed Brother!

  • @Vuden13
    @Vuden13 8 месяцев назад

    What is your background?

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  8 месяцев назад

      I'm very much a generalist. Most of my "professional" career has been in the DevOps space, but I've been programming for over 15 years (though only half of that with any degree of skill lol) and I try and learn everything.

  • @snneossi6880
    @snneossi6880 8 месяцев назад

    Really interesting. and concise, kudos!!!

  • @comosaycomosah
    @comosaycomosah 8 месяцев назад

    Lmao love the thumbnail 😂

  • @robotnaoborot
    @robotnaoborot Месяц назад +1

    Don't use bash for scripting. Too many non-obvious gotchas even pros don't always realize. For anything longer than 2 lines of code use python, perl, whatever.

    • @thehyperduck90
      @thehyperduck90 13 дней назад

      😂😂 Scripting in Perl. I'd rather shoot myself in the face. Also, useless comment. Shellscripting is incredibly powerful and is used everywhere in cloud computing.

  • @nikhilhalbe
    @nikhilhalbe 3 месяца назад

    Nice voice

  • @kurdm1482
    @kurdm1482 8 месяцев назад

    I love this n you
    Thank you

  • @sevos
    @sevos 8 месяцев назад

    This video is awesome

  • @zawadhyaa
    @zawadhyaa 8 месяцев назад

    what's that font?

    • @CODE_IS_EVERYTHING
      @CODE_IS_EVERYTHING  8 месяцев назад +1

      The code font is ibm plex mono and the title font is syne

    • @zawadhyaa
      @zawadhyaa 8 месяцев назад +1

      @@CODE_IS_EVERYTHING thanks

  • @sphyrnidae6749
    @sphyrnidae6749 8 месяцев назад

    🎉🎉🎉🎉