Bash Scripting for Beginners: Complete Guide to Getting Started - Hello World (Part 2)

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ม.ค. 2025

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

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

    I've used bash for years and years. This such a great course. Your presentation is - super pro, and enjoyable.

    • @johnkevin1030
      @johnkevin1030 8 หลายเดือนก่อน +2

      Dont lie. If you have been using bash for years, theres no reason youll be here watching a hello world program

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

      @@johnkevin1030 Tbh, I've reached max ranked in a game and sometimes I still go and watch beginner tutorials and end up learning something I didn't know before. you'd be surprised. Plus its fun to reminisce back when I knew nothing and observe how far I've came

  • @bettyswunghole3310
    @bettyswunghole3310 4 หลายเดือนก่อน +2

    I tried learning Bash scripting from a Wikibook...it very quickly got incomprehensible...your tutorials are much more accessible! Thank you!

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

    Thanks Jay! I spent a lot of time last week trying to find a good video series on bash scripting and today I finally did!

  • @AyalaStudios
    @AyalaStudios 9 หลายเดือนก่อน +3

    Hey Jay! I started watching your videos this past month and I can see the progress you've made from the uploads 4 years ago to the uploads today! Your way of explaining topics seems to have always been awesome - but your camera presence has definitely improved over the years! I just want to thank you for creating the content and show my appreciation. Your instruction is the the kind that many people can benefit from and I hope you continue to create amazing content!

  • @katofhyrule12
    @katofhyrule12 9 หลายเดือนก่อน +3

    Thank you! Before watching this video, I was able to complete my homework, but I did not UNDERSTAND it. I am now ready to move on to my next homework assignment. Thanks so much!

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

    Many people complain about social media and what not, but i do thank you so much for using this amazing tool to share your knowledge.

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

    I've just learned basic bash scripting and I can see this getting addictive. As soon as I do something in multiple commands I immediately think of building a script or .src function. First is mkcd to make and go into a directory. Then mkpyapp [packages] to make the common app structure I use, create a venv and install the rest of the arguments as packages in that venv. Finally open up folder in VS code. Then actscript to put bash script in ~/bin and make executable. Any many more in the pipeline...
    It's so much fun! Look forward to learning more here

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

      Thanks. now I understand what is this gonna used for a bit.

  • @NicolinaHunt
    @NicolinaHunt 11 หลายเดือนก่อน +3

    You made this so simple! And how you explained it, bravo!!! Gracious!

  • @EdwinJimenez-i5n
    @EdwinJimenez-i5n 15 วันที่ผ่านมา

    Very neat presentation.
    very typical from who is a master: Makes such a matter look very easy and enjoyable.

  • @Capitaine.Albator
    @Capitaine.Albator 2 ปีที่แล้ว +80

    I think that this is why TH-cam was created for. Thanks 👍🏻✌🏻🇨🇦

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

      Hi bro can we learn together

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

      ​@@ojochegbe_no

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

      @@usuarioanonimo789 well, sad

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

      @@skyedunphy just i be see that video, sorry for my inglés im learning

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

    Terrific. Excellent visual presentation and clarity and good vibes in equal measure. Keep bashing out quality stuff Jay

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

    I really enjoyed your Linux for beginner playlist & you taught me a lot about Linux commands & explained concepts in simple terms.
    Will continue to learn Linux from your channel.
    Thank You So Much for making this great content on TH-cam..

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

    Thank you, Jay. This is super useful. Kinda genius to put the entire thing online at the same time too. Perfect chunks for a person like me. Thanks again.

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

    This is a terrific video. I have been trying to find a good resource for quite a few days now. They go on and on about all the commands used. But none showed how to execute a file in the very beginning. By doing so, you have made me realize the scope of bash scripting in the most efficient way. Thank you.

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

    I totally appreciate your effort here.

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

    Thanks Jay! I really like the way the information is presented. Really helps.

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

    i just completed this video. i really like the way you do things. i'm really, really looking forward to learning this, python and C++!

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

    Learning Linux on a roadmap and your videos are super useful. Just stressing but everyone has to start somwhere right.

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

    I just wrote the first proper script of my life! Thanks a lot!

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

    Thanks Jay !! This is my first time to watch your video. Its really informative and helpful. Subscribed for more best content!!

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

    Your videos make me excited about studying🙏 thank you so much❤

  • @TheGrimPhreaker
    @TheGrimPhreaker 8 หลายเดือนก่อน +1

    Thanks for the easy to follow lesson! Even if it's not very useful, I did try to make my own simple scripts to see how much I retained and it was fun!

  • @can-do_curran
    @can-do_curran 4 หลายเดือนก่อน

    great course for beginners -- very easy to follow! thanks for the content

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

    Good job, Jay. I'm looking forward to this course.

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

    Very good video for beginners.

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

    Good lesson!

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

    Thank you for sharing these full courses on TH-cam, there are better than all of paid course ❤❤

  • @絵音-i3f
    @絵音-i3f 4 หลายเดือนก่อน

    Thank you from Japan

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

    This is just awesome. Perfectly explained.

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

    Your explanations is great! Thank you! Also watched the video about permissions for files and directories. Now I don't scared of this magic letters "rwx" and digits!

  • @k.chriscaldwell4141
    @k.chriscaldwell4141 4 หลายเดือนก่อน

    I did it! Thanks.

  • @陳祈瑋-i4g
    @陳祈瑋-i4g 3 หลายเดือนก่อน

    Helpful, thanks 🇹🇼

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

    Thank you very much. Great pacing and explanation.

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

    So informative! Thanks so much

  • @AjayKumar-ev9zi
    @AjayKumar-ev9zi ปีที่แล้ว

    Thanks, Jay, for this wonderful course with a smooth start!

  • @El-anrif_SB
    @El-anrif_SB 2 หลายเดือนก่อน

    good lessons

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

    Jay! You are so awesome ❤ Thanks for sharing your invaluable Linux knowledge and Love with all of us!

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

    great jay!!! nice info in the first lecture!!!

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

    Thank you Jay, this is awesome! you are a great tutor!

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

    ty bro i really love how you teach, easy and simple, English its not my native language and im still able to do it ty

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

    Thank you Jay

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

    Excellent tutorial. Thank you

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

    Thank you so much for this course!!!!!

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

    Brilliant! Too bad my professors in the uni did not have such a way to teach things like you do!

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

    We need more training and tutorial thanks you guide and teaching.

  • @barkhadibraahim1023
    @barkhadibraahim1023 8 หลายเดือนก่อน +1

    thanks so much

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

    absolutely amazing, thank you sir !

  • @jojobobbubble5688
    @jojobobbubble5688 2 ปีที่แล้ว

    I might recommend this course to my Boss. We manage Macs with an MDM and this would be handy for both of us

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

    Great lesson. Learned a lot

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

    its very good. thanks!

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

    very super cours i simply understand bash script

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

    Thank you so much man.

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

    Good start!!

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

    Thank you

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

    8:40 - hi! I've got two questions. 1. What for did you add "./" in front of a script name? 2. Why didn't the script show objects' names in colors. If it does the same as the command ls, then the result should be the same I suppose.

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

    this cseris this super good

  • @catreunion
    @catreunion 2 ปีที่แล้ว

    Thank you teacher 🙏🏻

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

    Thanks a lot bro.

  • @13thravenpurple94
    @13thravenpurple94 ปีที่แล้ว

    Great video THank you

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

    Excellent.

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

    Its awesome clear

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

    thanks for this short course. confused: which bash shows /usr/bin/bash, but the she-bang says /bin/bash. why the difference?

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

    Thank you!

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

    thank you very much!!!!

  • @ineme-awajiogwuafi5138
    @ineme-awajiogwuafi5138 ปีที่แล้ว

    thank you very much

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

    Thank you

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

    Thanks!

  • @JamHamza-e5v
    @JamHamza-e5v 6 หลายเดือนก่อน

    🥰🥰thanks sir

  • @jocelynmedina906
    @jocelynmedina906 2 ปีที่แล้ว

    Thanks

  • @Not-THAT-ChrisPratt
    @Not-THAT-ChrisPratt 2 ปีที่แล้ว +2

    Great video! I am looking forward to watching the rest of the series.
    Any thoughts on: #!/bin/bash vs #!/usr/bin/env bash ? I see them both and was wondering if one is "better" than the other to use.

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

      same doubt, is there a difference between the two that i should know?

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

    good videos my dude

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

    Hi jay . Thank you for vim training and I learn a lot . Now starting script training and thank for all your time and training.
    Mr. Jay I am not sure why you use nano for training script. I was expecting to use vim. I am sure you know better or may be nano is better to writ script. Thank you again.

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

    I know this may seem like a dumb question but can I follow along, on my own laptop? Or will this like change my laptop and I might write in or change in something permanently?

  • @kainaatmakhani6550
    @kainaatmakhani6550 2 ปีที่แล้ว

    informative lecture

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

    This is so beautiful but I'm so intimidated by the IF statements. I have goosebums☹☹☹☹

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

    Good video!

  • @csharpner
    @csharpner 2 ปีที่แล้ว

    The "Jay Challenge". Make an entire video without saying the word "Well". Go! ;)
    Great videos, BTW!

  • @leonel_carrizo
    @leonel_carrizo 2 ปีที่แล้ว

    thanks!

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

    Great Work :)

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

    Is it just me? I always put 'exit 0' at the end of my scripts. Even if I don't have other exit values else where in the script.

  • @Soil_Bound
    @Soil_Bound 4 หลายเดือนก่อน +1

    Did typing *ls* not do anything for anyone else?

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

    YOUR ARE GREAT

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

    I simple used chsh -s /bin/bash and restarted to change. Later I changed it back to zsh

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

    gREAT VID

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

    Awesome

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

    HI Jay,
    Could you please share what is the font that you are using on your terminal.

  • @fictitiousnightmares
    @fictitiousnightmares 2 ปีที่แล้ว

    8:48 I'm curious why when it showed the contents of the directory it doesn't color the folders and such like it did when you just typed ls? Not nearly as useful as a script.

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

    thanks :)

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

    loved it sir thankyou for posting this content still watching and learning from it !!!!

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

    I like your gnome shirt

  • @Unxon-g1l
    @Unxon-g1l 11 หลายเดือนก่อน

    how do you install that on windows
    i mean that interpreter looks clean

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

    done 5th august.

  • @marble_wraith
    @marble_wraith 2 ปีที่แล้ว

    What about POSIX compliance? Wouldn't it be better to go that route instead for compatibility? That being the case, why not code for dash instead of bash? The resulting script should be executable in dash, bash and zsh (with compatibility mode).

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

    Why are you using sudo chmod for a file you own. The use of sudo is only needed if you do not own the file.

    • @TheGacko
      @TheGacko 2 ปีที่แล้ว

      yes was going to say -- no need to sudo chmod files in your own home folder.

    • @binbashbuddy
      @binbashbuddy 2 ปีที่แล้ว

      lol...was looking to see if anyone else noticed

    • @Abdirahmaann
      @Abdirahmaann 2 ปีที่แล้ว

      Kkkk

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

    If there's no sense in .sh extension, how does Linux know that it is a bash script? For example, in html we have a header line. But here there's no header. What if a file is in ZSH but has an .sh (bash) extension?

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

      Already saw it. She bangs, okay.

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

    For some reason mine isnt changing colors in terminal when i run nano

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

    is it okay to use kali for bash scripting cause mine directory is /zsh

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

      yeah it's fine, I also use kali.

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

      did you dual boot it?

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

      @@rickgrimes47 no been doing it in virtual mach

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

    hey, i switched to bash, it was on zsh on kali; now when i type commands like sudo, ls they don't "change color" the command works but they don't change, anyone having the same "problem" ?
    thx

  • @g-jalil6961
    @g-jalil6961 ปีที่แล้ว

    😊

  • @manojkumar-jt3fw
    @manojkumar-jt3fw ปีที่แล้ว

    Please suggest me a Bash Scripting Reference textbook please