Bash Shell Scripting Tutorial For Beginners - Bash Basics in 20 Minutes

2024 ж. 14 Мам.
135 067 Рет қаралды

In this video you will learn Bash Basics in under 20 Minutes. The video gives a brief explanation into what Bash is and what are differences between Bash, Shell and the Terminal. You will also learn all the Shell Scripting basics starting from commands on how to work with directories (mv, cd, rm, cp, touch, nano, etc...) up to creating your own Bash Scripts and executing them in the Shell.
By watching this video you should gain basic knowledge over Bash, you should be able to navigate around directories, manipulate files, search for content and create basic automated scripts that can be executed in the CLI.
Bash is a Unix shell and command language. Written by Brain Fox as a free alternative to the Bourne Shell.
The Shell is basically the command line. You type commands into a terminal window which then in return are executed.
Terminals, command lines or consoles, allow us to accomplish and automate tasks on a computer without the use of a graphical user interface or GUI.
If you want to learn how to become a great Software Engineer, Advance your Career, Learn Everything from Python to AWS head over to
🚨 noveltechmedia.com 🚨
For any thoughts, ideas, feedback or questions contact me at
🚨 contact@noveltechmedia.com 🚨
Disclaimer:
All videos are for educational purposes and use them wisely. Any video might have inaccurate or outdated information. I give my best to research every topic thoroughly but please be aware that videos can contain mistakes.

