تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح Bash Scripting for Beginners: Complete Guide to Getting Started - Arguments (Part 16) ضمن كورس Bash Scripting شرح قناة Learn Linux TV، الفديو رقم 16 مجانى معتمد اونلاين
There's WAY too much arguing in the Linux community. Things like Systemd and whether it should be adopted, which desktop environment you should use, or which text editor is the best (the answer is clearly vim). But rather than argue over those things, why not learn how to supply arguments to your bash scripts? It'll definitely be more worthwhile than obsessing over whatever Linux-related argument is currently being fussed about over on Reddit. So in this video, you'll learn how to set up arguments in Bash scripts as well as some other fun concepts you should know.
Note: This video was re-rendered and re-uploaded due to corruption and misaligned highlights. As a result, comments from the previous version will not be shown here.
--- Support Linux Learning (commission earned) ---
• Become a channel member here on YouTube https://learnlinux.link/join
• Become a Patron on Patreon https://learnlinux.link/patron
• Receive a 5% discount on an LPI exam voucher https://learnlinux.link/lpi-voucher
• Set up your own cloud server with Akamai Connected Cloud https://learnlinux.link/akamai
SPOIL YOURSELF WITH A LINUX-RELATED GIFT
• Mastering Ubuntu Server 4th Edition (Jay wrote that!!! ) http://ubuntuserverbook.com
• Affiliate store for Linux compatible hardware/accessories https://learnlinux.link/amazon
• Awesome KVM for your Homelab https://learnlinux.link/tinypilot
--- Individual Sections ---
00:00 - Intro
00:47 - A simple example of using an argument in Bash
02:50 - Using multiple arguments in Bash
04:15 - An even simpler example of using an argument in Bash
06:09 - An example Bash Script that counts the number of items in a directory
10:09 - Making sure arguments are provided in your script
OTHER BASH SCRIPTING SERIES EPISODES
- Class 01 Introduction: https://linux.video/bash1
- Class 02 Hello World: https://linux.video/bash2
- Class 03 Variables: https://linux.video/bash3
- Class 04 Math Functions: https://linux.video/bash4
- Class 05 If Statements: https://linux.video/bash5
- Class 06 Exit Codes: https://linux.video/bash6
- Class 07 While Loops: https://linux.video/bash7
- Class 08 Universal Update Script: https://linux.video/bash8
- Class 09 For Loops: https://linux.video/bash9
- Class 10 Where To Store Your Scripts: https://linux.video/bash10
- Class 11 Data Streams: https://linux.video/bash11
- Class 12 Functions: https://linux.video/bash12
- Class 13 Case Statements: https://linux.video/bash13
- Class 14 Scheduling Jobs (Part 1): https://linux.video/bash14
- Class 15 Scheduling Jobs (Part 2): https://linux.video/bash15
- Class 16 Arguments: https://linux.video/bash16
- Class 17 Building a Backup Script: https://linux.video/bash17
- Class 18 Closing: https://linux.video/bash18
--- Official LEARN LINUX TV ON THE WEB ---
• Main site https://www.learnlinux.tv
• Community https://community.learnlinux.tv
--- FAQ ---
• Which distro do I use? https://learnlinux.link/mydistro
• My recording gear (commissions earned) https://learnlinux.link/recording-stuff
Learn Linux TV provides technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). Learn Linux TV is not responsible for any damages that may arise from any use of this content. The person viewing Learn Linux TV's content is expected to follow their best judgement and to make their best decisions while working with any related technology. Always make sure you have written permission before working with any infrastructure. Also, be sure that you're compliant with all company rules, change control procedures, and local laws.
#linuxtutorial #bashtutorial #commandline