Become a bash scripting pro - full course

  Рет қаралды 30,877

CODE IS EVERYTHING

CODE IS EVERYTHING

Күн бұрын

In this video you'll learn everything you need to know in order to start writing bash scripts to automate all of your boring tasks.
Useful reference site: learnxinyminutes.com/docs/bash/
Music by Alex Bainter / CC BY
#terminal #linux #bash

Пікірлер: 114
@thisguyc0ry
@thisguyc0ry Ай бұрын
I never knew I needed a “Guided Bash Meditation”
@RickGladwin
@RickGladwin Ай бұрын
Pro tip: light a couple candles, put on a nice essential oil diffuser. Saje has a scent called “nerd forest” that’s perfect for this.
@nomemeshere253
@nomemeshere253 2 ай бұрын
If you made Bash Pro Shop merch, I would instantly buy it. I have never bought merch before, but it would be worth the investment.
@Kane0123
@Kane0123 2 ай бұрын
I second this. Only stopped for the title
@SteveWilburn
@SteveWilburn Ай бұрын
For real. That graphic would be great on a shirt or a hat.
@hunterlake2943
@hunterlake2943 Ай бұрын
Same
@moose-1
@moose-1 Ай бұрын
Agreed
@Iwbyiwm
@Iwbyiwm Ай бұрын
I agree
@danydanger
@danydanger 2 ай бұрын
I have been through long courses of bash scripting and in that only I have seen all these topics covered, covering so much in a less than 30mins is really awesome. I request you to make more of like this plz.
@leo25cm
@leo25cm 2 ай бұрын
It's interesting that not a lot of creators go in-depth into she'll scripting. It's so useful and portable
@kurdm1482
@kurdm1482 2 ай бұрын
Shell scripting is easy n powerful ​@@leo25cm
@RickGladwin
@RickGladwin Ай бұрын
I consider myself to be “decent to okay” at bash scripting. I’ve even got bash scripts in enterprise production environments. This video helped _clarify_ and illuminate so many individual features and (sometimes conflicting) syntaxes. Not only do I have new knowledge, but the information that was already in my head is more cohesive. Absolute A+ content.
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
That is great to hear!
@silvertechnolo3958
@silvertechnolo3958 Ай бұрын
This was beautiful my friend. Your calming voice and the methodical breakdown of the code is Buddhist in nature. Incredible work. And I now second the merch thing.
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
Thanks!
@goofballbiscuits3647
@goofballbiscuits3647 2 ай бұрын
Nice mic, damn 😅 Even better video! It's actually as relaxing as it is perfectly dense and presented. I think any more in any direction of brevity or speed, it wouldn't work. You hit that Cinderella slipper of YT education. Normally, music in the background drives me nuts. I loved it!
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING 2 ай бұрын
Thanks!
@polares8187
@polares8187 2 ай бұрын
You keep hitting it out of the park. Another amazing video. Holy hell.
@DenisNolan
@DenisNolan Ай бұрын
I feel like I’m learning and meditating at the same time. This is wonderful. Subscribed
@aarond0623
@aarond0623 Ай бұрын
A couple of errors/things that may be confusing: 13:53 - The internal logical AND and OR are wrong for double brackets. They would be correct for single brackets, though. 20:07 - The for loop is incorrect and prints 1[@]. The correct syntax would be `for item in "${my_arr[@]}"` 21:00 - Not an error, but this while loop will fail after the first iteration with the previously mentioned "strict mode", because ((counter++)) will return non-zero and exit the script.
@youseflourdx6531
@youseflourdx6531 2 ай бұрын
Thanks a lot! I'm learning bash little by little and this video and the last one hit the spot
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING 2 ай бұрын
I’m glad to hear it!
@erikastjarnstoft
@erikastjarnstoft 2 ай бұрын
So glad I found your channel as I'm struggling to wrap my head around the awkwardness of writing bash scrips for my studies right now. Will definitely reference parts of this video again during the two weeks I have for my current assignment! Thank you! ❤
@josephbledsoe1333
@josephbledsoe1333 14 күн бұрын
Was skeptical I would learn anything new, but there were several juicy fresh bits! Very cohesive, wish I had seen this years ago haha. Valuable content for the community
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING 14 күн бұрын
Glad to hear it!
@pabloqp7929
@pabloqp7929 2 ай бұрын
So many pro-tips and nuanced demos, thank you! Also great voice tbf.
@frackinfamous6126
@frackinfamous6126 Ай бұрын
Please don’t stop making videos. ❤. Keep it up! Too good.
@caiocouto3450
@caiocouto3450 2 ай бұрын
this vid is amazing. I'm not very inclined to learn shell scripts, like bash or powershell; but the pacing, the background song, the edit and your explanation turn it like a "reading session". i felt like i was reading a really good book, with no hurry and pay the most attention i could
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
Glad you enjoyed it!
@ericlindell3777
@ericlindell3777 2 ай бұрын
Wonderful vid! Looking forward to more!
@franciscocarvalho8843
@franciscocarvalho8843 Ай бұрын
Hey, you did an amazing job. This was more than helpful, it was enjoyable. I believe that you have an excellent combination here, summarizing information but also lifting a bit the curtain to understand the underlying structure is really valuable for this type of content. Keep up and I am sure that you will get more acknowledgment from everyone in a near future!
@finnberuldsen4798
@finnberuldsen4798 2 ай бұрын
Awesome video, so much content, so well explained. Love the added process at the end
@SCALENE5
@SCALENE5 2 ай бұрын
Thank you for teaching me. This is top grade knowledge that you are teaching us.
@ajko000
@ajko000 Ай бұрын
I had some trouble understanding how the positional variables worked until I saw the ffmpeg example and then it clicked! Thanks!
@hellawacked
@hellawacked 2 ай бұрын
Great videos looking forward to the next one.
@redbrickhut
@redbrickhut Ай бұрын
Dude your content is amazing, keep it up!
@M3eizo
@M3eizo 2 ай бұрын
Really awesome! Thank you so much and see you in the next one too.
@rafadubiel5288
@rafadubiel5288 2 ай бұрын
Great video! Need more! 👏
@tonyb9864
@tonyb9864 2 ай бұрын
Thanks! More of this please! 🙂
@SocheatSok78
@SocheatSok78 9 күн бұрын
In the function statement you can also use the “return” keyword “return” or “return n”.
@MacSuperior_
@MacSuperior_ 2 ай бұрын
thx for the video! I’m sure learning this will help me in the future
@mingzih
@mingzih Ай бұрын
nice, you acually explained all about bash, thanks.
@phobosmoon4643
@phobosmoon4643 2 ай бұрын
dank content the middle school teachers need to steal this and create some yung engineers
@made-simple
@made-simple Ай бұрын
Really unique Editing style ... feels calming and mental rush just boils down! ... Subscribed! for your efforts !
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
Thanks!
@snneossi6880
@snneossi6880 Ай бұрын
Really interesting. and concise, kudos!!!
@trev-dev
@trev-dev Ай бұрын
Telling me that bash is a command syntax language unravels much of the mystery behind why my scripts have sucked. Thanks
@alexander_adnan
@alexander_adnan Ай бұрын
The title got me, there’s one that just opened near my place😂😂😂😂😂❤
@blank001
@blank001 Ай бұрын
Thanks for this awesome video/resource
@alezad57121
@alezad57121 Ай бұрын
more videos exactly like this. fundamentals of linux is great stuff.
@Juanjuanzerojuan
@Juanjuanzerojuan 2 ай бұрын
Super helpful thank you!
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING 2 ай бұрын
I’m glad to hear it!
@kartikmahajan4405
@kartikmahajan4405 Ай бұрын
great video, subscribed
@XrayShapeShifter
@XrayShapeShifter Ай бұрын
This video is an expected pleasure
@azadim8268
@azadim8268 Ай бұрын
Thank you sir!
@SlinkyD
@SlinkyD 2 ай бұрын
This is the ABS (Advanced Bash Scripting) Guide speed run.
@saeedxgholami
@saeedxgholami 2 ай бұрын
Very useful thanks.
@sevos
@sevos 2 ай бұрын
This video is awesome
@mgmartin51
@mgmartin51 Ай бұрын
I feel like I’m listening to late night FM radio.
@l.sureshkumar-lsk550
@l.sureshkumar-lsk550 Ай бұрын
Nice useful video. 👏
@GagikAvetisyan-hi9jh
@GagikAvetisyan-hi9jh 4 күн бұрын
Good Job !
@imaboutmyfathersbusiness
@imaboutmyfathersbusiness 11 күн бұрын
Subscribed Brother!
@kurdm1482
@kurdm1482 2 ай бұрын
I love this n you Thank you
@leo25cm
@leo25cm 2 ай бұрын
Also if you stick to the Bash test, that is `[[ ... ]]`, you don't need to put variables inside quotes, not on the left side of a comparison.
@comosaycomosah
@comosaycomosah 2 ай бұрын
Lmao love the thumbnail 😂
@hyltoncarboo8303
@hyltoncarboo8303 2 ай бұрын
This is golden!!! What font do you use for the terminal?
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING 2 ай бұрын
Thanks! And its IBM Plex Mono (www.programmingfonts.org/#plex-mono)
@Robdawger
@Robdawger 2 ай бұрын
You're the best. I followed along and made a "quick reference" guide for myself as I continue to learn how to use Bash and Linux/Ubuntu. It's not as scary as I thought it would be, trying to learn all this. Thank you for making it much more approachable! One question: Is there is significant difference between csh and bash? My advisor only uses csh, while, I want to learn more bash/tcsh, since I've read that the latter is a bit more dynamic compared to csh. Is this true?
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING 2 ай бұрын
I'm glad to hear it! And I think the choice really comes down to personal preference. There will be some differences in syntax and a few features here and there, but the majority of the work you'll be doing in the scripting is going to be very similar, as it'll be heavily command driven. I think the real reason to opt for bash is its ubiquity. Almost every unix system will have bash pre-installed, whereas very few have csh/tcsh (not that its hard to install). I personally use zsh as my main shell, but still for any scripts I write I'll tell it to use bash so it'll run on any of my systems.
@goofballbiscuits3647
@goofballbiscuits3647 2 ай бұрын
I'll add that Bash is used in Unix, Linux and Windows. If you are going professional with these skills, bash would be the most useful/ubiquitous by far.
@darkseid3427
@darkseid3427 Ай бұрын
thanks a ton!! can you please make video or if possible share reference sites for learning docker and k8s.
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
Hey, I've been thinking about doing guide videos for those. I've got a couple others in the works right now, but I can definitely do that.
@mervmartin2112
@mervmartin2112 18 күн бұрын
Bash is cow complete! cowsay "Thanks! You have another subscriber."
@Podoco_music
@Podoco_music 2 ай бұрын
fantastic video! this ends up being a good refresher video too!
@MorphTW
@MorphTW 2 ай бұрын
thanks for sharing. here is the comment for the algo!
@cherkim
@cherkim 22 күн бұрын
This production quality is too high, the channel will blow up soon.
@rorylabine7143
@rorylabine7143 Ай бұрын
PLEASE make a hat with Bash Pro Shop on it. I would buy it so fast
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
Haha I’d love to but I imagine I’d be inviting trouble. But I’ll look into it.
@doskius111
@doskius111 Ай бұрын
I do not know if someone address this but during 13:54 there is an syntax error in internals, instead of [[]] you have to use [], because -a/-o are for POSIX standard
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
Ah good catch, not sure how I missed that.
@hanzomaster
@hanzomaster 2 ай бұрын
Can you pls tell me what is the font you use in this video? The # sign look so unique
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING 2 ай бұрын
I’m using IBM Plex Mono font for the code and Syne for the titles.
@senorchang6249
@senorchang6249 Ай бұрын
What color Schema is that? Looks beautiful
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
I believe it is GitHub Dark.
@dachanel2076
@dachanel2076 Ай бұрын
whats the zshell interface/custom form you use? I'd love to try it.
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
I keep it pretty simple with just oh-my-zsh and then when I’m doing the video recording I set these export PROMPT='> ' export RPROMPT="" That way it gets rid of all of the extra noise. But on my day to day I don’t keep it like this since it gets rid of some useful info.
@flflflflflfl
@flflflflflfl Ай бұрын
15:11 isn't it a convention to print (Y/n) with a capital Y only if "yes" is the default option if the user enters nothing (i.e., simply presses return)? Because your script would treat that as a "no", which could be confusing.
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
Good catch. You’re correct, I should’ve had it the other way around
@Parker8752
@Parker8752 Ай бұрын
I did wonder why the /usr/bin/env was so common in scripts.
@setsune999
@setsune999 2 ай бұрын
I need a tshirt with that thumbnail
@valeris98
@valeris98 Ай бұрын
What font did you use btw?
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
For the code it is IBM Plex Mono. The titles are syne
@sphyrnidae6749
@sphyrnidae6749 2 ай бұрын
🎉🎉🎉🎉
@Vuden13
@Vuden13 Ай бұрын
What is your background?
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
I'm very much a generalist. Most of my "professional" career has been in the DevOps space, but I've been programming for over 15 years (though only half of that with any degree of skill lol) and I try and learn everything.
@KeithErekson
@KeithErekson 2 ай бұрын
How is hardcoding the path to "env" any better than hardcoding the path to "bash"?
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING 2 ай бұрын
It comes down to the portability. You have to hardcode some full path, but not every machine will have bash at the same location, whereas env is almost always at /usr/bin/env.
@yaluvi7420
@yaluvi7420 2 ай бұрын
😎😎
@user-hd3pz2ow1b
@user-hd3pz2ow1b 21 күн бұрын
co0l
@zawadhyaa
@zawadhyaa 2 ай бұрын
what's that font?
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING 2 ай бұрын
The code font is ibm plex mono and the title font is syne
@zawadhyaa
@zawadhyaa 2 ай бұрын
@@CODE_IS_EVERYTHING thanks
@Eutropios
@Eutropios Ай бұрын
Fantastic video. I'll definitely be showing this to others who may need help with bash scripting. It's also worth pointing out that a lot of these (but not all) commands and syntaxes can be applied to ksh/mksh, dash and POSIX shell, and zsh too!
@Gabriel_Bento
@Gabriel_Bento Ай бұрын
This man is a legend. I always thought bash was a hard and weird language. Now I realize it's not that hard, but still weird as mentioned. Thanks! :D
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
I’m glad to hear it!
@hunterlake2943
@hunterlake2943 Ай бұрын
Still cant pass, AI voice over but great video! :)
@CODE_IS_EVERYTHING
@CODE_IS_EVERYTHING Ай бұрын
Haha you think my voice is done by AI? 😅 Not sure how to take that. It is my real voice! But I'm glad you liked the video
Become a shell wizard in ~12 mins
12:25
CODE IS EVERYTHING
Рет қаралды 182 М.
Trying Zig Part 1
1:30:00
TheVimeagen
Рет қаралды 52 М.
Каха с волосами
01:00
К-Media
Рет қаралды 5 МЛН
маленький брат прыгает в бассейн
00:15
GL Show Russian
Рет қаралды 2,9 МЛН
Buy Feastables, Win Unlimited Money
00:51
MrBeast 2
Рет қаралды 65 МЛН
The World's Fastest Cleaners
00:35
MrBeast
Рет қаралды 121 МЛН
3 Types of Algorithms Every Programmer Needs to Know
13:12
ForrestKnight
Рет қаралды 417 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 904 М.
Compiling MS-DOS 4.0 using DOSbox & Qemu
17:59
Neozeed
Рет қаралды 2,7 М.
Solving the Dotfiles Problem (And Learning Bash)
8:22
Bartek Spitza
Рет қаралды 82 М.
you need to learn BASH Scripting RIGHT NOW!! // EP 1
12:14
NetworkChuck
Рет қаралды 940 М.
unlock the lowest levels of coding
7:05
Low Level Learning
Рет қаралды 213 М.
Signals. I spent 2 years to understand this part.
21:24
kimylamp
Рет қаралды 101 М.
How does an OS boot? //Source Dive// 001
50:22
Low Byte Productions
Рет қаралды 362 М.
A Beginner's Introduction to BASH Shell Scripting
44:24
Joe Collins
Рет қаралды 286 М.
12 GREAT command line programs YOU recommended!
16:25
The Linux Experiment
Рет қаралды 185 М.
iPhone - телефон для нищебродов?!
0:53
ÉЖИ АКСЁНОВ
Рет қаралды 3,8 МЛН
Рекламная уловка Apple 😏
0:59
Яблык
Рет қаралды 764 М.
Я Создал Новый Айфон!
0:59
FLV
Рет қаралды 2,7 МЛН
Photo editing changing Boder Work solution New tools
0:52
UNIQUE PHOTO EDITING
Рет қаралды 219 М.
САМЫЙ дешевый ПК с OZON на RTX 4070
16:16
Мой Компьютер
Рет қаралды 99 М.
КУПИЛ SAMSUNG GALAXY S24 ULTRA ЗА 88000 РУБЛЕЙ!
27:29