Bash Scripting Tutorial for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

ความคิดเห็น • 226

  • @Herbertech
    @Herbertech ปีที่แล้ว +171

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

    • @PureAwareness76
      @PureAwareness76 7 หลายเดือนก่อน +1

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

    • @user-br9zx3ip3x
      @user-br9zx3ip3x 8 หลายเดือนก่อน

      here for the same reason

  • @frankenweeny8785
    @frankenweeny8785 ปีที่แล้ว +73

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

    • @goldbergsam1540
      @goldbergsam1540 4 หลายเดือนก่อน +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 ปีที่แล้ว +6

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

  • @quincylarsonmusic
    @quincylarsonmusic ปีที่แล้ว +11

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

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

  • @BrunO-dy9ro
    @BrunO-dy9ro ปีที่แล้ว +36

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

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

  • @anandprakash2483
    @anandprakash2483 ปีที่แล้ว +2

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

  • @MauroGrizia
    @MauroGrizia 2 หลายเดือนก่อน

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

  • @Markus-iq4sm
    @Markus-iq4sm ปีที่แล้ว +1

    One of the best starter bash video on TH-cam

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

  • @abiodunbabalola451
    @abiodunbabalola451 11 หลายเดือนก่อน +1

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

  • @jkenjayev
    @jkenjayev หลายเดือนก่อน

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

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

  • @Hassan-lv9di
    @Hassan-lv9di 5 หลายเดือนก่อน

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

  • @Torviticus
    @Torviticus 8 หลายเดือนก่อน

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

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

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

  • @rachit_joshi
    @rachit_joshi ปีที่แล้ว +1

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

  • @hexbinoban6170
    @hexbinoban6170 ปีที่แล้ว +12

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

  • @chorico5937
    @chorico5937 2 หลายเดือนก่อน +1

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

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

  • @learn_through_building
    @learn_through_building ปีที่แล้ว +2

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

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

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

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

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

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

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

  • @thething6268
    @thething6268 ปีที่แล้ว +1

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

  • @s4nzuu921
    @s4nzuu921 ปีที่แล้ว

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

  • @funkyboy4882
    @funkyboy4882 ปีที่แล้ว +3

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

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

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

  • @kevinramon9855
    @kevinramon9855 ปีที่แล้ว +6

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

  • @KRISHNA-Karma
    @KRISHNA-Karma 3 หลายเดือนก่อน

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

  • @iandotjs
    @iandotjs ปีที่แล้ว

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

  • @Anonymous34958
    @Anonymous34958 9 หลายเดือนก่อน +1

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

  • @Bricky2021
    @Bricky2021 7 หลายเดือนก่อน

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

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

  • @dynamix9916
    @dynamix9916 9 หลายเดือนก่อน

    Thanks. Great introductory video.

  • @vadivelan4228
    @vadivelan4228 ปีที่แล้ว

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

  • @ApenasSandokhan
    @ApenasSandokhan ปีที่แล้ว +1

    Wow... Let's mastering shells scripting.

  • @Mintberrycrunch982
    @Mintberrycrunch982 10 หลายเดือนก่อน

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

  • @mynathan77
    @mynathan77 3 หลายเดือนก่อน

    Thank you, this was very educational. :)

  • @T3echG33k
    @T3echG33k 6 หลายเดือนก่อน

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

  • @random_things2023
    @random_things2023 ปีที่แล้ว

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

  • @ДмитрийЕмельянов-и8р
    @ДмитрийЕмельянов-и8р 4 หลายเดือนก่อน

    Very cool tutorial! Thanks!

  • @aditya__exe
    @aditya__exe ปีที่แล้ว +1

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

  • @captainkite
    @captainkite วันที่ผ่านมา

    nano is the best text editor for Linux

  • @Antonia-yj4de
    @Antonia-yj4de 3 หลายเดือนก่อน

    Think was so helpful. Thank you so much!

  • @hosqu_
    @hosqu_ ปีที่แล้ว

    Exactly when I needed it! ♥

  • @TrueSQN
    @TrueSQN ปีที่แล้ว

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

  • @PolyCodeOfficial
    @PolyCodeOfficial ปีที่แล้ว +2

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

  • @thenoob4208
    @thenoob4208 ปีที่แล้ว +2

    increible porfin puedo tomar el curso en español

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

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

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

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

  • @illegalsmirf
    @illegalsmirf ปีที่แล้ว +1

    Can we please have a course on practical Ansible

  • @luloxeth
    @luloxeth 5 หลายเดือนก่อน

    Nice tutorial, it felt so short

  • @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! -❤‍🔥🎇

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

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

  • @pj-nz6nm
    @pj-nz6nm ปีที่แล้ว

    I was looking for shell scripting few hours ago.

  • @Entropy67
    @Entropy67 ปีที่แล้ว

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

  • @MohitKhare
    @MohitKhare ปีที่แล้ว

    Thanks, that was helpful.

  • @alexnovik
    @alexnovik ปีที่แล้ว

    Great tutorial!

  • @timtom3403
    @timtom3403 ปีที่แล้ว

    reall nice beginners tutoral

  • @davoodd1638
    @davoodd1638 ปีที่แล้ว

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

  • @andrejesus.
    @andrejesus. 9 หลายเดือนก่อน

    to jump all the linux basics go to minute 25.

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

  • @gatjuatwicteatriek4590
    @gatjuatwicteatriek4590 ปีที่แล้ว +1

    This is my free university.

  • @yogeshlinganna521
    @yogeshlinganna521 ปีที่แล้ว

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

  • @Wuhihihaha
    @Wuhihihaha ปีที่แล้ว

    very usefull this what im needing thx codecamp

  • @kidcobain1
    @kidcobain1 ปีที่แล้ว +3

    en español.. excelente!

  • @Arsche
    @Arsche ปีที่แล้ว

    so I love this shell

  • @haricharangv
    @haricharangv ปีที่แล้ว

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

  • @johnvardy9559
    @johnvardy9559 ปีที่แล้ว

    between bash and powershell what do you recommend? for cloud azure :/

  • @dobingify3130
    @dobingify3130 ปีที่แล้ว

    chmod is not working in my MINGW64 Hyper Terminal, how can i fix this??

  • @berlincmos
    @berlincmos ปีที่แล้ว

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

  • @mdbarin2014
    @mdbarin2014 ปีที่แล้ว

    Thanks man. Cool

  • @lasdovah
    @lasdovah ปีที่แล้ว

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

  • @knight2000-NC
    @knight2000-NC 10 หลายเดือนก่อน

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

  • @vamshikrishna8939
    @vamshikrishna8939 ปีที่แล้ว

    We want Full Stack development

  • @littlestar5737
    @littlestar5737 11 หลายเดือนก่อน

    ${1,,} doesn't work for me. Bash reports error. Why is that?

  • @Anonymous-ij7cw
    @Anonymous-ij7cw 5 หลายเดือนก่อน

    Completed
    revise notes from 11_

  • @pmitchelle
    @pmitchelle ปีที่แล้ว

    Is it possible to create a bash script to stop/start tomcat and holly services as well as reboot a server?

  • @yashkhatwani230
    @yashkhatwani230 3 หลายเดือนก่อน

    Thanks a lot

  • @ariolaravencenteno8115
    @ariolaravencenteno8115 ปีที่แล้ว

    what compiler you use admin is that online or offline?

  • @Arsche
    @Arsche ปีที่แล้ว

    Bash is maincharactor in FF12.

  • @BhaavanaroobhiAhilarupan
    @BhaavanaroobhiAhilarupan 3 หลายเดือนก่อน

    Thx for the video

  • @sajad5448
    @sajad5448 ปีที่แล้ว +119

    we need ethical hacking

    • @xinn3
      @xinn3 ปีที่แล้ว +2

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

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

  • @VideoramaTravel
    @VideoramaTravel ปีที่แล้ว

    Why should not to use :x in vim instead of :wq?