Bash Scripting Full Course 3 Hours

Ғылым және технология

Try our Bash Boot Camp Course to really uplevel your bash skills!
linuxhint.biz/p/4-hour-bash-b...
Or join our Linux Hint Community with access to all our courses and a community forum where you can interact with our instructors: www.linuxhint.io/bundles/linu...
In this FREE Bash Scripting Course, you will learn from printing a simple “Hello World” to using conditional statements such as if statements, case statements to using loops such as while, for and until loops to using awk, sed and debugging bash scripts. All in all, we will learn and cover the following topics:
1-Hello Bash Scripting
2-Redirect to file
3-Comments
4-Conditional Statements
5-Loops
6-Script input
7-Script output
8-how to send output from one script to another scrpt
9-String Processing
10-Numbers and Arithmetic
11-Declare Command
12-Arrays
13-Functions
14-Files and Directories
15-Send Email Via Script
16-Curl in Scripts
17-Professional Menus
18-Wait for filesystem events with inotify
19-Introduction to grep
20-Introduction to awk
21-Introduction to sed
22- Debugging bash scripts
Link to written article on this course:
linuxhint.com/3hr_bash_tutorial/

Пікірлер: 618

  • @inconsequentialstuff2372
    @inconsequentialstuff23724 жыл бұрын

    0:55 Hello Bash Scripting 5:25 Redirect to file 8:49 Comments 11:49 HereDoc 14:01 IF Conditional Statement 16:47 IF-ELSE Conditional Statement 19:00 ELIF Conditional Statement 21:18 AND Operator 26:21 OR Operator 29:10 CASE Conditional Statement (Incomplete explanation) 29:47 Loops 30:19 WHILE Loop 33:54 UNTIL Loop 36:20 FOR Loop 39:44 BREAK and CONTINUE Statements 45:29 Script input (STDIN) 55:58 Script output (STDOUT and STDERR) 1:01:40 Pipes (Send output from one script to another script) 1:05:53 Strings processing 1:15:39 Numbers and Arithmetic 1:20:56 Convert from Hexadecimal to Decimal Numbers 1:23:07 DECLARE command 1:28:27 Arrays 1:35:06 Functions 1:43:10 Files and directories 1:58:42 Sending email via script

  • @Sunshine_639

    @Sunshine_639

    4 жыл бұрын

    Thanks 😊😊😊😊😊😊😊😊😊😊😊😊😊

  • @inconsequentialstuff2372

    @inconsequentialstuff2372

    4 жыл бұрын

    @@Sunshine_639 Welcome. I haven't finished that table of contents.

  • @sourabhsharma2746

    @sourabhsharma2746

    4 жыл бұрын

    you saved me... thankyou...

  • @naveenkumarnamachivayam6583

    @naveenkumarnamachivayam6583

    4 жыл бұрын

    2:05:20 Curl 2:12:44 Professional Menus 2:31:12 grep 2:41:37 awk 2:51:54 sed 3:02:24 Debugging

  • @juanmartinflores434

    @juanmartinflores434

    4 жыл бұрын

    Thank you!

  • @user-iw2cl4ug7z
    @user-iw2cl4ug7z3 жыл бұрын

    When i hear the accent, I know I'm gonna learn a lot today ! Thank you sir, really good video.

  • @j.maginnenu6291

    @j.maginnenu6291

    2 жыл бұрын

    Liar. U like them bc your one of them. They're so inferior in absolutely anything pertaining to , technology in understanding or teaching its basis. It's strange. They're the worst teachers in tech.

  • @harrisahmad3028

    @harrisahmad3028

    2 жыл бұрын

    dude 😂

  • @benkimberley

    @benkimberley

    Жыл бұрын

    ooh mmm I'm sooo anti-racist yep yep oop oop aaaaagghh... - tosses the comments section a wetwipe - ...clean yourself up

  • @k-c

    @k-c

    Жыл бұрын

    Feels good to finally have a positive stereotype.

  • @moncefkarimaitbelkacem1918

    @moncefkarimaitbelkacem1918

    Жыл бұрын

    Same 😂

  • @ShubhamHingne
    @ShubhamHingne3 жыл бұрын

    What I loved about this full 3Hour video is, it is not too basic and not too advanced, it is just perfect for almost everyone who already know a bit of linux and also pretty good for people trying to brush up their basics.

  • @frikabg

    @frikabg

    Жыл бұрын

    as a noob i can confirm that is the case

  • @beastking1646

    @beastking1646

    Жыл бұрын

    ​@@frikabg thanks i rely on ur comment for myself

  • @gfjffdgjroedsfdkdslmerrelb4357

    @gfjffdgjroedsfdkdslmerrelb4357

    Жыл бұрын

    anyone want to learn bash scripting with me through co operation

  • @michasedziwoj1846
    @michasedziwoj18464 жыл бұрын

    Amazing, I actually feel confident in the terminal now. Thanks a lot!

  • @Duffbeeryahoo
    @Duffbeeryahoo3 жыл бұрын

    Just wanted to send you a big thank you for putting this together. I'm very new to Linux and this was a great course to quickly become oriented to bash scripting. Thanks!!!

  • @viciouz25
    @viciouz25 Жыл бұрын

    This great. I'm about half way through but wanted to acknowledge your teaching style of going detail and the time. This is one of the best I've seen on youtube and it's a good resource for me to brush up my bash scripts for work.

  • @Sugmadik69420
    @Sugmadik694203 жыл бұрын

    You don't know how happy I am to find this content, great explanation, exactly what I needed

  • @waltermitty4132
    @waltermitty4132 Жыл бұрын

    I've been through quite a few online Bash courses, but this was by far the best. Really superb. He explains everything slowly and painstakingly, not glossing over anything, and leaving nothing to chance. Even complicated concepts are made clear.

  • @MBhanuprakash111
    @MBhanuprakash1113 жыл бұрын

    At 1:12:00 the script checks for the string that appears first in the dictionary order , not the lengths of the strings At 1:15:11 , str1^ capitalizes the first letter of the string, str1^^ capitalizes the whole string, str^^h capitalizes every occurrence of h in the string, but instead of str^^ , in the video str^ was used

  • @muath9283

    @muath9283

    2 жыл бұрын

    Thanks for the clarification, I was confused when I entered hi and hello, and the output was " hi is greater than hello"

  • @kopilkaiser8991
    @kopilkaiser8991 Жыл бұрын

    I am watching your 3 hr tutorial agin and again. I've even bookmarked your website url. It helps quite a lot in learning Bash scripting better watching you do it. You are really good in explaining and demonstrating complex topic in simplied manner. Thank you for all your hard work. 😁

  • @mr.shanegao
    @mr.shanegao3 жыл бұрын

    5:25 Redirect to file 8:49 Comments 11:49 HereDoc 14:01 IF Conditional Statement 16:47 IF-ELSE Conditional Statement 19:00 ELIF Conditional Statement 21:18 AND Operator 26:21 OR Operator 29:10 CASE Conditional Statement (Incomplete explanation) 29:47 Loops 30:19 WHILE Loop 33:54 UNTIL Loop 36:20 FOR Loop 39:44 BREAK and CONTINUE Statements 45:29 Script input (STDIN) 55:58 Script output (STDOUT and STDERR) 1:01:40 Pipes (Send output from one script to another script) 1:05:53 Strings processing 1:15:39 Numbers and Arithmetic 1:20:56 Convert from Hexadecimal to Decimal Numbers 1:23:07 DECLARE command 1:28:27 Arrays 1:35:06 Functions 1:43:10 Files and directories 1:58:42 Sending email via script 2:05:20 Curl 2:12:44 Professional Menus 2:31:12 grep 2:41:37 awk 2:51:54 sed 3:02:24 Debugging

  • @maxpolaris99
    @maxpolaris992 жыл бұрын

    Well organized and worked as a a very nice refresher after being away from BASH scripting awhile! Thank you!

  • @BrianThomas
    @BrianThomas3 жыл бұрын

    I really really love what you've done here thank you very much for taking the time to run through all of this for us. I think what would drive the point home even more is to provide some real-world examples and how you would apply each of the scripts. Your examples are fabulous, but they're abstract

  • @ashellz934
    @ashellz9343 жыл бұрын

    for i in (1..100000000000); do echo"thank you";done .. You are amazing, and doing a great job. Keep you the good work

  • @adamhendry945
    @adamhendry9453 жыл бұрын

    This is the best bash shell scripting tutorial I have ever seen!

  • @sudheergowra
    @sudheergowra5 жыл бұрын

    Thank you so much sir this tutorial helps me lot learn shell scripting and way of explanation was fabulous

  • @lalitdhadwal
    @lalitdhadwal4 жыл бұрын

    Thank you so much for your time and this session plus the basis examples to keep the actual point's to be in clear 🙂

  • @peachmeable
    @peachmeable Жыл бұрын

    Thank you! This is literally the only video i found that covered every single thing I needed to know in order to make a sedscript (and also many useful things, I didn't know I actually needed)

  • @ashfaquealam3033
    @ashfaquealam30334 жыл бұрын

    Thank you very much for investing your time to help people. I learned something new which I don't used to know before. Keep making these types of videos it helps a lot

  • @GameNon-Quitters
    @GameNon-Quitters4 жыл бұрын

    Fantastic ! Easy to understand and amazing tutorial to get started with Bash Scripting, helped me a lot ! Thanks ! Keep the great work !

  • @hobgoblin4614
    @hobgoblin46144 жыл бұрын

    Just finished the video. This was an excellent. Would it be possible for you to do a Part 2 where you go over over commands/create an "Advanced" video? Thanks again for the great video! Really appreciate you putting this out there man!

  • @Ahmed-my2xq
    @Ahmed-my2xq4 жыл бұрын

    This tutorial is one of the best tutorials I ever have used to learn something. Man you are doing a great job. Love from Pakistan.

  • @danielsilberstein6947
    @danielsilberstein69474 жыл бұрын

    This was great! Thank you for the thorough explanation. I had trouble with sudo executions for Mac. Other than that it was a wonderful tutorial.

  • @sky301289
    @sky3012893 жыл бұрын

    Very good training for bash. Thank you for creating this content. Appreciated!

  • @cristicode4301
    @cristicode43012 жыл бұрын

    This was an amazing introduction to bash scripting. Great work, it helped me a lot.

  • @mikem8915
    @mikem8915 Жыл бұрын

    Completed the entire 3 hours. Very good intro. Got me going enough to write real scripts. Thanks for the content. Best wishes.

  • @JamesBrodski
    @JamesBrodski3 жыл бұрын

    Wow, this video is very helpful. Thank you so much for making it!

  • @VishalRaoOnYouTube
    @VishalRaoOnYouTube4 жыл бұрын

    You explain things very well. A full 2 hour course on awk would be good!

  • @linuxhint

    @linuxhint

    4 жыл бұрын

    Awk is a good idea! We'll do it soon!

  • @ukbakrol
    @ukbakrol3 жыл бұрын

    Bloody awesome tutorial man, thank you. Simple details and straight to the point.

  • @wnalikka
    @wnalikka2 жыл бұрын

    You have a gift. You teach well. Took the fear of scripting out of me. Taught me well. Thank you !!!! God bless you.

  • @beltek01
    @beltek013 жыл бұрын

    Best bash tutorial hands down...feel really confident

  • @josephstameus3884
    @josephstameus38843 жыл бұрын

    This is amazing, this tutorial has everything I needed. Thanks!

  • @SHAZAMYOUNGORDER
    @SHAZAMYOUNGORDER3 жыл бұрын

    You did a good job going through topics, I learned a lot.

  • @jaikishank
    @jaikishank2 жыл бұрын

    Excellent material to understand the basics of bash scripting. Deeply appreciate your efforts.

  • @dreamvallyhasan4807
    @dreamvallyhasan48074 жыл бұрын

    Incredible effort...thanks from the bottom of my ♥ for this great tutorial.

  • @robin196
    @robin1964 жыл бұрын

    i hardly sit 1 full hour on tutorial ...But you managed me to sit one full hour ...Thank you.

  • @radiotec76
    @radiotec76 Жыл бұрын

    I had BASH script training as port of my Red Hat RHEL Administration III 6 years ago but needed a review of BASH scripting. Very good course. Provides essential information for BASH scripting without insulting your intelligence.

  • @sukithreddy
    @sukithreddy3 жыл бұрын

    Thank You so much 🙏🏽 This helped me a lot . very clear explanation and easy to follow.

  • @arjun.s5112
    @arjun.s51123 жыл бұрын

    Thank you so much for the time that you invested in this. I found this really useful.

  • @arun6106
    @arun61063 жыл бұрын

    Remarkable work! Everything is very well explained. Keep it up team

  • @davidleitman
    @davidleitman3 жыл бұрын

    so helpful! thank you so much for sharing this with us Malik!

  • @mohammadadrees5263
    @mohammadadrees52632 жыл бұрын

    Thank you sir. It was a tremendous effort from your side to teach through this course. I request you to bring more course/s on bash scripting. Finally, I completed this course with practice. Thank you again.

  • @mqlwareborec2590
    @mqlwareborec25903 жыл бұрын

    Amazing teacher, i personally want to thank you.

  • @user-rm9vx2hq9q
    @user-rm9vx2hq9q4 жыл бұрын

    thanks you so much for your kindness bro

  • @ddos87
    @ddos873 жыл бұрын

    Dude... crushed it. So good.

  • @machman23
    @machman234 жыл бұрын

    This way of demonstrating is best for me, this is how I can learn, thank you for this method

  • @alejandrojerez1492
    @alejandrojerez14923 жыл бұрын

    This is a perfect linux learning task. Thanks! 😁

  • @chrismbah597
    @chrismbah5978 ай бұрын

    Bro you a fantastic teacher on bash scripting, I have come across. I have been studying Linux for one year but I have not come across scenarios based cases like these. Congratulations I hope this knowledge would help me to land a job.

  • @aadiandadvikvlogs
    @aadiandadvikvlogs4 жыл бұрын

    Thank you so much for providing this helpful tutorials on shell script. It's really help me to clear out doubts. Thanks a lot.

  • @aadiandadvikvlogs

    @aadiandadvikvlogs

    4 жыл бұрын

    Can you please provide me shell script for a program. I have achieved 60% stuff. So the question is : Find 1 days old files then zip all those files and remove that zip file after 5 days. Please help me

  • @Quadropheniaspain
    @Quadropheniaspain2 жыл бұрын

    Great video, explained very simple and clear, helped a lot, thank you for taking your time to do this

  • @dimitarmarinov7984
    @dimitarmarinov79843 жыл бұрын

    Thank you very much for your time in creating the video + the document. It is very helpful!

  • @oleksandrserdiuk1926
    @oleksandrserdiuk19263 жыл бұрын

    Awesome content and brilliant explanations! Thank you, bro!

  • @shoaibaslam3348
    @shoaibaslam33484 жыл бұрын

    Thank you so much for this effort. Keep up the good work :)

  • @ajayrohilla7186
    @ajayrohilla71862 жыл бұрын

    This course is really good and really helps to understand the bash script. I am very happy to complete it. Thanks so much.Recommended course for beginners

  • @sameerak8763
    @sameerak87632 жыл бұрын

    Amazing, Thank you so much, I was so bad at scripting. After seeing this I started to write some scripts. Thanks again .. well done 👍👍👏

  • @paulseldn
    @paulseldn4 жыл бұрын

    very enjoyable and easy to follow tutorial..many thanks!

  • @kopilkaiser8991
    @kopilkaiser8991 Жыл бұрын

    Liked your video as it deserves it. Fascinating method of explaining hard topics easily. Thank you

  • @aminghaffari1591
    @aminghaffari1591 Жыл бұрын

    This was honestly perfect, thank you very much.

  • @shlarry3184
    @shlarry31843 жыл бұрын

    This is going to be a beautiful rabbit hole, looking forward, and thanks; I will let you know how it's going.

  • @sodead5112
    @sodead51123 жыл бұрын

    Thanks this course helped me a lot. Keep making more videos like this

  • @WhaleGamer25
    @WhaleGamer252 жыл бұрын

    Thanks for the video helped me a lot to refresh my skills. Keep on posting good content like this 🤠

  • @ronishlopchan2020
    @ronishlopchan20203 жыл бұрын

    Thanks a lot mate! You're legend. Great tutorial!

  • @karthikjmoger478
    @karthikjmoger4782 жыл бұрын

    Thoroughly enjoyed the course. Thank you

  • @saurabhdamle4176
    @saurabhdamle41764 жыл бұрын

    Thanks a lot for this video! It was really helpful.

  • @sivakumar626
    @sivakumar6264 жыл бұрын

    Thank you so so so much.... I'm searching this kind of tutorial whole Internet.. Finally i got your video

  • @hassaniqbal7934

    @hassaniqbal7934

    3 жыл бұрын

    is there one such tutorial on subject of windows command-line as well?

  • @rajdulari_tadwal4912

    @rajdulari_tadwal4912

    3 жыл бұрын

    Yes....not a single vdo was perfect

  • @velmurugansubramaniam8051
    @velmurugansubramaniam80514 жыл бұрын

    Thanks Very useful video. Case statement is missed at 29:40. Found source code for it at 30:09 thanks.

  • @grandhiavinash4051
    @grandhiavinash40514 жыл бұрын

    very informative course. Thanks a lot for the effort.

  • @chirambamichaelchiramba6107
    @chirambamichaelchiramba61074 жыл бұрын

    Thanks for this awesome video. I have been searching for this

  • @alexharker7223
    @alexharker72233 жыл бұрын

    Thank you! I went from knowing very little about Bash scripts to feeling like I could do a lot!

  • @sanhitamandal2321
    @sanhitamandal23214 жыл бұрын

    Very Nice content. learned a no of tricky things which are asked in interviews.Thank you!

  • @BatMAn-kq3zf

    @BatMAn-kq3zf

    4 жыл бұрын

    which interview didi?

  • @sambhavjain2365
    @sambhavjain23653 жыл бұрын

    Kudos to the tutor🙌🙌. Looking at the time on the top of his screen, one can imagine the time it took to create this video

  • @rajkumarrishi1
    @rajkumarrishi13 жыл бұрын

    Thanks buddy! Yesterday in 4 days I completed this tutorial. I am not from the programming field.

  • @sunny_senpai
    @sunny_senpai4 жыл бұрын

    Thank you for this course!

  • @casedup
    @casedup Жыл бұрын

    Loved this one. Learned so much i never knew. Thanks ser!

  • @hemagouda2928
    @hemagouda29283 жыл бұрын

    Well explained.... It is really worth to watch.

  • @postmodernist1848
    @postmodernist18482 жыл бұрын

    This was pretty much the only video I could find that actually taught bash language

  • @samitechcookie9758
    @samitechcookie97583 жыл бұрын

    Thank you so much, this tutorial is very helpful. :) Stay safe! God bless you!

  • @The_Penguin_City
    @The_Penguin_City2 жыл бұрын

    Thanks for all dedication and knowledge that you share.

  • @syedbaryalay5849
    @syedbaryalay58493 жыл бұрын

    good work making this course. much appreciated

  • @pronounceword
    @pronounceword3 жыл бұрын

    Your content is fantastic.

  • @VincePicton
    @VincePicton3 жыл бұрын

    What a very useful resource, thank you.

  • @mecrajib
    @mecrajib2 жыл бұрын

    Thank you Sir, I have been learning from this video; I came here to comment before finishing it.

  • @teesec3978
    @teesec39783 жыл бұрын

    thank you so much..... you just made me love my Linux class :)

  • @schoollinux8828
    @schoollinux88282 жыл бұрын

    Very good course. I studied Intro to linux and I remember things from the course studied on here. But in the course i didnt understand it. Until i went through you video thank you i finally understand what i studied on the course.

  • @hazalberilcatalak4477
    @hazalberilcatalak44773 жыл бұрын

    I appreciate the effort put into this video lecture and I'd like to share my personal points for improvement. It's an okay intro in my humble opinion, and some important stuff is either lacking or overlooked. 1. In string processing, string comparisons are made by checking the ASCII code of each character, thus "abc" is not equal to "acb". In the lecture, it was represented like the length of the strings are checked. Maybe in the earlier versions, it could be true (by looking at the date of the video uploaded), but in the latest version, it is not. I didn't come across such a comparison in Java, Matlab, or Python, and it bugged me. 2. If you'll upload a newer version of this lecture, I would suggest, please, indicate the type of variable you're using. E.g, when you're showing how to write and if conditional for the first time, indicate that the program understands the variables when you use double quotes and dollar sign, and whether or not it is a string. 3. No need to mention that you've cut the part where you've explained case statement, so maybe you may want to explore that part in the newer version of the video. If there'll be no newer video on this topic, maybe you'll update the website accordingly. Thank you for the effort.

  • @Andy-xv4dj

    @Andy-xv4dj

    2 жыл бұрын

    Can agree 100% with that. He sometimes gives wrong ideas about what's happening behind the scenes. As you've mentioned with string comparison but also with export. In this chapter he should have at least mentioned local and global/environment variables. He just says that we are sending it to the other script which can be confusing. Haven't watched further yet. Not sure if he wants to over simplify stuff or if he really doesn't know better. Besides this I'm happy that somebody puts so much effort into and provides an 3h video on shell scripting.

  • @alperenceliktas5028

    @alperenceliktas5028

    2 жыл бұрын

    Hazal hanim değerli yorumunuz için teşekkür ederim.

  • @BeatRhino

    @BeatRhino

    2 жыл бұрын

    check 2:16:15 for "case"

  • @dumpsta-divrr365

    @dumpsta-divrr365

    2 жыл бұрын

    thank you, the string processing bit was confusing me.

  • @Deksudo

    @Deksudo

    2 жыл бұрын

    @@alperenceliktas5028 Yolun açık olsun paşam

  • @VishalRaoOnYouTube
    @VishalRaoOnYouTube4 жыл бұрын

    2:57:04 In case you guys were wondering how to replace only the 2nd "i" with "I" you can do it with: sed 's/i/I/2' sedfile.txt

  • @opendebate
    @opendebate4 жыл бұрын

    Excellent tutorial my friend!

  • @himanshuagrawal2014
    @himanshuagrawal20143 жыл бұрын

    Really loved ur video and learned a lot. Thanks. Stay Blessed !!

  • @eliasaca
    @eliasaca4 жыл бұрын

    Very helpful. Thank you sir.

  • @akhilajakkam269
    @akhilajakkam2693 жыл бұрын

    Good Course for beginners. Thank you! :)

  • @dansnickles
    @dansnickles4 жыл бұрын

    Great tutorial video thank you for this it was very helpful.

  • @gloriousguardpersonal
    @gloriousguardpersonal2 жыл бұрын

    This helped me learn a lot, thank you!

  • @s.r.howell1297
    @s.r.howell12973 жыл бұрын

    Essential viewing, thank you very much.

  • @joelmck
    @joelmck2 жыл бұрын

    BEST. OPENING. STATEMENT. EVER!! LOOOL. "I guarantee.. you will know about bash scripting, more than......... a lot more people." #facts Thank you for putting together this course!

  • @devihomes
    @devihomes Жыл бұрын

    Great tutorial with detailed explanations for the beginers..!!

  • @LtRaine
    @LtRaine3 жыл бұрын

    Awesome video thank you for this I am a new subscriber. I was wondering after I complete this course what resources would you recommend to keep improving my Bash scripting.

  • @Alhazarad
    @Alhazarad4 жыл бұрын

    what happens there at 29:45? Edited out case statements?

  • @ujjwalkarn30
    @ujjwalkarn304 жыл бұрын

    Thanks a lot . It was helpful . Keep up the good work :)

  • @narkhedemakarand
    @narkhedemakarand3 жыл бұрын

    Thanks for the valuable video..loved it.

  • @peanutrbuckle9123
    @peanutrbuckle91234 жыл бұрын

    Thanks man!

Келесі