How to Write Simple Shell Scripts!

Pubblicato il: 24 January 2022
sul canale di: Shawn Powers
17,172
515

Shell scripts are nothing more than automating the things you'd normally type by hand on the command line. With shell scripting (or more specifically BASH scripting), you can make Linux administration much simpler.

In this video we learn a few basics including:
Specifying an interpreter with the Shebang
Assigning variables in a script
Using special variables (passed as arguments)
How to craft a simple FOR loop
Understanding exit statuses.

Plus we take a quick look at VI vs NANO, and learn the secret, which is that Linux sysadmins have been doing "DevOps" for decades, long before that term was even invented!

This video based on:
LPI Linux Essentials
Objective 3.3 - Turning Commands into a Script
https://www.lpi.org/our-certification...

#LPI #LinuxEssentials #Exam_010_160 #Linux

Find me online:
  / shawnp0wers  
https://brainofshawn.com

Check out my comic!
  / mybigroundworld  


In questa pagina del sito puoi guardare il video online How to Write Simple Shell Scripts! della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Shawn Powers 24 January 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 17,172 volte e gli è piaciuto 515 spettatori. Buona visione!