Bash Scripting for Beginners: Complete Guide to Getting Started - Hello World (Part 2)

  Рет қаралды 169,687

Learn Linux TV

Learn Linux TV

Күн бұрын

Пікірлер: 128
@kencreten7308
@kencreten7308 Жыл бұрын
I've used bash for years and years. This such a great course. Your presentation is - super pro, and enjoyable.
@johnkevin1030
@johnkevin1030 4 ай бұрын
Dont lie. If you have been using bash for years, theres no reason youll be here watching a hello world program
@Opin10n
@Opin10n 3 ай бұрын
@@johnkevin1030 Tbh, I've reached max ranked in a game and sometimes I still go and watch beginner tutorials and end up learning something I didn't know before. you'd be surprised. Plus its fun to reminisce back when I knew nothing and observe how far I've came
@Capitaine.Albator
@Capitaine.Albator Жыл бұрын
I think that this is why KZbin was created for. Thanks 👍🏻✌🏻🇨🇦
@ojochegbe_
@ojochegbe_ Жыл бұрын
Hi bro can we learn together
@usuarioanonimo789
@usuarioanonimo789 4 ай бұрын
​@@ojochegbe_no
@skyedunphy
@skyedunphy 4 ай бұрын
@@usuarioanonimo789 well, sad
@usuarioanonimo789
@usuarioanonimo789 4 ай бұрын
@@skyedunphy just i be see that video, sorry for my inglés im learning
@mohammedeleriaan5986
@mohammedeleriaan5986 4 күн бұрын
I really enjoyed your Linux for beginner playlist & you taught me a lot about Linux commands & explained concepts in simple terms. Will continue to learn Linux from your channel. Thank You So Much for making this great content on KZbin..
@Subwrn
@Subwrn 16 күн бұрын
I totally appreciate your effort here.
@demolazer
@demolazer 9 ай бұрын
I've just learned basic bash scripting and I can see this getting addictive. As soon as I do something in multiple commands I immediately think of building a script or .src function. First is mkcd to make and go into a directory. Then mkpyapp [packages] to make the common app structure I use, create a venv and install the rest of the arguments as packages in that venv. Finally open up folder in VS code. Then actscript to put bash script in ~/bin and make executable. Any many more in the pipeline... It's so much fun! Look forward to learning more here
@can-do_curran
@can-do_curran Ай бұрын
great course for beginners -- very easy to follow! thanks for the content
@marcuswest4572
@marcuswest4572 Жыл бұрын
Terrific. Excellent visual presentation and clarity and good vibes in equal measure. Keep bashing out quality stuff Jay
@theena
@theena Жыл бұрын
Thank you, Jay. This is super useful. Kinda genius to put the entire thing online at the same time too. Perfect chunks for a person like me. Thanks again.
@lavinnasays
@lavinnasays 2 ай бұрын
This is a terrific video. I have been trying to find a good resource for quite a few days now. They go on and on about all the commands used. But none showed how to execute a file in the very beginning. By doing so, you have made me realize the scope of bash scripting in the most efficient way. Thank you.
@TheunisSwart
@TheunisSwart Ай бұрын
Learning Linux on a roadmap and your videos are super useful. Just stressing but everyone has to start somwhere right.
@TheGrimPhreaker
@TheGrimPhreaker 5 ай бұрын
Thanks for the easy to follow lesson! Even if it's not very useful, I did try to make my own simple scripts to see how much I retained and it was fun!
@kannon_bach
@kannon_bach 5 ай бұрын
i just completed this video. i really like the way you do things. i'm really, really looking forward to learning this, python and C++!
@NicolinaHunt
@NicolinaHunt 8 ай бұрын
You made this so simple! And how you explained it, bravo!!! Gracious!
@carrywhite4639
@carrywhite4639 5 ай бұрын
Your videos make me excited about studying🙏 thank you so much❤
@amaradoumbouya4119
@amaradoumbouya4119 Жыл бұрын
Thank you for sharing these full courses on KZbin, there are better than all of paid course ❤❤
@neverless_person1012
@neverless_person1012 5 ай бұрын
Your explanations is great! Thank you! Also watched the video about permissions for files and directories. Now I don't scared of this magic letters "rwx" and digits!
@ivandelevic
@ivandelevic Жыл бұрын
Very good video for beginners.
@k.chriscaldwell4141
@k.chriscaldwell4141 Ай бұрын
I did it! Thanks.
@rn9085
@rn9085 11 ай бұрын
This is just awesome. Perfectly explained.
@AjayKumar-ev9zi
@AjayKumar-ev9zi Жыл бұрын
Thanks, Jay, for this wonderful course with a smooth start!
@zamolxezamolxe8131
@zamolxezamolxe8131 8 ай бұрын
Brilliant! Too bad my professors in the uni did not have such a way to teach things like you do!
@felixkimutai8478
@felixkimutai8478 2 ай бұрын
Thank you Jay
@danielnadar75
@danielnadar75 Жыл бұрын
Jay! You are so awesome ❤ Thanks for sharing your invaluable Linux knowledge and Love with all of us!
@Royaleah
@Royaleah Жыл бұрын
Is it just me? I always put 'exit 0' at the end of my scripts. Even if I don't have other exit values else where in the script.
@jimmyrichards5595
@jimmyrichards5595 Жыл бұрын
Same here.
@Aniki_chan69
@Aniki_chan69 15 күн бұрын
this cseris this super good
@chesterbelle
@chesterbelle Жыл бұрын
ty bro i really love how you teach, easy and simple, English its not my native language and im still able to do it ty
@thaidoan868
@thaidoan868 5 ай бұрын
Thank you
@temmy_rk
@temmy_rk Жыл бұрын
Thank you Jay, this is awesome! you are a great tutor!
@tatsutakamaro
@tatsutakamaro 2 ай бұрын
8:40 - hi! I've got two questions. 1. What for did you add "./" in front of a script name? 2. Why didn't the script show objects' names in colors. If it does the same as the command ls, then the result should be the same I suppose.
@haltutor8014
@haltutor8014 Жыл бұрын
thanks for this short course. confused: which bash shows /usr/bin/bash, but the she-bang says /bin/bash. why the difference?
@mahdikhalili5927
@mahdikhalili5927 6 ай бұрын
its very good. thanks!
@ibrahimabdeltawab6418
@ibrahimabdeltawab6418 Жыл бұрын
So informative! Thanks so much
@hemantdhiman6179
@hemantdhiman6179 Жыл бұрын
great jay!!! nice info in the first lecture!!!
@LosersKnight
@LosersKnight 15 күн бұрын
I know this may seem like a dumb question but can I follow along, on my own laptop? Or will this like change my laptop and I might write in or change in something permanently?
@Soil_Bound
@Soil_Bound 12 күн бұрын
Did typing *ls* not do anything for anyone else?
@12Q46HPRN
@12Q46HPRN Жыл бұрын
Great video! I am looking forward to watching the rest of the series. Any thoughts on: #!/bin/bash vs #!/usr/bin/env bash ? I see them both and was wondering if one is "better" than the other to use.
@venkateshiyer5073
@venkateshiyer5073 Жыл бұрын
same doubt, is there a difference between the two that i should know?
@bikabrown6808
@bikabrown6808 Жыл бұрын
Thanks 😊
@3vil8unny
@3vil8unny 9 күн бұрын
gREAT VID
@veronicarainin5045
@veronicarainin5045 11 ай бұрын
Excellent tutorial. Thank you
@Lightcode777
@Lightcode777 Жыл бұрын
Thank you so much for this course!!!!!
@Houndwar
@Houndwar 8 ай бұрын
Hey jay @learn linuxtv how can u change ur terminal to have those colors.. can u do a vid showing us how to manage our terminal appearance, I am aware that u said u have a variation but I'm sure we can change colors and stuff..
@FririkurEllefsen
@FririkurEllefsen Жыл бұрын
Great lesson. Learned a lot
@tehlaka_omlet
@tehlaka_omlet Ай бұрын
done 5th august.
@Sashin9000
@Sashin9000 11 ай бұрын
I like your gnome shirt
@mehdismaeili3743
@mehdismaeili3743 6 ай бұрын
Excellent.
@venkateshiyer5073
@venkateshiyer5073 Жыл бұрын
absolutely amazing, thank you sir !
@simonkalu
@simonkalu 11 ай бұрын
Awesome
@catreunion
@catreunion Жыл бұрын
Thank you teacher 🙏🏻
@funkemonke9537
@funkemonke9537 Жыл бұрын
Thank you so much man.
@BeltrameJuan
@BeltrameJuan 10 ай бұрын
Thank you!
@isrargaming2849
@isrargaming2849 Жыл бұрын
Its awesome clear
@tatsutakamaro
@tatsutakamaro 2 ай бұрын
If there's no sense in .sh extension, how does Linux know that it is a bash script? For example, in html we have a header line. But here there's no header. What if a file is in ZSH but has an .sh (bash) extension?
@tatsutakamaro
@tatsutakamaro 2 ай бұрын
Already saw it. She bangs, okay.
@idan4848
@idan4848 Жыл бұрын
thank you very much!!!!
@craigozancin
@craigozancin Жыл бұрын
Why are you using sudo chmod for a file you own. The use of sudo is only needed if you do not own the file.
@TheGacko
@TheGacko Жыл бұрын
yes was going to say -- no need to sudo chmod files in your own home folder.
@HadToChangeMyName_YoutubeSucks
@HadToChangeMyName_YoutubeSucks Жыл бұрын
lol...was looking to see if anyone else noticed
@Abdirahmaann
@Abdirahmaann Жыл бұрын
Kkkk
@marble_wraith
@marble_wraith Жыл бұрын
What about POSIX compliance? Wouldn't it be better to go that route instead for compatibility? That being the case, why not code for dash instead of bash? The resulting script should be executable in dash, bash and zsh (with compatibility mode).
@adamekhobba2156
@adamekhobba2156 Жыл бұрын
YOUR ARE GREAT
@sussusamogus7831
@sussusamogus7831 Жыл бұрын
thanks :)
@cagataytekin6372
@cagataytekin6372 7 ай бұрын
buyuksun hoca
@luciengrondin5802
@luciengrondin5802 Жыл бұрын
There is no need to search for bash with `which` in order to execute it. In case your default shell is not bash, and assuming bash is installed, it should be in the PATH so you can just type `bash`, or even `exec bash` to replace the current shell.
@notsinafsinaf
@notsinafsinaf 7 ай бұрын
my linux vm still says zsh. any solution?
@yusufalfatih8276
@yusufalfatih8276 10 ай бұрын
How you made the like button shining ?🤔
@syedanas2823
@syedanas2823 7 ай бұрын
is it okay to use kali for bash scripting cause mine directory is /zsh
@rickgrimes47
@rickgrimes47 6 ай бұрын
yeah it's fine, I also use kali.
@rickgrimes47
@rickgrimes47 6 ай бұрын
did you dual boot it?
@syedanas2823
@syedanas2823 6 ай бұрын
@@rickgrimes47 no been doing it in virtual mach
@jmz8086
@jmz8086 21 күн бұрын
You don't need sudo privs to chmod +x if you are within your home directory.... just an fyi edit- kinda wondering if I should continue the course now, not to be rude but if you were unaware of that perhaps there are other problems in the instructions also? idk just kind of wondering about your skill level. thanks. very well done video though for sure.
@franciscoromogaray3076
@franciscoromogaray3076 8 ай бұрын
banger
@g-jalil6961
@g-jalil6961 Жыл бұрын
😊
@anonim11366
@anonim11366 9 ай бұрын
I think you need to talk less and teach more
@cryptovadkan7496
@cryptovadkan7496 10 ай бұрын
# echo $SHELL /usr/bin/zsh Can I take this course even though there's a zsh instead of bash on my system?
@jimrakel418
@jimrakel418 Жыл бұрын
Thanks Jay! I spent a lot of time last week trying to find a good video series on bash scripting and today I finally did!
@ineme-awajiogwuafi5138
@ineme-awajiogwuafi5138 Жыл бұрын
thank you very much
@katofhyrule12
@katofhyrule12 5 ай бұрын
Thank you! Before watching this video, I was able to complete my homework, but I did not UNDERSTAND it. I am now ready to move on to my next homework assignment. Thanks so much!
@barkhadibraahim1023
@barkhadibraahim1023 5 ай бұрын
thanks so much
@AyalaStudios
@AyalaStudios 5 ай бұрын
Hey Jay! I started watching your videos this past month and I can see the progress you've made from the uploads 4 years ago to the uploads today! Your way of explaining topics seems to have always been awesome - but your camera presence has definitely improved over the years! I just want to thank you for creating the content and show my appreciation. Your instruction is the the kind that many people can benefit from and I hope you continue to create amazing content!
@JackHammaH9000
@JackHammaH9000 10 ай бұрын
hey, i switched to bash, it was on zsh on kali; now when i type commands like sudo, ls they don't "change color" the command works but they don't change, anyone having the same "problem" ? thx
@pankajkarmakar7782
@pankajkarmakar7782 5 ай бұрын
Thanks Jay !! This is my first time to watch your video. Its really informative and helpful. Subscribed for more best content!!
@Unxon-g1l
@Unxon-g1l 7 ай бұрын
how do you install that on windows i mean that interpreter looks clean
@sdrtyrtyrtyuty
@sdrtyrtyrtyuty Ай бұрын
Why won't Garfield the cat run?
@fabutrash
@fabutrash 8 ай бұрын
Thank you very much. Great pacing and explanation.
@ClevelandEscape
@ClevelandEscape 9 ай бұрын
For some reason mine isnt changing colors in terminal when i run nano
@絵音-i3f
@絵音-i3f 27 күн бұрын
Thank you from Japan
@blackyonbi
@blackyonbi Жыл бұрын
Many people complain about social media and what not, but i do thank you so much for using this amazing tool to share your knowledge.
@JamHamza-e5v
@JamHamza-e5v 2 ай бұрын
🥰🥰thanks sir
@VideosRichy
@VideosRichy 4 ай бұрын
thank you!!
@bettyswunghole3310
@bettyswunghole3310 Ай бұрын
I tried learning Bash scripting from a Wikibook...it very quickly got incomprehensible...your tutorials are much more accessible! Thank you!
@csharpner
@csharpner Жыл бұрын
The "Jay Challenge". Make an entire video without saying the word "Well". Go! ;) Great videos, BTW!
@ashisharya65
@ashisharya65 9 ай бұрын
HI Jay, Could you please share what is the font that you are using on your terminal.
@derekenz4185
@derekenz4185 Ай бұрын
Thanks Jay! I really like the way the information is presented. Really helps.
@hassam1117
@hassam1117 Жыл бұрын
Hi jay . Thank you for vim training and I learn a lot . Now starting script training and thank for all your time and training. Mr. Jay I am not sure why you use nano for training script. I was expecting to use vim. I am sure you know better or may be nano is better to writ script. Thank you again.
@tinacole1450
@tinacole1450 10 ай бұрын
I simple used chsh -s /bin/bash and restarted to change. Later I changed it back to zsh
@manojkumar-jt3fw
@manojkumar-jt3fw Жыл бұрын
Please suggest me a Bash Scripting Reference textbook please
@MohammedShygulAkramSyedMoh-d6b
@MohammedShygulAkramSyedMoh-d6b Жыл бұрын
is learning bash script have afuture and get jobs in devops or aws engineer?
@Ollital
@Ollital Жыл бұрын
I'm wondering who first came up with the name "shebang" 🙂
@fictitiousnightmares
@fictitiousnightmares Жыл бұрын
8:48 I'm curious why when it showed the contents of the directory it doesn't color the folders and such like it did when you just typed ls? Not nearly as useful as a script.
@cavenmasetla8740
@cavenmasetla8740 Жыл бұрын
This is so beautiful but I'm so intimidated by the IF statements. I have goosebums☹☹☹☹
@safiullahnoori2659
@safiullahnoori2659 7 ай бұрын
We need more training and tutorial thanks you guide and teaching.
@wifii_millionaire_
@wifii_millionaire_ 9 ай бұрын
very super cours i simply understand bash script
@jojobobbubble5688
@jojobobbubble5688 Жыл бұрын
I might recommend this course to my Boss. We manage Macs with an MDM and this would be handy for both of us
@13thravenpurple94
@13thravenpurple94 Жыл бұрын
Great video THank you
@kainaatmakhani6550
@kainaatmakhani6550 Жыл бұрын
informative lecture
@YannMetalhead
@YannMetalhead Жыл бұрын
Good video!
@abelashenafi6291
@abelashenafi6291 Жыл бұрын
Thanks a lot bro.
@Bugzbunni_
@Bugzbunni_ Жыл бұрын
good videos my dude
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 8 МЛН
10 Linux Terminal Tips and Tricks to Enhance Your Workflow
44:16
Learn Linux TV
Рет қаралды 95 М.
Become a bash scripting pro - full course
36:00
CODE IS EVERYTHING
Рет қаралды 58 М.
Why Linux is better for (most) developers!
14:59
The Linux Experiment
Рет қаралды 476 М.
you need to learn BASH Scripting RIGHT NOW!! // EP 1
12:14
NetworkChuck
Рет қаралды 1 МЛН
Problems You will Encounter on Linux (and How to Solve Them)
23:01
Rob Braxman Tech
Рет қаралды 94 М.
Beginner's Guide to the Bash Terminal
1:14:37
Joe Collins
Рет қаралды 2,3 МЛН