What is Bash Scripting?

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

This video explains what is Bash scripting and teaches you how to write your first shell script file.
A Bash script is a text file that contains raw Bash commands, that the Linux system can understand. Instead of typing the commands manually one by one in your Linux terminal, you add all the commands in a text file and asks your OS shell to execute them all at once.
Bash script is also a full-featured programming language, where you can write conditionals (if-else) statements, while-loops, for-loops, declare and use variables, and several other high-level elements that can really help you as a system administrator or developer.
You will learn how to create a shell file, add Linux shell commands to it, and ask Bash to execute and interpret the contents of your code.
Finally, we quickly review where and why Bash scripting is used and how it can help UNIX and Linux administrators and programmers.
Bash scripts work on Linux, UNIX, and also macOS operating systems.
For a complete and comprehensive course on the Linux command-line and Bash scripting, visit: courses.pikuma.com/courses/li...
SUBSCRIBE ‪@pikuma‬ to learn more about computer science topics.
Follow me on Twitter:
/ pikumalondon

Пікірлер: 51

  • @hodap6591
    @hodap65914 жыл бұрын

    see? this is not a difficult topic, yet I've watched 5 different videos before this one, and all of them just made me more confused thanks for the help this was super clear

  • @ayoolafakoya9841

    @ayoolafakoya9841

    3 жыл бұрын

    same here, I just kept seeing long-form videos that complicated it for beginners like me.

  • @clayjohnathan6734

    @clayjohnathan6734

    2 жыл бұрын

    i guess Im asking the wrong place but does anyone know a trick to log back into an Instagram account..? I stupidly forgot the password. I would love any help you can offer me.

  • @radleynewman3891
    @radleynewman38913 жыл бұрын

    My word this was the clearest explanation of bash

  • @randomness3235
    @randomness32352 жыл бұрын

    As an OpenBSD user, it's refreshing to see you mention the portability use of /bin/sh.

  • @danalvatv
    @danalvatv4 жыл бұрын

    This is perfectly explained; helped me understand the whole concept quite succinctly.

  • @pikuma

    @pikuma

    4 жыл бұрын

    Thank you

  • @Dan_0993

    @Dan_0993

    Жыл бұрын

    I agree, it was succulent 😩

  • @samublaze6778
    @samublaze67783 жыл бұрын

    Was very helpful, thankyou

  • @KrassIankov
    @KrassIankov3 жыл бұрын

    Very clear. Thank you

  • @philipabraham5600
    @philipabraham56003 жыл бұрын

    Excellent, clear Explanation to what BASH is. Thank you. Keep making these great videos.

  • @nogoodhacker6944
    @nogoodhacker69443 жыл бұрын

    this is just awesome!!!!

  • @UsmanAR
    @UsmanAR4 жыл бұрын

    What a beautiful and organized way of explaining. Helped me understand very clearly. Definitely saving it.

  • @pikuma

    @pikuma

    4 жыл бұрын

    Thank you

  • @farhanisane3052

    @farhanisane3052

    2 жыл бұрын

    Ikr .....same .... just an amazing video

  • @karinacuevas7314
    @karinacuevas73142 жыл бұрын

    THANK YOU SO MUCH!

  • @bajpaiharsh244
    @bajpaiharsh2444 жыл бұрын

    Awesome!

  • @RandomDrood
    @RandomDrood3 жыл бұрын

    Thank you a lot man, very clear.

  • @mansoor8228
    @mansoor82283 жыл бұрын

    Awesome ❤️

  • @nyaradzo-
    @nyaradzo-2 жыл бұрын

    Thanks!! 👏👏

  • @saraperestrelo8377
    @saraperestrelo83772 жыл бұрын

    It's the first video that made me understand something on this topic so far. It's an excellent explanation for newbies like me to follow. Thank you so much for this opportunity.

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

    Perfect !

  • @muhammadshoaibsikander5148
    @muhammadshoaibsikander51483 жыл бұрын

    Great!!

  • @leenakaushik8973
    @leenakaushik89733 жыл бұрын

    Thank you for explaining 👍

  • @zoomzoom1889
    @zoomzoom18893 жыл бұрын

    super helpful, thanks!

  • @alvxlopez
    @alvxlopez4 жыл бұрын

    Thanks

  • @semihozkan8514
    @semihozkan85143 жыл бұрын

    greatt intro, thanx

  • @pralakbhargav7113
    @pralakbhargav71134 жыл бұрын

    This is an excellent basic intro to Bash Scripting. Great job! I only wish the audio quality was better though. :)

  • @pikuma

    @pikuma

    4 жыл бұрын

    Thank you, Pralak.

  • @sKprmAN

    @sKprmAN

    3 жыл бұрын

    the audio is perfect here

  • @tufankeser2633
    @tufankeser26334 жыл бұрын

    To easy to understand and well explained

  • @pikuma

    @pikuma

    4 жыл бұрын

    Thank you

  • @satoshiborishi6898
    @satoshiborishi68982 жыл бұрын

    Very good explanation. Thanks

  • @1.areebaafreen6a47
    @1.areebaafreen6a473 жыл бұрын

    I am learning linux in class 7 and it is easy but i was unable to understand bash i also looked for some other video as well but didn't understood bash and then i got this and its pretty easy

  • @funutation
    @funutation2 жыл бұрын

    if you run $ bash $ bash $ bash is there a way to see the stack order? I currently run ps -f and look at parent relationships, but wondering if there is another way?

  • @Kingstanding23
    @Kingstanding233 жыл бұрын

    Loops in bash! 🤯

  • @selehadinhabesi3855

    @selehadinhabesi3855

    3 жыл бұрын

    mind blown

  • @silverhawk923
    @silverhawk9234 жыл бұрын

    Can i write scripts to automate web searches?

  • @jonathanhall6194
    @jonathanhall61942 жыл бұрын

    brooooooooooooooooooooooooooooooooooooooooooooooooooo

  • @fenixglobtroter5922
    @fenixglobtroter59223 жыл бұрын

    Bash

  • @FredrickTheDog

    @FredrickTheDog

    3 жыл бұрын

    What?

  • @andrew8300

    @andrew8300

    2 жыл бұрын

    @@FredrickTheDog Bash

  • @artoholic5340

    @artoholic5340

    2 жыл бұрын

    @@FredrickTheDog bash

  • @FredrickTheDog

    @FredrickTheDog

    2 жыл бұрын

    @@artoholic5340 what does that mean?

  • @artoholic5340

    @artoholic5340

    2 жыл бұрын

    @@FredrickTheDog lol idk... was just continuing the chain

  • @niyagentleman8143
    @niyagentleman81433 жыл бұрын

    ^^

  • @unomenah
    @unomenah2 жыл бұрын

    Bash$$$ user

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

    And DON'T use extensions on executables; imagine if you had to type "ls.exe" every time? The UNIX-like operating systems abstract this on purpose: it is the executable bit (x) which tells the OS whether a file is executable or not; there is purposely no distinction between a binary and interpreted executables. A user should never need to know or care about which format the executable is in, and in the rare case where they care, there is a file command for this purpose: man file. A shell script executable should behave exactly the same as all the executables in /usr/bin/. That means: no postfix extensions, of any kind.

  • @pikuma

    @pikuma

    Жыл бұрын

    I remember the first time I saw the "[" file in the bin folder and it blew my mind! 🙂

  • @AnnatarTheMaia

    @AnnatarTheMaia

    Жыл бұрын

    @@pikuma there are no folders on UNIX or UNIX-like systems; even on Windows, a folder is a marketing term only used inside of the EXPLORER.EXE application; Even the CMD.EXE's DIR command shows directories. As for [, it's just a symbolic link to the test(1) application; traditionally, there were always UNIX applications which would change their personality / behavior based on with which name they were called; sendmail(1) is another such application, where mailq is a symbolic link and then sendmail displays the queue instead of acting like a mail transfer agent. Welcome to UNIX!

Келесі