Bash Shell Scripting Tutorial for Beginners | Command Line Arguments | Ep#5 (Linux Terminal)
Bash Shell Scripting Tutorial for Beginners Ep#5 will show you how to get Command Line Arguments from Terminal. Follow this Bash Shell Scripting Tutorial for Beginners on Linux. This is part of a series for beginners using bash scripting on Linux. Linux Bash Script and Command Line Arguments are passed into the script this episode.
What are some uses for Bash Shell Script Programming? Well you can use them for startup scripts, automating large installations, chaining commands together, creating shortcuts, or conditional execution making it very powerful and can help you save a lot of time especially with repetitive tasks. That being said you can really follow along on most Linux/Unix based platforms including Ubuntu, Kali, Manjaro, Debian, Mint, MX Linux, MacOS, and many many more.
____________________________________________________________
My Linux Cheat Sheet and 25 Page Checklist here:
📚 https://learn.savvynik.com
Free YouTube Tools:
https://editbulk.com
Want more info/content?
https://savvynik.com
____________________________________________________________
#linux #linuxtutorial #bash
0:00 – Intro
0:30 – Create A New Script
1:10 – Get First Argument (Name of the Script)
2:00 – Getting Multiple Other Arguments
3:10 – List of All Arguments that were Passed into Script
3:50 – How Many Arguments Got Passed into Script
4:35 – IF/ELSE Example Checking Amount of Arguments
6:15 – Another Way to Get All Arguments but Not a List/Array
6:51 – Outro
__
📺Playlists:
Linux Installation Tutorials: https://www.youtube.com/playlist?list=PLKMOdY6Bhga79HzhzEV0pSx5asSXogalI
Linux Help & Talks: https://www.youtube.com/playlist?list=PLKMOdY6Bhga73aciZtlZgLmiKRdrQzyu0
Linux Reviews & Updates – https://www.youtube.com/playlist?list=PLKMOdY6Bhga5fAJjr4ItXN09KXf4dd0zz
C/C++ Linux Programming Series – https://www.youtube.com/playlist?list=PLKMOdY6Bhga7BUgPca5EX1J-JYQIbX5fn
Bash Shell Scripting for Beginners – https://www.youtube.com/playlist?list=PLKMOdY6Bhga5fmUcQQwhfL9thR_Yp1hZ7
Linux Virtual Machine Installs – https://www.youtube.com/playlist?list=PLKMOdY6Bhga6P1N38oD63-uKe4a6M5vsZ
📺Latest Videos:
Terminal Absolute Basics for Beginners – https://youtu.be/Us3G-nJYru0
Bash Shell Scripting Reading User Input – https://youtu.be/iL7pfVCUO3Y
Ubuntu 20.04 Updates & 18.04 Comparison – https://youtu.be/GXAoi6pVZm4
Ubuntu 20.04 Install Tutorial – https://youtu.be/CFI1Jt8kVUk
Pop OS 20.04 Updates – https://youtu.be/krSEofL7-dc
_
My Linux Cheat Sheet and 25 Page Checklist here:
📚 https://learn.savvynik.com
Free YouTube Tools:
https://editbulk.com
Want more info/content?
https://savvynik.com__
Useful Links:
Channel Discord Link: https://discord.gg/zZD5q92
Make sure to Subscribe below for Future Installs, Updates, Reviews, and Tips!!!
Views : 4504
linux