What is Bash Scripting?

preview_player
Показать описание
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.

SUBSCRIBE @pikuma to learn more about computer science topics.
Follow me on Twitter:
Рекомендации по теме
Комментарии
Автор

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

hodap
Автор

My word this was the clearest explanation of bash

radleynewman
Автор

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

randomness
Автор

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

UsmanAR
Автор

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.

saraperestrelo
Автор

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

philipabraham
Автор

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

pralakbhargav
Автор

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

.areebaafreena
Автор

Can i write scripts to automate web searches?

silverhawk
Автор

To easy to understand and well explained

tufankeser
Автор

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?

funutation
Автор

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.

AnnatarTheMaia