Advanced Bash Scripting Tutorial

preview_player
Показать описание
This video is not being monetized, and no ads (advertising) should be shown.

Bash, or the Bourne Again Shell, is a widely popular command-line interpreter for administration and programming tasks. It's also the default option on Mac OS X and Linux. But Bash is different than most scripting languages. This course spends some time running you through the syntax—introducing variables, numbers, and control structures—so you can start writing scripts right away. Shows you how to wrap up multiline operations in one file, implement flow control, and interact with users to get input. Plus, offers challenges along the way that allow you to put what you've learned to the test.
Рекомендации по теме
Комментарии
Автор

0:00 Expansion Shortcuts
3:07 Moving Files/Folders || Standard Input/Output/Errors || Redirection
5:47 Grep - Search files for specific patterns of text || Command Chaining with Grep
9:22 Bash Script Syntax: Shebang
10:27 Creating/Editing Bash Scripts || Running Scripts
12:15 Displaying text with 'echo'
13:32 Variables || Adding attributes to variables || Special Variables
15:35 Command Substitution
16:35 Arithmetic Operations || 'bc' Command (Print floating point)
18:28 Comparison Operations || 20:06 Logic Operators || 20:15 String Null Value
21:06 Conditional Statements
23:40 Two ways to Style Text: Ansi Escape Code and 27:14 'tput'
28:43 Date || Printf
31:18 Arrays: Indexing - Displaying stored strings
33:24 Working with Text Files || Reading Files
35:31 'Here Document': Specify Input freely up to specified limit string
36:58 CHALLENGE#1
37:22 CHALLENGE#1 SOLUTION
40:32 'if' Statement
42:42 Loops: 'while' - 'until'
43:38 'for' loop
46:15 Case Statements
47:33 Function Declaration
49:47 Arguments: Acquiring user input
51:17 Flags - 'getopts' (get options)
53:10 Acquiring Input during execution of Bash script || 'select'
55:32 Error Tolerance || Input Validation
58:11 CHALLENGE#2
58:31 CHALLENGE#2 SOLUTION

Made this for self reference. Figured I'd share in case someone wants to know what you will see in this video.

ReliableRandy
Автор

Rare opportunity that someone really knows what he's talking about, instead of usual

hhskladby
Автор

Great ! This will help me creating my scripts even more complex and easy for others.

nparashar
Автор

Here's a tip since this guy is so fast. Change the playback speed to 1.5 so you can keep up.

FictionFlareProductions
Автор

If you want real-time, 0.75x playback

ChozoSR
Автор

"This video is not being monetized" is that because you directly lifted this video off of someone's course?

Zancb
Автор

This is precise and comprehensive. Any minute more will open up a portal to the Multiverse. Great job.

dassyareg
Автор

Two nasty audio clicks: 6:41 and 19:05

marcisberzins
Автор

This video is stolen from Linked Learning (his author is Scott Simpson)

alejandromadail
Автор

Wow...
This is everything I wanted...
Very detailed. most of the tutoriald are only focused on the easy stuff
I love the speed too😍

giftchukwuemeka
Автор

the upper limit of files you mentioned on mac looks awfully similar to the default ulimit setting for open files ive seen on linux distros. Might be worth checking if Mac uses ulimit and whether it can be extended.

jackle
Автор

Great job done, very helpful keep doing goods 😗🙂😗🙂😗🙂😗🙂😗🙂😗🙂

jaipalkhambra
Автор

Finally, I know.
Thanks for being Me.
I am just a?
Thankyou, again.

mikediaz
Автор

Closest thing I found to what I'm looking for great job

davidarnold
Автор

turn on max vol and still hard to listen

huyhuyt
Автор

Hi. Is shell language a good start point to learn programming/coding? I know it’s a very weird and limited language but is it still a good option to start with? Thanks.

soufianta