Bash Shell Scripting Tutorial | Shell Scripting Tutorial | Learn Shell Programming

  Рет қаралды 358,964

ProgrammingKnowledge

ProgrammingKnowledge

Күн бұрын

Пікірлер: 155
@ProgrammingKnowledge
@ProgrammingKnowledge 7 жыл бұрын
For more detailed Tutorial visit - www.codebind.com/ 00:00:00 1 - Introduction 00:10:00 2 - using Variables and Comments 00:20:11 3 - Read User Input 00:31:37 4 - Pass Arguments to a Bash-Script 00:40:08 5 - If Statement ( If then , If then else, If elif else) 00:53:20 6 - File test operators 01:03:45 7 - How to append output to the end of text file 01:14:26 8 - Logical 'AND' Operator 01:21:01 9 - Logical 'OR' Operator 01:26:35 10 - Perform arithmetic operations 01:33:51 11 - Floating point math operations in bash | bc Command 01:46:06 12 - The case statement 01:53:53 13 - The case statement Example 02:02:26 14 - Array variables 02:12:51 15 - WHILE Loops 02:19:07 16 - using sleep and open terminal with WHILE Loops 02:23:59 17 - Read a file content in Bash 02:31:15 18 - UNTIL loop 02:35:38 19 - FOR loop 02:44:08 20 - use FOR loop to execute commands 02:50:44 21 - Select loop 02:57:41 22 - Break and continue 03:04:11 23 - Functions 03:13:48 24 - Local variables 03:22:09 25 - Function Example 03:34:16 26 - Readonly command 03:41:34 27 - Signals and Traps 04:03:08 28 - How to debug a bash script
@ashwinisingh8291
@ashwinisingh8291 6 жыл бұрын
ProgrammingKnowledge sir will the commands be same for bash and sh shells.
@rajeshp2408
@rajeshp2408 6 жыл бұрын
Thanks
@bodob280
@bodob280 4 жыл бұрын
thank you very much for this video Sir
@fathimasyed4232
@fathimasyed4232 4 жыл бұрын
I have read all the 28 videos of shell scripting .. Awesome explanation .. Basic of shell scripting is covered..I recommend anyone who is a beginner who wants to try shell scripting to view these videos .. Thank you so very much ..
@bde5620
@bde5620 2 жыл бұрын
16
@maninderjitsinghmaan
@maninderjitsinghmaan 6 жыл бұрын
I have never learned a programming language so fast in my whole life and used it right after in a project. WOW.......GOD BLESS YOU MAN
@45lover660
@45lover660 10 ай бұрын
its not a programming language
@Texas80
@Texas80 4 жыл бұрын
I followed along the entire 4 hours and 10 minutes, excellent tutorial. Just want I needed for the new job I started.
@kingstanm8671
@kingstanm8671 6 жыл бұрын
Hi, I don't know who you are. How you look. But many thanks for sharing your knowledge in a simpler way. Our students or learners will make most use of it from your videos. I feel very thankful for such a good character and spending your valuable time for making these videos. God bless you. Share knowledge, To empower the generation in a wise way. Thanks, Kingstan.
@nickdevaney2588
@nickdevaney2588 6 жыл бұрын
I would just like to say. This is one of my favourite videos. Have learnt a lot and thank you for it!
@akshithraj9584
@akshithraj9584 3 жыл бұрын
first i would like to thank you for not including any adds , i have completed 1 hour course and i didnt get one single advertisement
@ThePRINCEBARPAGA
@ThePRINCEBARPAGA 6 жыл бұрын
Have final in a day on BASH Scripts. Watching it at speed 2. Thanks a lot for this golden tutorial!
@GamersCreedTeam
@GamersCreedTeam 5 жыл бұрын
Was the video helpful?
@malekhayouni1242
@malekhayouni1242 Жыл бұрын
bro literally me last night
@SureshKumar-ow2ji
@SureshKumar-ow2ji 4 жыл бұрын
Excellent learnt shell because of you.Finally completed.credits goes to you man.keep up the good..really appreciate.
@kp4270
@kp4270 3 жыл бұрын
Thanks for this complete video, it was pretty straightforward and on point tutorial. It will help me more in my day to day activities.
@supadhy
@supadhy 6 жыл бұрын
At 42.38, there are integer comparison operators given, along with examples. One such operator is 'eq' and associated example: if [ "$a" -eq "$b" ]. The quotes for variable names are not required. Bash is as such tricky (where to use curly braces, quotes etc). Having quotes in places that's not needed can be confusing. But great effort and thanks for the tutorial.
@kenn850
@kenn850 7 жыл бұрын
Thanks for the Tutorial, It comes at i time when i need it most.
@PrathapBgl
@PrathapBgl 5 жыл бұрын
One of the best tutorials I have found. Very nice work and thanks a lot. It was long time I did the scripting and this tutorial help me refresh everything.
@flynnwoo
@flynnwoo 5 жыл бұрын
Thx, I have followed all bash script tutorial. Excellent Tutorial ! : )
@rangaiahdasanna9496
@rangaiahdasanna9496 Жыл бұрын
one of the best BASH scripting tutorial in internet as on today. Thanks Bro
@jayesh2910
@jayesh2910 4 жыл бұрын
I am mechanical engineer, but learn batch scripting from this video. Excellent video! You are really Pundit! Will you please share your name?
@joshuabudiarto5036
@joshuabudiarto5036 4 жыл бұрын
Me having a question about computers Indians: I will teach you my child
@subhojyotisingha1427
@subhojyotisingha1427 3 жыл бұрын
Kaner gorai porbe... Aye amar ka6e pora66i!
@To-mos
@To-mos 3 жыл бұрын
I learned their culture values STEM education above all else, it explains why they have such a huge impact in the IT world.
@fathimasyed4232
@fathimasyed4232 4 жыл бұрын
Really appreciate ur effort in explaining here ... Great Job !! Thank you so very much :)
@debasishkar761
@debasishkar761 4 жыл бұрын
Very nicely explained the reason of each line with its effect ....
@stereaiulian
@stereaiulian 5 жыл бұрын
Hi, very good tutorial. I learned a lot. Please correct the explanation from 3:27:20 because is not right.
@dineshprabhakaran3695
@dineshprabhakaran3695 2 жыл бұрын
Why it is not right?
@harikrishna8445
@harikrishna8445 5 жыл бұрын
thank you very much sir..........i never seen this type of stuff for students
@Abcdjjh
@Abcdjjh 6 жыл бұрын
Thanks sir its very nice ,clean and simple explanation
@udaykumaryadavkommanaboina9124
@udaykumaryadavkommanaboina9124 5 жыл бұрын
Hai
@mohandass.j1376
@mohandass.j1376 6 жыл бұрын
Thank you so much sir for your video tutorial... It's really awesome and useful
@devadev3214
@devadev3214 5 жыл бұрын
Thank you very much very usefull info by u n finally I subscribed and liked:) because of i gained knowledge here... now onwardds i know shell scripting...
@BronToLearnBornToTeach
@BronToLearnBornToTeach 4 жыл бұрын
Superb , clean and clear way , Thank you 🙂
@Nikhil-jj7xf
@Nikhil-jj7xf 5 жыл бұрын
Thanks a lot for making such sharing of valuable knowledge really helpful ,can you pls also make some videos on how to deal . Can you pls make same video for learning perl also really it will be more helpful 😀
@nishakeshri6344
@nishakeshri6344 3 жыл бұрын
It's really good video for shell scripting thanks alot sir...🙏
@nithinvg6805
@nithinvg6805 5 жыл бұрын
amazing work ... just the best in the web ...
@sritamdas9366
@sritamdas9366 4 жыл бұрын
Thank you sir. for providing such good videos.. god bless you.
@the_rjrider
@the_rjrider 4 жыл бұрын
It was a very wonderful Tutorial. Thank you for this...!
@code-to-learn
@code-to-learn 3 жыл бұрын
Just awesome. Your teaching system is excellent
@AdiPanasa
@AdiPanasa 5 жыл бұрын
Hi , Amazing video , and very helpful thank you.
@swapnildeshpande2292
@swapnildeshpande2292 2 жыл бұрын
Thanks for the informative and structured content. How I can calculate the values of hyperbolic functions using bash in built functions?
@rakshanda4181
@rakshanda4181 5 жыл бұрын
❤Thanks for making this video❤
@Fabyfakid
@Fabyfakid 6 жыл бұрын
Thank you so much for this! Very helpful!
@AnjaliSumSum
@AnjaliSumSum 6 жыл бұрын
Thanku so much for the tutorials.
@puramjagadish6697
@puramjagadish6697 6 жыл бұрын
A very Useful Stuff . Thanks a lot Sir.....
@mehkhan
@mehkhan 7 жыл бұрын
Thank you sir 😘😘😘
@kakalilodh4118
@kakalilodh4118 4 жыл бұрын
thnx a lot sir a great content GOD bless u Sir
@dhaivatbhatt375
@dhaivatbhatt375 2 жыл бұрын
Thank you for sharing your knowledge. Great video..
@nilsmelchert776
@nilsmelchert776 5 жыл бұрын
Great Tutorial! Keep it up!
@willianbarreiro9925
@willianbarreiro9925 2 ай бұрын
Thank you so much for your content I've been so much with your channel.
@osmanqamar5446
@osmanqamar5446 5 жыл бұрын
Thanks for posting this video!
@anupamnath4553
@anupamnath4553 5 жыл бұрын
Thank you teacher 🙏
@yagzyalcntas553
@yagzyalcntas553 5 жыл бұрын
Perfect explenation, subbed
@zevbellringer5870
@zevbellringer5870 3 жыл бұрын
thank you for this awesome course
@saikrishnareddy7602
@saikrishnareddy7602 4 жыл бұрын
Thank you so much learnt a lot
@priyankawagh5217
@priyankawagh5217 3 жыл бұрын
Nice tutorial! Helped me alot!!
@bodob280
@bodob280 4 жыл бұрын
Sar greate thanks for this video from bottom of my hart
@meghaagrawal2659
@meghaagrawal2659 Жыл бұрын
thanks and god bless!...i feel i am more intelligent now...
@akshaypittalwar9896
@akshaypittalwar9896 7 жыл бұрын
#Sir, please make full tutorial on MS-SQL. Detailed in one Video.
@priyeshtandel2101
@priyeshtandel2101 2 жыл бұрын
First time completed whole series.
@sanjaisrao484
@sanjaisrao484 2 жыл бұрын
Thank you very much Sir It was very helpful
@yugen.m7
@yugen.m7 9 ай бұрын
just what i needed
@hippiestafarii
@hippiestafarii 7 жыл бұрын
Great tutorial :-) Many thanks :-)
@rameshraj5543
@rameshraj5543 6 жыл бұрын
very good tutorial
@vidyaupadhya9598
@vidyaupadhya9598 2 жыл бұрын
Thankyou for helping us
@divyaprakashks4789
@divyaprakashks4789 5 жыл бұрын
awesome content thanks a lot man.
@GhOstKillah718
@GhOstKillah718 6 жыл бұрын
You the best bro
@shubhamjadhav8450
@shubhamjadhav8450 2 жыл бұрын
Very nicely explained sir ❣️🫶
@hadifarroukh4528
@hadifarroukh4528 3 жыл бұрын
Thank you for this video.
@jyoti78895d
@jyoti78895d 3 жыл бұрын
THANK U VERY MUCH SIR !
@akhilkumarpradhan6285
@akhilkumarpradhan6285 4 жыл бұрын
Thank you.
@frankn8371
@frankn8371 4 жыл бұрын
Good job!
@denizhacoglu1680
@denizhacoglu1680 4 жыл бұрын
ADAMSIN REIS POLONYADAN SELAMLAR.SEVILIYORSUN
@sankaracchudesktop8797
@sankaracchudesktop8797 4 жыл бұрын
Thank you
@adamdost7573
@adamdost7573 4 жыл бұрын
awesome, upload more sir
@jiehuang9221
@jiehuang9221 5 жыл бұрын
good tutorial!
@AAAA-k8
@AAAA-k8 5 жыл бұрын
this is perfect.
@realthought2262
@realthought2262 5 жыл бұрын
2:56 cant we add "exit" at the end , so when we make the entry like from " 1 ,2 ,3,4" after it will exit from the promt , instead of doing ctrl+c !!
@ashfaquealam3033
@ashfaquealam3033 4 жыл бұрын
Yes you can. Just add "Exit" beside all the names in select. LIke this:- select name in Mark John Tom Ben Exit. And also add another case for Exit beneath Ben. Like this:- Exit) exit ;; And then if you press 5 it will terminate the program. You don't need to press ctrl+c to terminate the program. Hope I helped ;)
@cnaresh6930
@cnaresh6930 Жыл бұрын
Thanks
@srikanthvattukuti1131
@srikanthvattukuti1131 7 жыл бұрын
could you please tell me how to run the different script files on different terminals using the script at a time
@TheSimpleUrbanLife
@TheSimpleUrbanLife 3 жыл бұрын
You need to change the interpreter
@gitanjalikumari9636
@gitanjalikumari9636 6 жыл бұрын
is " read -p " option is working with string only because when i am using this for reading an integer value and then doing some operation with that read value its producing an error.....and when i removed that the error has gone
@codex8797
@codex8797 2 жыл бұрын
Thanks bro
@historicalcrimes3195
@historicalcrimes3195 2 жыл бұрын
IN CASE STATEMENT EXAMPLE why $1 at vehicle = $1 is it like we just gave it to pass argument
@vidon_5684
@vidon_5684 5 жыл бұрын
i love you guy
@mohdsaad1612
@mohdsaad1612 4 жыл бұрын
Thanks..
@SaurabhSharma2804
@SaurabhSharma2804 Жыл бұрын
You have shared the Courses that we can take. Are those your courses (Data Analytics with R)?
@jagajeettripathy2587
@jagajeettripathy2587 5 жыл бұрын
Suppose need to print 1 to 100 except 21 to 30 can you please share the script.
@amanludhwani3185
@amanludhwani3185 6 жыл бұрын
your video is very helpful thanks to make these videos. and i need your help to make one shell script , i want to make some script that work as a snapshot as like in vmware, so can u please help me out. thank you
@iamironman1406
@iamironman1406 Жыл бұрын
i think should have explained the basics also like he used arguements like we dont know wt is arguement like those things
@saphalvecham5539
@saphalvecham5539 2 жыл бұрын
local variables are becoming empty after using sudo command.But values will be there before using sudo command.Can you kindly help me out
@maximusarena6154
@maximusarena6154 5 жыл бұрын
why does he clear the terminal by entering "claer" ?
@devadev3214
@devadev3214 5 жыл бұрын
he wrote clear only
@maximusarena6154
@maximusarena6154 5 жыл бұрын
@@devadev3214 just watch from 31:06
@kodeeswarana5527
@kodeeswarana5527 4 жыл бұрын
Illuminati
@hidoHido-vm4en
@hidoHido-vm4en 4 жыл бұрын
@@maximusarena6154 yes he can clear the terminal by entering "claer", by storing "clare" in env file like pwd and home, so when he type it in terminal it's compiled as clear command
@jaisinghprasad6544
@jaisinghprasad6544 2 жыл бұрын
Hi mate , do you have shell scripting tutorial documented if yes please share .
@SidharthaAnanthula
@SidharthaAnanthula 2 жыл бұрын
don't know why but the file.txt is not deleting for me where that is being used in the trap command please help... if possible
@asheskarmakar8182
@asheskarmakar8182 6 жыл бұрын
Sir please make full tutorial on kali linux
@AshishRaiVfx
@AshishRaiVfx 7 жыл бұрын
Shell scripting syntax are really shitty. It seems as if there are no robust set of defined rules. Everything seems to be so random. Tutorial is good. I was considering c++ a difficult language before I met this don't know what to do with so many syntax let's put them anywhere anytime language.
@rupeshrawat6538
@rupeshrawat6538 5 жыл бұрын
Great
@sunil_kushawaha
@sunil_kushawaha 4 жыл бұрын
Dear sir.. How to open both terminal like your screen at simultaneously..... Please reply me.
@akhilkumarpradhan6285
@akhilkumarpradhan6285 4 жыл бұрын
win+left/right arrow key
@themanwhoknocks
@themanwhoknocks 5 жыл бұрын
Nice
@robinjohn7816
@robinjohn7816 7 жыл бұрын
can we read the content of file letter by letter using Bash shell scripting ?
4 жыл бұрын
Quick question please. ## its a comment ,means not executed.. then whats the purpose of she-bang-line... its also starts with #. so its a just a comment ????? right sir ??
@waleedirfan8053
@waleedirfan8053 3 жыл бұрын
Can any of you tell me how can we open both screens at same time.
@manjy5927
@manjy5927 4 жыл бұрын
gotta unblock the ad blocker for this page ;)
@miteshagrawal3230
@miteshagrawal3230 5 жыл бұрын
Why read -sp works and not -ps?
@pralaypramanik5490
@pralaypramanik5490 3 жыл бұрын
I can only see 29 videos out of 41..How do I get remaining ones
@m.karamaljrrah617
@m.karamaljrrah617 3 жыл бұрын
2 minutes later now let us learn about this language called Smash
@falseworld6344
@falseworld6344 6 жыл бұрын
1:00:00
@pratikneupane3725
@pratikneupane3725 3 жыл бұрын
how are we able to echo the username with the read statement?
@ShaneSamuelMusic
@ShaneSamuelMusic 2 жыл бұрын
read -p “Enter the username: ” NAME echo “Your username: $NAME”
@Eliasz_Nagrywa
@Eliasz_Nagrywa 7 жыл бұрын
For example
@albertmusayev5343
@albertmusayev5343 4 жыл бұрын
Please , add subtitles)
How to Install Ubuntu 16.04 LTS on VirtualBox in Windows 8 / Windows 10
19:20
ProgrammingKnowledge
Рет қаралды 444 М.
Bash Scripting Tutorial for Beginners
47:57
freeCodeCamp.org
Рет қаралды 540 М.
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,1 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 23 МЛН
Let's Write A Script! | How To Create BASH Scripts In Linux
49:45
Joe Collins (EzeeLinux)
Рет қаралды 25 М.
Bash Scripting - Variables, Arrays, If-Then-Else
38:52
DistroTube
Рет қаралды 47 М.
Bash Scripting Full Course 3 Hours
3:08:04
linuxhint
Рет қаралды 1,2 МЛН
Advanced Bash Scripting Tutorial
1:00:27
Cybersecurity Shandy
Рет қаралды 82 М.
A Beginner's Introduction to BASH Shell Scripting
44:24
Joe Collins (EzeeLinux)
Рет қаралды 291 М.
Write Your Own Bash Scripts for Automation [Tutorial]
16:35
Null Byte
Рет қаралды 773 М.
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,1 МЛН