Тёмный

Bash Scripting Tutorial for Beginners 

freeCodeCamp.org
Подписаться 10 млн
Просмотров 412 тыс.
50% 1

Learn bash scripting in this crash course for beginners. Understanding how to use bash scripting will enhance your productivity by automating tasks, streamlining processes, and making your workflow more efficient.
✏️ Course created by @Herbertech
💻 Code: github.com/herbertech/bash-in...
⌨️ (00:00) Introduction
⌨️ (03:24) Basic commands
⌨️ (06:21) Writing your first bash script
⌨️ (11:29) Variables
⌨️ (14:55) Positional arguments
⌨️ (16:23) Output/Input redirection
⌨️ (23:23) Test operators
⌨️ (25:19) If/Elif/Else
⌨️ (28:37) Case statements
⌨️ (32:16) Arrays
⌨️ (34:12) For loop
⌨️ (36:03) Functions
⌨️ (41:31) Exit codes
⌨️ (42:30) AWK
⌨️ (45:11) SED
🎉 Thanks to our Champion and Sponsor supporters:
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Erdeniz Unvan
👾 Justin Hual
👾 Agustín Kussrow
👾 Otis Morgan
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news

Опубликовано:

 

1 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 180   
@Herbertech
@Herbertech Год назад
Thanks for the support, Beau. Happy/excited be on the FCC channel! 😀
@PureAwareness76
@PureAwareness76 2 месяца назад
❤ Just found your Linux course on the other day - and now, you're here 🎉
@ivyscripting7240
@ivyscripting7240 Год назад
I bought an entire course on Udemy to learn linux and bash scripting and this was so incredibly clear and straightforward in comparison. Really appreciate how easily Herbert broke down bash scripting and I hope you have more courses on the FCC channel.
@user-br9zx3ip3x
@user-br9zx3ip3x 2 месяца назад
here for the same reason
@frankenweeny8785
@frankenweeny8785 11 месяцев назад
This entire course is like an entire semester condensed into less than one hour, impressive!
@eperez_yt
@eperez_yt Год назад
This introductory course was very useful and I loved how visually is well structured. Actually, bash is so useful for any project. TY for this vid.
@quincylarsonmusic
@quincylarsonmusic Год назад
This is an excellent Bash primer. Thank you @Herbertech for creating this and for sharing this with the global developer community. 🙏
@kaustavchakrabarti1967
@kaustavchakrabarti1967 Год назад
This has been my first online coding course and I really enjoyed the session. The language was very comprehensive and audience friendly.
@Entropy67
@Entropy67 Год назад
First online coding course, nice! I recommend the other videos on this channel, you can basically teach yourself anything with enough commitment.
@ayushkapoor305
@ayushkapoor305 Месяц назад
The video is so well structured. Half way through the video but couldn't stop myself from appreciating the efforts that have been put up for making this.
@mhmdmd9525
@mhmdmd9525 10 месяцев назад
I really liked it and enjoyed, it was an fantastic course. Short but contained more valuable information about bash. thank you so much.
@abiodunbabalola451
@abiodunbabalola451 5 месяцев назад
Wow. What a great course! This is by far the best bash scripting on the internet.
@funkyboy4882
@funkyboy4882 Год назад
Completed the lecture, and yes it was amazing, hoping to see more such lectures. ✌✌✌✌
@mhdunknown
@mhdunknown Год назад
If you're on macOS and the ${1,,} syntax isn't working for you at 25:19 it's because mac ships with a very old version of bash, and this syntax is only supported in bash 4.0+ Instead use the tr command to transform the first argument to lowercase, and use the
@Hassan-lv9di
@Hassan-lv9di 7 дней назад
Thank you that was really a beginner friendly guide. Just a quick fixage, in 23:50 double quotes and single quotes work as well.
@Markus-iq4sm
@Markus-iq4sm Год назад
One of the best starter bash video on RU-vid
@anandprakash2483
@anandprakash2483 11 месяцев назад
Excellent ! Watched and practiced all commands in one go. This bash primer only requires very basic linux knowledge beforehand.
@BrunO-dy9ro
@BrunO-dy9ro Год назад
This literally came right when i needed it, thank you so much.
@whispercat56235
@whispercat56235 Год назад
same!!
@itzvoko1
@itzvoko1 Год назад
Same.
@skatetick
@skatetick Год назад
Same
@hakadmedia
@hakadmedia Год назад
same
@astramieri
@astramieri Год назад
It's always the perfect time for Bash Scripting.
@fmaylinch
@fmaylinch Год назад
43:00 I think sed and awk (and grep) are specially useful when piped after some output. It would be useful to see examples of that usage.
@ssmith5048
@ssmith5048 Год назад
Hey, nice tutorial-I had to smile when you mentioned Atom as an option for a text editor. I still have a copy installed, but was surprised you mentioned it since it has been discontinued.
@giancarlovalentin9569
@giancarlovalentin9569 Год назад
Que bueno que estén incluyendo diferentes pistas de audio en su vídeos, esta genial!
@muyivushafiq8389
@muyivushafiq8389 7 месяцев назад
If you had some programming background, this must have been an awesome tutorial for you. I've enjoyed this. Thanks to FCC and Instructor!
@iandotjs
@iandotjs Год назад
Been waiting for this. Thank you so much, FCC! 🤘
@cuthbertmilligen
@cuthbertmilligen 5 месяцев назад
Great video! To make it even better I'd suggest that you a) add " " to your PS1 variable so that your typing always starts at the left margin instead of somewhere far out on the right b) use a more readable color scheme - dark blue on black is pretty well unreadable
@rachit_joshi
@rachit_joshi 8 месяцев назад
thank you so much. it was an amazing experience learning bash scripting with the amazing mentor here !!!
@T3echG33k
@T3echG33k 18 дней назад
Still i don't know why you guys are providing top class courses for free... Protect this community at any cost!
@vijayjeee8806
@vijayjeee8806 Год назад
Thank u team, it is not easy make courses like this. Lot of love from India ❤
@alejandrorobles4921
@alejandrorobles4921 Год назад
Thank you, for the audio in Spanish, I hope you continue the same, I wish you good luck and that you continue teaching.
@vadivelan4228
@vadivelan4228 10 месяцев назад
Great tutorial, I was searching this for a long time.
@Torviticus
@Torviticus 2 месяца назад
This is really helpful. I regret not looking into bash scripts sooner.
@s4nzuu921
@s4nzuu921 Год назад
I was just looking for Bash scripting tutorial and FCC uploaded one, nicee
@hexbinoban6170
@hexbinoban6170 Год назад
Good ! A PowerShell & batch scripting tutorial would also be nice.
@lucianaquiroga4405
@lucianaquiroga4405 Год назад
lo escucho en español!! genial!! (no se si está subido así, o si yt tiene una nueva funcionalidad que lo traduce sólo. Justo Bash lo que vendo buscando para complementar mi conocimiento básico en Linux. Gracias FreeCodeCamp
@hosqu_
@hosqu_ Год назад
Exactly when I needed it! ♥
@dynamix9916
@dynamix9916 4 месяца назад
Thanks. Great introductory video.
@PolyCodeOfficial
@PolyCodeOfficial Год назад
Wow, this was very helpful! Thank you for explaining it well!
@joecrak249
@joecrak249 6 месяцев назад
SUBSCRIBED!! hey Herbert just wanted to give a BIG THANKS for the content im a bit of a late bloomer to this "but better late than never" Ive watched this about 3x now
@denovo3949
@denovo3949 Год назад
Very helpful video. Thank you! -❤‍🔥🎇
@thething6268
@thething6268 Год назад
no waaaaay ...... i just started learning bash today and the video came out
@kevinramon9855
@kevinramon9855 Год назад
Esta traducido a español 😊, me sorprendió full
@enclave2k1
@enclave2k1 3 месяца назад
#!/bin/bash/ input=${1,,} case $input in "yes" | "no" | "maybe") echo "Can you repeat the question?" ;; "malcolm") echo "Life is unfair" ;; "help") echo "I don't know" ;; *) echo "You're not so big" ;; esac Thanks for the tutorial, was fun.
@abdurrehmankhalid2290
@abdurrehmankhalid2290 Год назад
First of all thank you for making this tutorial, but I faced some problem being a beginner. The first thing is that one simple concept consists of other different concepts, it would have been a better to keep things simple in order to explain the current concept. One example is that in case of arrays, there are three concepts combined which are arrays, loops and word counting, which made the understanding of the looping through the array very difficult.
@aditya__exe
@aditya__exe Год назад
I literally needed this the most today and you gave it! How do you know?
@garfield-pro
@garfield-pro Год назад
He just scratched the surface. We need to dig deep on our own.
@coolmor9087
@coolmor9087 3 месяца назад
but how do we read more or do we visualize logically??
@SandyLearner
@SandyLearner Год назад
Hi , Thanks for adding another silent yet useful language . Couple of yrs popularity of forgotten language started increasing as mostly underline Linux systems still for easy solution , bash is always available w/o modification Pls make detail 6-7 hr video in future providing real life examples related Cloud Linux Automation DevOps etc 😊😊
@thenoob4208
@thenoob4208 Год назад
increible porfin puedo tomar el curso en español
@SandyLearner
@SandyLearner Год назад
Thanks for Course. Also in future Please make video on Powershell 7 and how to use in Cross Platform related to Cloud DevOps Automation
@alexnovik
@alexnovik Год назад
Great tutorial!
@davoodd1638
@davoodd1638 Год назад
Hi sir, thanks for your informative video, I was wondering which distro you used to make this video. Thanks
@Bricky2021
@Bricky2021 Месяц назад
Next video request: how to write a minimalistic programming language on bash!❤❤❤
@Anonymous34958
@Anonymous34958 3 месяца назад
finally, I know how to exit vim. thanks, FCC
@luloxeth
@luloxeth 12 часов назад
Nice tutorial, it felt so short
@Wuhihihaha
@Wuhihihaha Год назад
very usefull this what im needing thx codecamp
@ApenasSandokhan
@ApenasSandokhan Год назад
Wow... Let's mastering shells scripting.
@yogeshlinganna521
@yogeshlinganna521 Год назад
This tutorial was very helpful and easy to follow. Thanks.
@Mintberrycrunch982
@Mintberrycrunch982 4 месяца назад
I will never use VIM! but great tutorial. Thanks again!
@TrueSQN
@TrueSQN Год назад
apt-get install nano - should be first :D great tutorial!
@mdbarin2014
@mdbarin2014 6 месяцев назад
Thanks man. Cool
@Arsche
@Arsche Год назад
so I love this shell
@timtom3403
@timtom3403 8 месяцев назад
reall nice beginners tutoral
@johnvardy9559
@johnvardy9559 11 месяцев назад
between bash and powershell what do you recommend? for cloud azure :/
@mazal-bb
@mazal-bb 10 месяцев назад
I'm enjoying the course as well. Although I'm only a third of the way finished, I don't want to neglect offering this comment, or query really.. anyone else having trouble using echo without enclosing string in quotation marks? My terminal spat back at me, "no matches found: name?" It wasn't hard to figure out it was the missing quotes that annoyed my terminal-along with the '?.' It was worked fine if I didn't code the string in the form of a question, but better of course with the " ". Seems like quotes aren't always required for certain setups; but maybe best practice? I'll be curious is this is addressed later in the session. Great fun, though!
@krishnanigalye1173
@krishnanigalye1173 8 месяцев назад
Wow..I spent almost an hour to figure this out. Thanks bro.
@brayancarabali
@brayancarabali Год назад
🎉🎉🎉 muchas gracias 🎉🎉🎉
@kidcobain1
@kidcobain1 Год назад
en español.. excelente!
@random_things2023
@random_things2023 Год назад
i kinda love it but we still need some bash scripting courses
@TwoTimesTwentyOne
@TwoTimesTwentyOne Год назад
Excellent :)
@pmitchelle
@pmitchelle Год назад
Is it possible to create a bash script to stop/start tomcat and holly services as well as reboot a server?
@andersonmendoza9959
@andersonmendoza9959 9 месяцев назад
Deberían hacer eso con todos sus videos de su canal original, ya que tienen mucho más contenido en el que en el canal en español, deberían continuar con django rest framework
@illegalsmirf
@illegalsmirf Год назад
Can we please have a course on practical Ansible
@hotrodhunk7389
@hotrodhunk7389 Год назад
My bash free code camp broke 😢... Have to start it over. Anyone know how to fix it? Code road just keeps loading and won't finish. Followed all the trouble shooting
@gatjuatwicteatriek4590
@gatjuatwicteatriek4590 Год назад
This is my free university.
@ramon9789
@ramon9789 Год назад
The Spanish audio is great, but can I would like to here it in English if it is possible. How can I switch to original audio? Or is this the original audio?
@tony-go-code
@tony-go-code 9 месяцев назад
Thank you
@samoylov1973
@samoylov1973 Год назад
Nice and useful! Liked the style and tempo. But a few wishes: command line prompt in this video is ugly and takes valuable space (that's why example commands "jump" to next lines, btw). It could be done in style even in WSL. And to this GNU/Linux in that mediocre OS that is called windows. Why? Why you are trying, as saying goes, "get tonsils through the bottom"? 😉
@srsr6099
@srsr6099 Год назад
Thank you fcc❤
@haricharangv
@haricharangv 11 месяцев назад
is bash and shell scripting different??? i know shell scripting so should i require to learn bash seperately
@hereliesadvaith
@hereliesadvaith Год назад
Thanks
@ariolaravencenteno8115
@ariolaravencenteno8115 7 месяцев назад
what compiler you use admin is that online or offline?
@nikolanikola1497
@nikolanikola1497 6 месяцев назад
Great!
@pragathishraja3460
@pragathishraja3460 Год назад
You saved me😊
@berlincmos
@berlincmos 9 месяцев назад
difficlt to recognize the code everything is dark ? the words and the command window
@noureldin5611
@noureldin5611 3 месяца назад
32:00 Seriously what the **** is this syntax !!!
@dobingify3130
@dobingify3130 Год назад
chmod is not working in my MINGW64 Hyper Terminal, how can i fix this??
@cpqvenom
@cpqvenom Год назад
Atlast!!!
@pj-nz6nm
@pj-nz6nm Год назад
I was looking for shell scripting few hours ago.
@leonstone3443
@leonstone3443 9 месяцев назад
did you find it?
@untold8718
@untold8718 Год назад
Can you make tutorials on verilog, vhdl coding
@VideoramaTravel
@VideoramaTravel Год назад
Why should not to use :x in vim instead of :wq?
@andrejesus.
@andrejesus. 4 месяца назад
to jump all the linux basics go to minute 25.
@fmaylinch
@fmaylinch Год назад
11:38 here it would be good to run ls -l again and show the permissions after chmod
@user-cf8bs5bg9q
@user-cf8bs5bg9q 4 месяца назад
informative
@Vishal_0841
@Vishal_0841 Год назад
Hey guys please guide me I have completed html, css and bootstrap but I want to study JavaScript so please provide me that which RU-vid video is best for JavaScript as a beginner 🙏🏿
@rohithvishaal
@rohithvishaal Год назад
Not a RU-vid video but checkout the Odin project. On udemy there is a course provider called Academind and he has a RU-vid channel with the same name as well. Check him out
@freecodecamp
@freecodecamp Год назад
Try this JavaScript course: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-PkZNo7MFNFg.html
@Jacob-ABCXYZ
@Jacob-ABCXYZ Год назад
Hey that's a banger
@littlestar5737
@littlestar5737 5 месяцев назад
${1,,} doesn't work for me. Bash reports error. Why is that?
@oscarms6067
@oscarms6067 Год назад
Thank you for the translation to spanish... But beeing a spanish native speaker, I cant't hardly understand the audio. I'd rather listen to an English audio version to be able to understand the content.
@nightcrawler6618
@nightcrawler6618 Год назад
@39:20 I'm getting an error uptime: command not found but my code exactly the same as the teacher.
@frontend_bros7048
@frontend_bros7048 11 месяцев назад
same here
@Henry-sv3wv
@Henry-sv3wv 9 месяцев назад
then you don't have the package containting the uptime program installed ...
@Entropy67
@Entropy67 Год назад
Damn, its really easy if you're already familiar with Linux environment
@vamshikrishna8939
@vamshikrishna8939 Год назад
We want Full Stack development
@enjoful
@enjoful 7 месяцев назад
"this is aimed at the average Windows user, ...Now let's open VIM"
@MatveiPB8
@MatveiPB8 Год назад
Que bien. Hagan cosas en español para los hispanohablantes
@aram5642
@aram5642 5 месяцев назад
11:15 30 Dec 26 - back to the future!
@nicktucker3437
@nicktucker3437 5 месяцев назад
14:52 last name instead of list name, I make this kind of mistake a lot, too.
@Arsche
@Arsche Год назад
Bash is maincharactor in FF12.
@k.m.tanzibulahmmed9789
@k.m.tanzibulahmmed9789 9 месяцев назад
link of your linux video please?
Далее
Beginner's Guide to the Bash Terminal
1:14:37
Просмотров 2,3 млн
ISCT TV - ISCT 2024 Vancouver Day 2, May 30
43:29
Become a bash scripting pro - full course
36:00
Просмотров 38 тыс.
Vim Tutorial for Beginners
1:14:29
Просмотров 681 тыс.
you need to learn BASH Scripting RIGHT NOW!! // EP 1
12:14
System Design for Beginners Course
1:25:07
Просмотров 1 млн
Linux for Ethical Hackers (Kali Linux Tutorial)
2:01:00