Пікірлер
  • I am starting my first software engineering internship tomorrow and the job requires knowledge on bash shell scripting and I had no experience before so this was a great starting point for me. Thanks man!

    @sheriffcrandy@sheriffcrandy Жыл бұрын
    • Today I will have my internship too, and they requires knowledge on bash too

      @ariciusilviu5475@ariciusilviu5475 Жыл бұрын
    • @@ariciusilviu5475 how did it go? What did they ask?

      @whoozyyy@whoozyyy Жыл бұрын
    • How did it go?

      @whoozyyy@whoozyyy Жыл бұрын
  • Thank you taking the time to put this tutorial together.

    @travops8996@travops89962 жыл бұрын
  • What a great Tutorial. Thanks for sharing!

    @annexgroup6878@annexgroup68782 жыл бұрын
  • Just what I was looking for. Thank you.

    @danielgrafton7@danielgrafton7 Жыл бұрын
  • Thanks man!🤓👍 Perfect overview

    @BuffaloSpring@BuffaloSpring2 жыл бұрын
  • I'm prepping for another tech interview and this has set me on the right /path!

    @JasonKuffler@JasonKuffler Жыл бұрын
  • Thank you novelTech I love you educative content, i'm french, but you speak slowly and clearly, bonjours from Belgium :)

    @amineghalmi3052@amineghalmi30522 жыл бұрын
  • thanks man that an amazing introduction to bash

    @anonymousgerman2809@anonymousgerman28092 жыл бұрын
  • Totally cool video, never knew when I got hooked up with it

    @anantgaonkar941@anantgaonkar941 Жыл бұрын
  • I found your video clear and appreciate the concise explanations as a newbie learning programming. Your examples were easy for me to follow along while practicing. Do keep up the good work. Liked and subbed.

    @lolaola5584@lolaola5584 Жыл бұрын
    • thanks for the awesome feedback!

      @noveltechmedia@noveltechmedia Жыл бұрын
  • Thanks very much for the video. I used Unix long time ago. This is a very useful refresher for me.

    @eatbreathedatascience9593@eatbreathedatascience95932 жыл бұрын
    • Awesome to hear that, thank you for the feedback!

      @noveltechmedia@noveltechmedia2 жыл бұрын
  • That was a superb tutorial, thank you

    @mikemccartneyable@mikemccartneyable Жыл бұрын
  • Hi! I'm just getting started on bioinformatics and this was super useful! Thks! I'll stay tuned for the next videos! Greetings from Mexico!

    @marianam.noriega1235@marianam.noriega12352 жыл бұрын
    • Hi awesome to hear that, more content comming soon!

      @noveltechmedia@noveltechmedia2 жыл бұрын
    • Ohh hooo wow

      @nerd6134@nerd61342 жыл бұрын
    • a quien le importa ? pfff

      @Po0pypoopy@Po0pypoopy2 жыл бұрын
    • Me too! Arriba México!

      @emydiusmontesa2568@emydiusmontesa25682 жыл бұрын
  • Great video, you covered most topics!

    @ivanagajic5436@ivanagajic54363 жыл бұрын
    • Thank you!

      @noveltechmedia@noveltechmedia3 жыл бұрын
  • Excellent! Thank you so much for your super-informative content! You are a beacon of light in a sea of confusion. Your ability to simplify things and communicate the important aspects of the BASH scripting language is a gift. Please continue creating content. I have liked and subscribed. because I see that you really know your $h!t and, moreover, you are willing to share it with the rest of the world ... which leaves an indelible mark of positivity and goodness.

    @GitfiddleMike@GitfiddleMike8 ай бұрын
  • Really wonderful tutorial.

    @tareq06@tareq06 Жыл бұрын
  • Hi There! Thanks for this informative video! 👍 I need to know this for my upcoming CompTIA A+ Certification exam.

    @farhadniaz732@farhadniaz73211 ай бұрын
  • wonderful start!

    @xuechengliu8178@xuechengliu8178 Жыл бұрын
  • Thanks for the video.

    @ParappatheRapper@ParappatheRapper Жыл бұрын
  • Good Tutorial keep it up!!!! thanks lot

    @ebabekele212@ebabekele212 Жыл бұрын
  • Thanks, great video and best wishes

    @mortenlund1418@mortenlund1418 Жыл бұрын
  • Nice video!! I had a problem using variables but I realized my issue was I had spaces with STRING=“Hello There”. Not sure why that’s a problem but it works

    @keydagreat1@keydagreat1 Жыл бұрын
  • Such a wonderful, clear and educative video! I love how you didn't waffle uselessly about pointless details. Please, keep this work up. P.S Subbed!!

    @thecomedian4136@thecomedian41362 жыл бұрын
    • Thanks for the great feedback, much aprechiated!

      @noveltechmedia@noveltechmedia2 жыл бұрын
  • this helped me pick up the stuff i missed in class f thanks man for the help

    @Vertig_Pro@Vertig_Pro Жыл бұрын
  • lspci | grep VGA is a good command that uses the pipe with lspci and grep in linux to tell you the graphics info on board. Thanks I enjoyed the tutorial!

    @RC-Heli835@RC-Heli83511 ай бұрын
  • Awesome video!

    @Josh-vu4sb@Josh-vu4sb3 жыл бұрын
    • Thank you!

      @noveltechmedia@noveltechmedia3 жыл бұрын
  • Excellent video. Thanks

    @OPopoola@OPopoola3 жыл бұрын
    • Thanks!

      @noveltechmedia@noveltechmedia3 жыл бұрын
  • Hello, thanks for the lesson. How did you set up that you would have an empty line in the terminal between different commands

    @user-qw5gr5bk8u@user-qw5gr5bk8u Жыл бұрын
  • Amazing video! Thanks a lot!

    @lalovenegas8749@lalovenegas87492 жыл бұрын
    • Glad it helped!

      @noveltechmedia@noveltechmedia2 жыл бұрын
  • 18:00 programming

    @latlov@latlov3 жыл бұрын
  • Great Video thanks mate

    @BodenMovies@BodenMovies2 жыл бұрын
    • You are welcome!

      @noveltechmedia@noveltechmedia2 жыл бұрын
  • nice video 👌🏼👌🏼

    @yuvabhagvatkathakarshriyag9305@yuvabhagvatkathakarshriyag93053 жыл бұрын
  • Good stuff. As a novice I was confused by the argument $@ that you used and why any extra argument you added was still echo'd. I thought you should have explained more that $@ will encompass ALL parameters passed. Which is why as you kept adding variables it echo's them all instead of just the first one. If you want to specifically ONLY echo argument 1 then it needs to be $1... for argument two $2, and so on.

    @andrewa3216@andrewa3216 Жыл бұрын
    • Thank you for explaining that. That helped me.

      @Checkitwithamagnet@Checkitwithamagnet11 ай бұрын
  • superb

    @Seen2r@Seen2r Жыл бұрын
  • Nice Tutorial, but i`m in my first lesson in University and already need more funktions like if, else etc. a part two with further explanations of advanced funktionalitys of the bash would be great since you just cover the basics in this one. Still good work. if i didnt liek it i wouldnt ask for a part two :-D

    @hermeteus103@hermeteus1033 жыл бұрын
    • Thanks very much for the great feedback, I will add it on my videos backlog :)

      @noveltechmedia@noveltechmedia3 жыл бұрын
  • Thank you.

    @Storm_x@Storm_x2 жыл бұрын
    • Welcome!

      @noveltechmedia@noveltechmedia2 жыл бұрын
  • Is there any help or details we can get for particular commands like windows command prompt has? In windows command prompt you could write "help" and command name and get the help/details so is there anything similar this bash has?

    @junedshekh313@junedshekh3132 жыл бұрын
    • If you type man and then the command name you should get a similar result ie "man ls"

      @ryancowan1st@ryancowan1st2 жыл бұрын
  • Hi Bro kindly add more shell scripting basics please

    @roya2045@roya20453 жыл бұрын
    • Thanks for the feedback, I will improve the video!

      @noveltechmedia@noveltechmedia3 жыл бұрын
  • Many thanks for the video. I got a question: You kinda have a Polish accent. Where are you from?

    @alperenceliktas5028@alperenceliktas50282 жыл бұрын
    • You are quire right, my second/first language is croatian/serbian.

      @noveltechmedia@noveltechmedia2 жыл бұрын
  • Are you (related to) Paulo Costa?

    @j.c.5011@j.c.5011 Жыл бұрын
  • hi, your video is very useful for beginners would have to watch many times to catch up, can you recommend a strategy i can use to get better or send me more links, thanks again for the video

    @ndefrutitus4201@ndefrutitus42012 жыл бұрын
    • The best strategy is really trying to figure out how to solve a problem without first reading other solutions like stackoverflow, I could also create a new video with practice examples if people are interested

      @noveltechmedia@noveltechmedia2 жыл бұрын
    • @@noveltechmedia yes please!

      @rainn2115@rainn21152 жыл бұрын
  • Muchas Gracias Hermono. Muchos hablan pero no explocacn los defininacions con detales de la commandant or detales, el llego de "Sales & Marketing. Please be explicitly because I and others are learning for valuable projects. Thankyou Pleeeeaaaaaasssseeeee.

    @mikediaz9033@mikediaz9033 Жыл бұрын
  • one little comment from someone who just started bash but is used to python. When you wrote the line : STRING="hello There" , I wrote: STRING = "Hello there", but it gave me an error. I'm used to writing that little space between variables and equal signs, but we can't in bash!

    @yepyep266@yepyep2662 жыл бұрын
    • He's using 'git bash.' Are you using 'bash' or something else?

      @rainn2115@rainn21152 жыл бұрын
    • Thats a good point, thanks for mentioning

      @noveltechmedia@noveltechmedia2 жыл бұрын
  • Doesn't matter what operating system I'm using right?

    @JD-kf2ki@JD-kf2ki2 жыл бұрын
    • Correct, but certian modules are not availinle in each OS

      @noveltechmedia@noveltechmedia2 жыл бұрын
  • Is this a command line educational video? Or a bash shell scripting for beginners video?

    @dru4135@dru41352 жыл бұрын
    • He does some scripting at the end

      @shimmeringreflection@shimmeringreflection Жыл бұрын
  • dieses Video kam zur rechten Zeit. ausgezeichnet

    @markganus1085@markganus10852 жыл бұрын
    • Schön zu hören!

      @noveltechmedia@noveltechmedia2 жыл бұрын
  • Ivan?

    @em_el_007@em_el_0072 жыл бұрын
  • I wish i can put you a 100 likes =)

    @elinakarshigeiv3263@elinakarshigeiv32632 жыл бұрын
    • Thanks for the support!

      @noveltechmedia@noveltechmedia2 жыл бұрын
  • For arg1 in "$@" Why are you using "$@" in the script, but in the comment, you are using variable1 and variable 2.... confusing..

    @matta7857@matta78573 жыл бұрын
  • There are lot of commands left behind.

    @starsystechnologies6413@starsystechnologies64132 жыл бұрын
    • I try to get to all comments, but sometimes I just cant answer every question. I encourage the community to also help out with questions.

      @noveltechmedia@noveltechmedia2 жыл бұрын
  • This has 2 commercials$ wtx

    @TotallyNotAuroras2ndChannel@TotallyNotAuroras2ndChannel Жыл бұрын
  • this is totally unrelated to bash. Bash is a programming language.

    @jermsbestfriend9296@jermsbestfriend9296 Жыл бұрын
  • thx

    @user-il4ux8ml5p@user-il4ux8ml5p Жыл бұрын
KZhead