BASH scripting tutorial: Beginner guide for the Bourne Again Shell (BASH) | Part 2 смотреть онлайн
shell, scripting, bash, linux, devops, terminal, automation, tutorial, cybersecurity, system administration
*Intro*
The Bourne Again Shell (BASH) is one of the available shells for use on Linux operating systems. Bash is quite popular and very practical for automating repetitive and daunting tasks, especially in the realm of software development and deployment.
Bash is present on most (if not all) Linux distributions and is highly useful for automating system administration tasks, DevOps-related tasks (like writing CI/CD pipelines), software development, etc.
Hence, as a software developer, Cloud Engineer, DevOps Engineer, System administrator, Cybersecurity Engineer, or just a Linux User, bash scripting is definitely a skill you would like to add to your toolbox.
On Windows, _Git Bash_ offers a nice alternative to run bash scripts (although limited)
*Content*
The present video delves into flow control and looping structures available in Bash. The test command is also explored and the "double square bracket" shorthand alternative to writing conditional expressions is also covered.
This video ends with an overview of functions and how to overwrite existing built-in commands or external tools.
*Note*
If the tutorial happens to be too slow, feel free to speed it up to suit a comfortable pace for you.
*Playlist*
https://youtube.com/playlist?list=PLtDg6U4m1Td3sVnvbRS8nibNaadfyMKEx&si=AC03a3BytvJCkGpJ
*Useful Links*
- https://www.gnu.org/software/bash/manual/bash.html
- https://www.mycompiler.io
- https://gitforwindows.org
*Timestamps*
00:00 Conditional expressions (test command)
10:30 Test strings & integers
17:57 Double square-bracket construct & testing regular expressions
37:15 Flow control with if else
54:44 Flow control with case structure
01:09:55 Looping constructs: For loops
01:28:30 Looping constructs: While loops
01:37:55 Looping constructs: Until loops
01:42:21 Define functions
01:52:31 Use functions to overwrite built-in commands
01:52:31 Use functions to overwrite built-in commands
01:56:09 Use functions to overwrite external commands
01:58:48 Functions & Variables scope
*Music Licenses*
Puppy Love (Sting) by Twin Musicom is licensed under a Creative Commons Attribution 4.0 license. https://creativecommons.org/licenses/by/4.0/
Artist: http://www.twinmusicom.org/
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «BASH scripting tutorial: Beginner guide for the Bourne Again Shell (BASH) | Part 2» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.