Bash Scripting Tutorial for Beginners

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 226

  • @Herbertech
    @Herbertech Рік тому +171

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

    • @PureAwareness76
      @PureAwareness76 7 місяців тому +2

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

  • @ivyscripting7240
    @ivyscripting7240 Рік тому +86

    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 Рік тому +73

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

    • @goldbergsam1540
      @goldbergsam1540 5 місяців тому +3

      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.

  • @kaustavchakrabarti1967
    @kaustavchakrabarti1967 Рік тому +27

    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.

  • @muyivushafiq8389
    @muyivushafiq8389 Рік тому +7

    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.

  • @quincylarsonmusic
    @quincylarsonmusic Рік тому +11

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

  • @BrunO-dy9ro
    @BrunO-dy9ro Рік тому +36

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

  • @abiodunbabalola451
    @abiodunbabalola451 11 місяців тому +2

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

  • @anandprakash2483
    @anandprakash2483 Рік тому +2

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

  • @ayushkapoor305
    @ayushkapoor305 6 місяців тому

    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.

  • @Markus-iq4sm
    @Markus-iq4sm Рік тому +2

    One of the best starter bash video on UA-cam

  • @mhdunknown
    @mhdunknown Рік тому +8

    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

  • @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.

  • @cuthbertmilligen
    @cuthbertmilligen 11 місяців тому

    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

  • @giancarlovalentin9569
    @giancarlovalentin9569 Рік тому +31

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

  • @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.

  • @MauroGrizia
    @MauroGrizia 2 місяці тому

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

  • @rachit_joshi
    @rachit_joshi Рік тому +2

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

  • @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.

  • @eduarddez4416
    @eduarddez4416 3 місяці тому

    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 Місяць тому

      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 ...

  • @jkenjayev
    @jkenjayev Місяць тому

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

  • @learn_through_building
    @learn_through_building Рік тому +2

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

  • @hexbinoban6170
    @hexbinoban6170 Рік тому +12

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

  • @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.

  • @funkyboy4882
    @funkyboy4882 Рік тому +4

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

  • @Torviticus
    @Torviticus 8 місяців тому

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

  • @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.

  • @thething6268
    @thething6268 Рік тому +2

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

  • @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 😊😊

  • @chorico5937
    @chorico5937 2 місяці тому +2

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

  • @Hassan-lv9di
    @Hassan-lv9di 6 місяців тому

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

  • @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

  • @garfield-pro
    @garfield-pro Рік тому +7

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

    • @Moorpark-6k
      @Moorpark-6k 9 місяців тому

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

  • @s4nzuu921
    @s4nzuu921 Рік тому

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

  • @enclave2k1
    @enclave2k1 9 місяців тому

    #!/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.

  • @joecrak249
    @joecrak249 11 місяців тому

    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

  • @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

  • @mazal-bb
    @mazal-bb Рік тому

    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.

  • @KRISHNA-Karma
    @KRISHNA-Karma 3 місяці тому

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

  • @aditya__exe
    @aditya__exe Рік тому +1

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

  • @kevinramon9855
    @kevinramon9855 Рік тому +6

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

  • @Anonymous34958
    @Anonymous34958 9 місяців тому +1

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

  • @ApenasSandokhan
    @ApenasSandokhan Рік тому +1

    Wow... Let's mastering shells scripting.

  • @iandotjs
    @iandotjs Рік тому

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

  • @Bricky2021
    @Bricky2021 7 місяців тому

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

  • @vadivelan4228
    @vadivelan4228 Рік тому

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

  • @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"? 😉

  • @dynamix9916
    @dynamix9916 9 місяців тому

    Thanks. Great introductory video.

  • @Mintberrycrunch982
    @Mintberrycrunch982 10 місяців тому

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

  • @ДмитрийЕмельянов-и8р
    @ДмитрийЕмельянов-и8р 4 місяці тому

    Very cool tutorial! Thanks!

  • @TrueSQN
    @TrueSQN Рік тому

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

  • @T3echG33k
    @T3echG33k 6 місяців тому

    Still i don't know why you guys are providing top class courses for free... Protect this community at any cost!

  • @gatjuatwicteatriek4590
    @gatjuatwicteatriek4590 Рік тому +1

    This is my free university.

  • @mynathan77
    @mynathan77 3 місяці тому

    Thank you, this was very educational. :)

  • @random_things2023
    @random_things2023 Рік тому

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

  • @davoodd1638
    @davoodd1638 Рік тому

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

  • @thenoob4208
    @thenoob4208 Рік тому +2

    increible porfin puedo tomar el curso en español

  • @captainkite
    @captainkite 8 днів тому

    nano is the best text editor for Linux

  • @Antonia-yj4de
    @Antonia-yj4de 3 місяці тому

    Think was so helpful. Thank you so much!

  • @PolyCodeOfficial
    @PolyCodeOfficial Рік тому +2

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

  • @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

  • @luloxeth
    @luloxeth 5 місяців тому

    Nice tutorial, it felt so short

  • @illegalsmirf
    @illegalsmirf Рік тому +1

    Can we please have a course on practical Ansible

  • @kidcobain1
    @kidcobain1 Рік тому +3

    en español.. excelente!

  • @timtom3403
    @timtom3403 Рік тому

    reall nice beginners tutoral

  • @alexnovik
    @alexnovik Рік тому

    Great tutorial!

  • @oscarms6067
    @oscarms6067 Рік тому

    Thank you for the translation to spanish... But beeing a spanish native speaker, I cant't hardly understand the audio. I'd rather listen to an English audio version to be able to understand the content.

  • @denovo3949
    @denovo3949 Рік тому

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

  • @MohitKhare
    @MohitKhare Рік тому

    Thanks, that was helpful.

  • @hosqu_
    @hosqu_ Рік тому

    Exactly when I needed it! ♥

  • @Arsche
    @Arsche Рік тому

    so I love this shell

  • @Entropy67
    @Entropy67 Рік тому

    Damn, its really easy if you're already familiar with Linux environment

  • @yogeshlinganna521
    @yogeshlinganna521 Рік тому

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

  • @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?

  • @Anonymous-ij7cw
    @Anonymous-ij7cw 5 місяців тому

    Completed
    revise notes from 11_

  • @pj-nz6nm
    @pj-nz6nm Рік тому

    I was looking for shell scripting few hours ago.

  • @nwanosiketochukwu8942
    @nwanosiketochukwu8942 Рік тому

    I downloaded this video twice, and the language is not English 😢. I just wasted my data twice. At first I thought it was a mistake I made during the downloading process, so I had to play the video online on UA-cam here. It's still English, so I went on to download it and it was entirely another language.

  • @andrejesus.
    @andrejesus. 9 місяців тому

    to jump all the linux basics go to minute 25.

  • @seahammer303
    @seahammer303 3 місяці тому

    Thank you for the video but all of this channels videos are unnecessarily long where they can be summarized and explained more simply.

  • @vamshikrishna8939
    @vamshikrishna8939 Рік тому

    We want Full Stack development

  • @jamesbaxter2812
    @jamesbaxter2812 4 місяці тому

    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

  • @מייקלסבג
    @מייקלסבג 3 місяці тому +1

    4:50 way vim vs is better

  • @mdbarin2014
    @mdbarin2014 Рік тому

    Thanks man. Cool

  • @Wuhihihaha
    @Wuhihihaha Рік тому

    very usefull this what im needing thx codecamp

  • @kborak
    @kborak Рік тому +2

    That is not what cat is for, cat - concatenate files and print on the standard output. That's from the man-page. You can not start a bash scripting tutorial by saying you dont understand the core gnutils!

    • @chrissmith6028
      @chrissmith6028 5 місяців тому

      Very true. But if you are like me you learned the wrong way and it just becomes standard fair. But I think with bat out now using a pager or cat should be deprecated. And hopefully all distros will start including it in future releases. I actually was taught just like this guy is using it. Being told that "cat" is to stream file to std out.

  • @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

  • @yashkhatwani230
    @yashkhatwani230 3 місяці тому

    Thanks a lot

  • @Vishal_0841
    @Vishal_0841 Рік тому

    Hey guys please guide me I have completed html, css and bootstrap but I want to study JavaScript so please provide me that which UA-cam video is best for JavaScript as a beginner 🙏🏿

    • @rohithvishaal
      @rohithvishaal Рік тому

      Not a UA-cam video but checkout the Odin project. On udemy there is a course provider called Academind and he has a UA-cam channel with the same name as well. Check him out

    • @freecodecamp
      @freecodecamp  Рік тому +1

      Try this JavaScript course: ua-cam.com/video/PkZNo7MFNFg/v-deo.html

  • @Arsche
    @Arsche Рік тому

    Bash is maincharactor in FF12.

  • @noureldin5611
    @noureldin5611 9 місяців тому

    32:00 Seriously what the **** is this syntax !!!

    • @Henry-sv3wv
      @Henry-sv3wv Місяць тому

      LOL, just google it if you can't remember the case syntax

  • @sajad5448
    @sajad5448 Рік тому +119

    we need ethical hacking

    • @xinn3
      @xinn3 Рік тому +2

      Go to let's defend, TCM, or cybrary.

  • @TwoTimesTwentyOne
    @TwoTimesTwentyOne Рік тому

    Excellent :)

  • @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.

  • @knight2000-NC
    @knight2000-NC 11 місяців тому

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

  • @BhaavanaroobhiAhilarupan
    @BhaavanaroobhiAhilarupan 3 місяці тому

    Thx for the video

  • @tony-go-code
    @tony-go-code Рік тому

    Thank you

  • @MatveiPB8
    @MatveiPB8 Рік тому

    Que bien. Hagan cosas en español para los hispanohablantes

  • @enjoful
    @enjoful Рік тому

    "this is aimed at the average Windows user,
    ...Now let's open VIM"

  • @ElTopDev
    @ElTopDev Рік тому

    Wooow, why does this video is spanish dubbed? this new feature is amazing

    • @freecodecamp
      @freecodecamp  Рік тому

      We're glad you're finding the dub useful. In the coming months, we hope add dubs to more videos and in more languages.