Bash Scripting Tutorial for Beginners

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

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

  • @Herbertech
    @Herbertech Год назад +192

    Thanks for the support, Beau. Happy/excited be on the FCC channel! 😀

    • @PureAwareness76
      @PureAwareness76 10 месяцев назад +2

      ❤ Just found your Linux course on the other day - and now, you're here 🎉

  • @ivyscripting7240
    @ivyscripting7240 Год назад +99

    I bought an entire course on Udemy to learn linux and bash scripting and this was so incredibly clear and straightforward in comparison. Really appreciate how easily Herbert broke down bash scripting and I hope you have more courses on the FCC channel.

  • @frankenweeny8785
    @frankenweeny8785 Год назад +84

    This entire course is like an entire semester condensed into less than one hour, impressive!

    • @goldbergsam1540
      @goldbergsam1540 7 месяцев назад +5

      as a data scientist major my class teach it not entire semester not half semester, but only one session and expect us to learn much more than this.

    • @ManasKesharwani
      @ManasKesharwani 12 дней назад

      this is not a semester worth course

  • @kaustavchakrabarti1967
    @kaustavchakrabarti1967 Год назад +34

    This has been my first online coding course and I really enjoyed the session. The language was very comprehensive and audience friendly.

    • @Entropy67
      @Entropy67 Год назад +2

      First online coding course, nice! I recommend the other videos on this channel, you can basically teach yourself anything with enough commitment.

  • @BrunO-dy9ro
    @BrunO-dy9ro Год назад +38

    This literally came right when i needed it, thank you so much.

  • @muyivushafiq8389
    @muyivushafiq8389 Год назад +10

    If you had some programming background, this must have been an awesome tutorial for you. I've enjoyed this. Thanks to FCC and Instructor!

  • @eperez_yt
    @eperez_yt Год назад +16

    This introductory course was very useful and I loved how visually is well structured. Actually, bash is so useful for any project. TY for this vid.

  • @Markus-iq4sm
    @Markus-iq4sm Год назад +3

    One of the best starter bash video on RUclips

  • @quincylarsonmusic
    @quincylarsonmusic Год назад +13

    This is an excellent Bash primer. Thank you @Herbertech for creating this and for sharing this with the global developer community. 🙏

  • @abiodunbabalola451
    @abiodunbabalola451 Год назад +2

    Wow. What a great course! This is by far the best bash scripting on the internet.

  • @ssmith5048
    @ssmith5048 Год назад +4

    Hey, nice tutorial-I had to smile when you mentioned Atom as an option for a text editor. I still have a copy installed, but was surprised you mentioned it since it has been discontinued.

  • @anandprakash2483
    @anandprakash2483 Год назад +3

    Excellent ! Watched and practiced all commands in one go. This bash primer only requires very basic linux knowledge beforehand.

  • @rachit_joshi
    @rachit_joshi Год назад +2

    thank you so much. it was an amazing experience learning bash scripting with the amazing mentor here !!!

  • @chorico5937
    @chorico5937 5 месяцев назад +2

    yoooo thx so much, saved a lot of time with this intensive course!!!

  • @ayushkapoor305
    @ayushkapoor305 9 месяцев назад

    The video is so well structured. Half way through the video but couldn't stop myself from appreciating the efforts that have been put up for making this.

  • @giancarlovalentin9569
    @giancarlovalentin9569 Год назад +32

    Que bueno que estén incluyendo diferentes pistas de audio en su vídeos, esta genial!

  • @mhmdmd9525
    @mhmdmd9525 Год назад +2

    I really liked it and enjoyed, it was an fantastic course. Short but contained more valuable information about bash.
    thank you so much.

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

    Excellent course! It was exactly what I was looking for.
    Kudos to the speaker. His explanation was extremely clear and informative!

  • @learn_through_building
    @learn_through_building Год назад +3

    Thank u team, it is not easy make courses like this. Lot of love from India ❤

  • @Hassan-lv9di
    @Hassan-lv9di 8 месяцев назад

    Thank you that was really a beginner friendly guide.
    Just a quick fixage, in 23:50 double quotes and single quotes work as well.

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

    Thank you for your helping. This is my first step for bash. But all concepts and example are undertandable!

  • @fmaylinch
    @fmaylinch Год назад +10

    43:00 I think sed and awk (and grep) are specially useful when piped after some output. It would be useful to see examples of that usage.

  • @Torviticus
    @Torviticus 10 месяцев назад

    This is really helpful. I regret not looking into bash scripts sooner.

  • @thething6268
    @thething6268 Год назад +2

    no waaaaay ...... i just started learning bash today and the video came out

  • @funkyboy4882
    @funkyboy4882 Год назад +4

    Completed the lecture, and yes it was amazing, hoping to see more such lectures. ✌✌✌✌

  • @iandotjs
    @iandotjs Год назад

    Been waiting for this. Thank you so much, FCC! 🤘

  • @s4nzuu921
    @s4nzuu921 Год назад

    I was just looking for Bash scripting tutorial and FCC uploaded one, nicee

  • @alejandrorobles4921
    @alejandrorobles4921 Год назад

    Thank you, for the audio in Spanish, I hope you continue the same, I wish you good luck and that you continue teaching.

  • @vadivelan4228
    @vadivelan4228 Год назад

    Great tutorial, I was searching this for a long time.

  • @cuthbertmilligen
    @cuthbertmilligen Год назад

    Great video! To make it even better I'd suggest that you
    a) add "
    " to your PS1 variable so that your typing always starts at the left margin instead of somewhere far out on the right
    b) use a more readable color scheme - dark blue on black is pretty well unreadable

  • @joecrak249
    @joecrak249 Год назад

    SUBSCRIBED!! hey Herbert just wanted to give a BIG THANKS for the content im a bit of a late bloomer to this "but better late than never" Ive watched this about 3x now

  • @hexbinoban6170
    @hexbinoban6170 Год назад +12

    Good !
    A PowerShell & batch scripting tutorial would also be nice.

  • @KRISHNA-Karma
    @KRISHNA-Karma 6 месяцев назад

    Thanks for this awesome video. Keep up the good work guys.😊👍

  • @dynamix9916
    @dynamix9916 Год назад

    Thanks. Great introductory video.

  • @lucianaquiroga4405
    @lucianaquiroga4405 Год назад +2

    lo escucho en español!! genial!! (no se si está subido así, o si yt tiene una nueva funcionalidad que lo traduce sólo. Justo Bash lo que vendo buscando para complementar mi conocimiento básico en Linux. Gracias FreeCodeCamp

  • @mhdunknown
    @mhdunknown Год назад +10

    If you're on macOS and the ${1,,} syntax isn't working for you at 25:19 it's because mac ships with a very old version of bash, and this syntax is only supported in bash 4.0+
    Instead use the tr command to transform the first argument to lowercase, and use the

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

      "homebrew install bash” = “bash 5.2.xx" 😉

  • @hosqu_
    @hosqu_ Год назад

    Exactly when I needed it! ♥

  • @SandyLearner
    @SandyLearner Год назад +2

    Thanks for Course.
    Also in future Please make video on Powershell 7 and how to use in Cross Platform related to Cloud DevOps Automation

  • @kevinramon9855
    @kevinramon9855 Год назад +6

    Esta traducido a español 😊, me sorprendió full

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

    This was a pretty ok video on linux intro! The only thing which gave me a hard time was sometimes the lack of detail in the new concepts that were more important and more detail given into things that were more obvious and easier to figure out , for example I had to look up why exactly this command : "wc -w < hello.txt" only showed the nr of words , couldn't really understand it from the video and had to rewatch that part multiple times , as well as the part with the if statements where most people that want to learn linux do already understand this concept but not so much why you wrote {$1,,} . Besides that great tutorial!

    • @Henry-sv3wv
      @Henry-sv3wv 4 месяца назад

      i prefer to write it like that:
      cat hello.txt | wc -w
      don't care that cat is now one more extra process having to start ...

  • @ДмитрийЕмельянов-и8р
    @ДмитрийЕмельянов-и8р 6 месяцев назад

    Very cool tutorial! Thanks!

  • @user-fz3ip3ke8p
    @user-fz3ip3ke8p Месяц назад +1

    Exam in 3 days. First time I've ever heard of Bash scripts

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

    Thank you, this was very educational. :)

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

    Great video!
    Thank you

  • @enclave2k1
    @enclave2k1 Год назад

    #!/bin/bash/
    input=${1,,}
    case $input in
    "yes" | "no" | "maybe")
    echo "Can you repeat the question?"
    ;;
    "malcolm")
    echo "Life is unfair"
    ;;
    "help")
    echo "I don't know"
    ;;
    *)
    echo "You're not so big"
    ;;
    esac
    Thanks for the tutorial, was fun.

  • @PolyCodeOfficial
    @PolyCodeOfficial Год назад +2

    Wow, this was very helpful! Thank you for explaining it well!

  • @Antonia-yj4de
    @Antonia-yj4de 6 месяцев назад

    Think was so helpful. Thank you so much!

  • @alexnovik
    @alexnovik Год назад

    Great tutorial!

  • @TrueSQN
    @TrueSQN Год назад

    apt-get install nano - should be first :D great tutorial!

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

    यह देख के अच्छा लगा कि हिंदी में भाषा है।
    बस कहिं कहिं ये गलत कर देता है ❤

  • @mazal-bb
    @mazal-bb Год назад +1

    I'm enjoying the course as well. Although I'm only a third of the way finished, I don't want to neglect offering this comment, or query really.. anyone else having trouble using echo without enclosing string in quotation marks? My terminal spat back at me, "no matches found: name?" It wasn't hard to figure out it was the missing quotes that annoyed my terminal-along with the '?.' It was worked fine if I didn't code the string in the form of a question, but better of course with the " ". Seems like quotes aren't always required for certain setups; but maybe best practice? I'll be curious is this is addressed later in the session. Great fun, though!

    • @krishnanigalye1173
      @krishnanigalye1173 Год назад +1

      Wow..I spent almost an hour to figure this out. Thanks bro.

  • @stephanc7192
    @stephanc7192 11 дней назад

    Great video

  • @garfield-pro
    @garfield-pro Год назад +8

    He just scratched the surface. We need to dig deep on our own.

    • @Moorpark-6k
      @Moorpark-6k 11 месяцев назад

      but how do we read more or do we visualize logically??

    • @peezhead
      @peezhead 27 дней назад

      @@Moorpark-6k guide.bash.academy/

    • @martincinotti2858
      @martincinotti2858 2 дня назад

      ​@@Moorpark-6k $ man bash

  • @timtom3403
    @timtom3403 Год назад

    reall nice beginners tutoral

  • @MohitKhare
    @MohitKhare Год назад

    Thanks, that was helpful.

  • @abdurrehmankhalid2290
    @abdurrehmankhalid2290 Год назад +2

    First of all thank you for making this tutorial, but I faced some problem being a beginner.
    The first thing is that one simple concept consists of other different concepts, it would have been a better to keep things simple in order to explain the current concept. One example is that in case of arrays, there are three concepts combined which are arrays, loops and word counting, which made the understanding of the looping through the array very difficult.

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

    thanks Herber and FCC channel for this wonderful course 🥳

  • @denovo3949
    @denovo3949 Год назад

    Very helpful video. Thank you! -❤‍🔥🎇

  • @thenoob4208
    @thenoob4208 Год назад +2

    increible porfin puedo tomar el curso en español

  • @Anonymous34958
    @Anonymous34958 11 месяцев назад +1

    finally, I know how to exit vim. thanks, FCC

  • @Mintberrycrunch982
    @Mintberrycrunch982 Год назад

    I will never use VIM! but great tutorial. Thanks again!

  • @aditya__exe
    @aditya__exe Год назад +1

    I literally needed this the most today and you gave it! How do you know?

  • @TwoTimesTwentyOne
    @TwoTimesTwentyOne Год назад

    Excellent :)

  • @mdbarin2014
    @mdbarin2014 Год назад

    Thanks man. Cool

  • @ApenasSandokhan
    @ApenasSandokhan Год назад +1

    Wow... Let's mastering shells scripting.

  • @SandyLearner
    @SandyLearner Год назад +4

    Hi , Thanks for adding another silent yet useful language . Couple of yrs popularity of forgotten language started increasing as mostly underline Linux systems still for easy solution , bash is always available w/o modification
    Pls make detail 6-7 hr video in future providing real life examples related Cloud Linux Automation DevOps etc 😊😊

  • @Bricky2021
    @Bricky2021 9 месяцев назад

    Next video request: how to write a minimalistic programming language on bash!❤❤❤

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

    Thank You!

  • @ImadEz-zahi-d1q
    @ImadEz-zahi-d1q 6 месяцев назад

    Parfait!

  • @illegalsmirf
    @illegalsmirf Год назад +1

    Can we please have a course on practical Ansible

  • @nikolanikola1497
    @nikolanikola1497 Год назад

    Great!

  • @gyanashekka
    @gyanashekka Год назад

    Thanks, I completed your course. ✅

  • @yogeshlinganna521
    @yogeshlinganna521 Год назад

    This tutorial was very helpful and easy to follow. Thanks.

  • @Arsche
    @Arsche Год назад

    so I love this shell

  • @Wuhihihaha
    @Wuhihihaha Год назад

    very usefull this what im needing thx codecamp

  • @gatjuatwicteatriek4590
    @gatjuatwicteatriek4590 Год назад +1

    This is my free university.

  • @Jacob-ABCXYZ
    @Jacob-ABCXYZ Год назад

    Hey that's a banger

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

    Thx for the video

  • @prithvirajpatil2916
    @prithvirajpatil2916 14 дней назад

    34:10 In my terminal the indexing of array is starting from 1 instead of 0. How is that happening?

  • @Octen20
    @Octen20 Год назад

    i kinda love it but we still need some bash scripting courses

  • @jeremiahbullfrog9288
    @jeremiahbullfrog9288 Год назад +1

    5:52 "and then we can press Q to exit the file" ... This error is a big point of confusion for new vim users.
    [lowercase] Q initaites macro recording, which opens a whole can of worms for someone who is just trying to quit vim.
    This would be a good point in the video to discuss what to do if you forget to type the colon.

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

    Thanks a lot

  • @srsr6099
    @srsr6099 Год назад

    Thank you fcc❤

  • @kidcobain1
    @kidcobain1 Год назад +3

    en español.. excelente!

  • @knight2000-NC
    @knight2000-NC Год назад

    14:52 last name instead of list name, I make this kind of mistake a lot, too.

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

    Nice tutorial, it felt so short

  • @davoodd1638
    @davoodd1638 Год назад

    Hi sir, thanks for your informative video, I was wondering which distro you used to make this video. Thanks

  • @cpqvenom
    @cpqvenom Год назад

    Atlast!!!

  • @pj-nz6nm
    @pj-nz6nm Год назад

    I was looking for shell scripting few hours ago.

  • @brayancarabali
    @brayancarabali Год назад

    🎉🎉🎉 muchas gracias 🎉🎉🎉

  • @pragathishraja3460
    @pragathishraja3460 Год назад

    You saved me😊

  • @ramon9789
    @ramon9789 Год назад +1

    The Spanish audio is great, but can I would like to here it in English if it is possible. How can I switch to original audio? Or is this the original audio?

  • @andrejesus.
    @andrejesus. Год назад

    to jump all the linux basics go to minute 25.

  • @samoylov1973
    @samoylov1973 Год назад

    Nice and useful! Liked the style and tempo. But a few wishes: command line prompt in this video is ugly and takes valuable space (that's why example commands "jump" to next lines, btw). It could be done in style even in WSL. And to this GNU/Linux in that mediocre OS that is called windows. Why? Why you are trying, as saying goes, "get tonsils through the bottom"? 😉

  • @tony-go-code
    @tony-go-code Год назад

    Thank you

  • @andersonmendoza9959
    @andersonmendoza9959 Год назад +1

    Deberían hacer eso con todos sus videos de su canal original, ya que tienen mucho más contenido en el que en el canal en español, deberían continuar con django rest framework

  • @fmaylinch
    @fmaylinch Год назад

    11:38 here it would be good to run ls -l again and show the permissions after chmod

  • @nightcrawler6618
    @nightcrawler6618 Год назад

    @39:20 I'm getting an error uptime: command not found
    but my code exactly the same as the teacher.

    • @frontend_bros7048
      @frontend_bros7048 Год назад

      same here

    • @Henry-sv3wv
      @Henry-sv3wv Год назад

      then you don't have the package containting the uptime program installed ...

  • @hotrodhunk7389
    @hotrodhunk7389 Год назад +1

    My bash free code camp broke 😢... Have to start it over. Anyone know how to fix it?
    Code road just keeps loading and won't finish. Followed all the trouble shooting

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

    Just found this. I was watching another person doing this. So I followed what he is saying. I am looking at cache and updates. Can I stop the rsync from copying them to my backup. Thanks