Student Reviews
( 5 Of 5 )
1 review
Video of How To Write Bash Scripts In Linux - Complete Guide (Part 9 - For Loops) in Bash Scripting course by Learn Linux TV channel, video No. 9 free certified online
In this episode of the Bash scripting course from LearnLinuxTV, you’ll learn how to use “for loops” to automate tasks across multiple items in a set. Whether you’re managing files, users, or any repeatable process, for loops are a powerful way to simplify your scripts. This tutorial explains how to set them up and provides practical examples to help you start using them effectively in your own Linux scripts.
Donate to Learn Linux TV and Receive a PDF with tips for switching to Linux
Contains over 40 pages of tips and recommendations to help make your transition easier!
Check it out here https://learnlinux.link/linux-desktop-tips
Get an Awesome Linux Command Cheat Sheet
For just $3, This brand-new PDF cheat sheet features all the commands you should know, as well as some of Jay's favorite aliases and tweaks!
• Download the PDF here https://learnlinux.link/linux-commands
Spin up some Linux Servers with Digital Ocean
Digital Ocean is a great way to quickly spin up some Linux machines!
• Check it out here https://learnlinux.link/digitalocean (Affiliate Link)
Support Learn Linux TV
• Channel Membership https://learnlinux.link/member
• Patreon https://learnlinux.link/patron
• Spin up your very own Linux server https://learnlinux.link/digitalocean
• Linux swag https://merch.learnlinux.tv
• Check out Netdata https://learnlinux.link/netdata
• Jay's Gear https://learnlinux.link/amazon
_Note: Royalties and/or commission is earned from each of the above links_
Time Codes
00:00 - Intro
00:42 - What are "For Loops" in Bash?
01:14 - An example of utilizing a For Loop within a Bash Script
05:56 - An example of a Bash Script with a For Loop that's actually useful!
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 Full Linux Courses
• Linux Crash Course https://linux.video/cc
• Netdata https://linux.video/netdata
• tmux https://linux.video/tmux
• vim https://linux.video/vim
• Bash Scripting https://linux.video/bash
• Proxmox VE https://linux.video/pve
• Ansible (Udemy) https://learnlinux.link/ansible
• Linux Essentials (Udemy) https://learnlinux.link/linux-essentials
More About Learn Linux TV
• Main site https://www.learnlinux.tv
• Community Forums https://community.learnlinux.tv
• Github Account https://github.com/LearnLinuxTV
• Content Ethics https://www.learnlinux.tv/content-ethics
• Request Paid Assistance https://www.learnlinux.tv/request-assistance
Use Content Responsibly
Learn Linux TV shares technical content intended to teach and help you, but it comes with no warranty. The channel is not liable for any damages from its use. Always ensure you have proper permissions, follow company policies, and comply with all applicable laws while working with infrastructure.
Authentic Content, No Shortcuts
Learn Linux TV values integrity and does not engage in click-farming, unauthorized services, or artificial view inflation. All growth—subscribers, likes, and views—comes organically from high-quality Linux tutorials, reviews, and educational content created to genuinely help viewers.
#Linux #linuxserver #homelab