While loop in linux scripts | Linux tutorial 2022 | Linux Masterclass

Pubblicato il: 11 luglio 2021
sul canale di: LabIT
2,045
13

#Linux #LinuxMasterclass #TopITskillsindemandin2021 #LinuxTutorial2021 #TheCompleteLinuxCourse #LinuxSystemAdministrationCourse

Hi Guys

In this linux tutorial 2021 , let's talk about how to use while loop in linux scripts. Simply put, while loop first evaluates an expression to be true and as long as the expression is true it will continue to execute the lines of code.

We will look at some while loop examples as well.

00:00 Introduction to while loop
00:25 while loop bash example 1- print numbers using while loop
02:40 while loop bash example 2 - read contents of a file using while loop
06:50 while loop bash example 3 - read contents of /etc/passwd using while loop

Here is a link to the git repository i used in this
https://gitlab.com/LabIT/linux

My free Linux masterclass playlist

   • Linux Master Class : Skill up and become a...  

Lecture 1: Introduction
   • Linux Tutorial 2021 : From Beginner to exp...  
Lecture 2: Overview of Linux and some common terms
   • What is Linux? | Linux Masterclass | Linux...  
Lecture 3: How to Install Virtualbox on Windows 10
   • Lecture 4 of 18 : How to create a virtual ...  
Lecture 4: How to Create your first virtual machine and install Ubuntu
   • Video  
Lecture 5: Overview of some common features in Ubuntu Desktop
   • Ubuntu 18.04 Desktop | Linux Tutorial 2021...  
Lecture 6: Introduction to Linux shell
   • Linux Tutorial 2021 : From Beginner to exp...  
Lecture 7: How to access help in Linux shell
   • Access help in Linux shell | Linux Tutoria...  
Lecture 8: Understanding Files in Linux : Everything is a File
   • Everything is a file in linux | Linux Tuto...  
Lecture 9: Perform directory operations and understanding absolute and relative paths
   • Linux Directory Commands | Linux Tutorial ...  
Lecture 10: Understanding the Linux File System
   • Linux Directory structure | Linux Tutorial...  
Lecture 11: How to read contents of a File using various commands
   • Working with Linux files | Linux Tutorial ...  
Lecture 12: Mastering the VI editor
   • Video  
Lecture 13:Installation and overview of VIM and Nano text editors
   • VIM and Nano Text Editors | Linux Tutorial...  
Lecture 14: How to manage Users in Linux
   • Manage Users in Linux |  Linux tutorial 20...  
Lecture 15 :Linux root : three different types of root in Linux
   • Understanding different types of root in L...  
Lecture 16:Managing groups in Linux and overview of sudo and wheel
   • Linux groups explained | Sudo and Wheel | ...  
Lecture 17:Permissions : securing your Linux environment like an expert
   • Linux Permissions  | Linux tutorial 2021 |...  
Lecture 18:How to use Grep command to search like a pro in Linux
   • Linux Grep command  | Linux Tutorial 2021 ...  
Lecture 19:How to use find command in Linux
   • Find command in Linux | Linux Tutorial 202...  
Lecture 20:How to redirect output of a command to a file
   • Redirection in Linux | Linux tutorial 2021...  
Lecture 21:How to use the pipe operator in linux
   • Linux Pipe Operator | Linux tutorial 2021 ...  
Lecture 22:How to compress and decompress files in linux usin tar, zip and gzip
   • File Compression in linux | Linux tutorial...  
Lecture 23: How to schedule tasks in Linux using CRONTAB
   • Schedule tasks using CRONTAB | Linux tutor...  
Lecture 24: How to Install MySQL server on Linux
   • Install MySQL on Ubuntu  | Linux tutorial ...  
Lecture 25:How to Install LAMP stack on Ubuntu Linux
   • Install LAMP stack on Linux | Linux tutori...  
Lecture 26: How to mount a new hard drive on Linux
   • How to mount new drive Linux | Linux tutor...  
Lecture 27:How to manage Linux Firewall using UFW( Uncomplicated Firewall)
   • Manage Linux Firewall | UFW | Linux tutori...  
Lecture 28: Linux Boot Process
   • Linux Boot Process | Linux tutorial 2021 |...  
Lecture 29: How to upgrade Ubuntu 18.04 to 19.04 Disco Dingo
   • Lecture 29 of 29 : How to upgrade Ubuntu 1...  
Lecture 30 : How to use for loop in Linux scripting
   • For loop in linux scripts |  Linux tutoria...  
Lecture 31: How to use While loop in Linux Bash scripts
   • Video  


In questa pagina del sito puoi guardare il video online While loop in linux scripts | Linux tutorial 2022 | Linux Masterclass della durata di ore minuti seconda in buona qualità , che l'utente ha caricato LabIT 11 luglio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,045 volte e gli è piaciuto 13 spettatori. Buona visione!