Bash Scripting Tutorial for Beginners

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

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

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

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

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

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

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

    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 Год назад +63

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

    • @goldbergsam1540
      @goldbergsam1540 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 Год назад +23

    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.

  • @MauroGrizia
    @MauroGrizia 5 дней назад

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

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

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

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

    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 Год назад +10

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

  • @muyivushafiq8389
    @muyivushafiq8389 11 месяцев назад +2

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

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

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

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

    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.

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

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

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

    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.

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

  • @abiodunbabalola451
    @abiodunbabalola451 9 месяцев назад +1

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

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

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

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

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

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

    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

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

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

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

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

    One of the best starter bash video on RUclips

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

    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.

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

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

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

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

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

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

    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!

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

  • @chorico5937
    @chorico5937 24 дня назад +1

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

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

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

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

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

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

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

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

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

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

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

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

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

    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

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

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

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

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

  • @KRISHNA-Karma
    @KRISHNA-Karma Месяц назад

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

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

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

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

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

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

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

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

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

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

    Wow... Let's mastering shells scripting.

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

    Parfait!

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

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

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

    Thank you, this was very educational. :)

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

    Thanks. Great introductory video.

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

    Very cool tutorial! Thanks!

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

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

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

    increible porfin puedo tomar el curso en español

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

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

  • @Antonia-yj4de
    @Antonia-yj4de Месяц назад

    Think was so helpful. Thank you so much!

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

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

  • @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 11 месяцев назад +1

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

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

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

    Exactly when I needed it! ♥

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

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

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

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

    This is my free university.

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

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

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

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

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

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

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

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

    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

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

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

    BUENISIMO LO DE LAS PISTAS DE AUDIO, el laburo que era leer los subtitulos y programar al mismo tiempo

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

    reall nice beginners tutoral

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

    Great tutorial!

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

    en español.. excelente!

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

    Thanks a lot

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

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

  • @MohitKhare
    @MohitKhare 11 месяцев назад

    Thanks, that was helpful.

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

    Thx for the video

  • @Anonymous-ij7cw
    @Anonymous-ij7cw 3 месяца назад

    Completed
    revise notes from 11_

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

    so I love this shell

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

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

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

    Can we please have a course on practical Ansible

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

    Nice tutorial, it felt so short

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

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

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

    very usefull this what im needing thx codecamp

  • @nwanosiketochukwu8942
    @nwanosiketochukwu8942 11 месяцев назад

    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 RUclips here. It's still English, so I went on to download it and it was entirely another language.

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

    Thanks man. Cool

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

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

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

    Atlast!!!

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

    I was looking for shell scripting few hours ago.

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

    Great!

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

    Excellent :)

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

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

  • @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 3 месяца назад

      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.

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

    If you are using mac and experiencing problem with 'ifelseifels' sample code then this is the solution.
    ```
    #!/bin/zsh
    input_lower=$(echo "$1" | tr '[:upper:]' '[:lower:]')
    if [ $input_lower = demouser ]; then
    echo "Hi User, how are you?"
    elif [ $input_lower = help ]; then
    echo "You will surely get some help"
    else
    echo "Not sure..who you are!"
    fi
    ```
    You might get this error in terminal- "bad substitution". This is likely due to the ${1,,} syntax, which is used to convert the value of $1 to lowercase in the zsh shell. However, it seems like you might be running this script in a shell that does not support this syntax.

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

    SG : Aur Laundea , kitne ghantea kaam kiya ?
    me : 60min

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

    difficlt to recognize the code everything is dark ? the words and the command window

  • @yt-1161
    @yt-1161 2 месяца назад

    wc -w

  • @sajad5448
    @sajad5448 Год назад +117

    we need ethical hacking

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

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

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

    to jump all the linux basics go to minute 25.

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

    🎉🎉🎉 muchas gracias 🎉🎉🎉

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

    is bash and shell scripting different??? i know shell scripting so should i require to learn bash seperately

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

    Thank you fcc❤

  • @JohnPG-s3s
    @JohnPG-s3s 8 месяцев назад

    informative