Shell Scripting Best Practise | How To Write a Good Shell Script? | MPrashant

Pubblicato il: 01 marzo 2023
sul canale di: M Prashant
17,146
329

#linux #linuxtutorial #shellscripting #mprashant ‪@MPrashant‬

In this video, I'm going to show you the best practise for writing good Shell Scripts. I'll cover topics like basic syntax, variables and functions, and practical examples to help you write more effective Shell Scripts.

Whether you're a beginner or an experienced Shell Script developer, this video is a must-watch. I hope you find it helpful and that it helps you write better Shell Scripts!

In this video, I'll show you how to write effective Shell Scripts by demonstrating a real-world example. After watching this video, you'll be able to write good Shell Scripts that can be used for all sorts of tasks!

Other Videos on Shell Scripting

Shell Scripting in One Video -    • SHELL SCRIPTING Tutorial | Linux Bash Scri...  
Shell Scripting Part-II -    • Video  
Shell SCripting Crash Course -    • Shell Scripting in 20 Minutes - Crash Cour...  
Shell Scripting Project1 -    • Shell Scripting Project 1 | Linux Shell Sc...  
Shell Scripting Project2 -    • Shell Scripting Project -2 | Archive Older...  

00:00 Intro
00:15 Use Comments
01:03 Proper Naming Convention for Variables
01:33 Local or Readonly Variables
02:28 Use quotes for Strings
03:00 Exit script with return code
03:50 Consider Options for logging
05:08 Use Conditions to check requirements
06:15 Use Functions to resue the code
07:12 Use Indentation
07:56 Perform Dry Run for shell script
08:36 enable debugging
09:33 set -u
10:25 set -e

==================================

shell scripting,
shell scripting crash course,
shell scripting tutorial,
shell scripting for beginners,
shell scripting basics,
linux shell scripting tutorial,
shell scripting complete tutorial,
shell scripting tutorials,
bash shell scripting,
shell scripting examples,
shell scripting and bash scripting,
bash scripting,
shell scripting tutorial in linux,
shell scripting best practise,
how to write a good shell script,
shell script tips and tricks


In questa pagina del sito puoi guardare il video online Shell Scripting Best Practise | How To Write a Good Shell Script? | MPrashant della durata di ore minuti seconda in buona qualità , che l'utente ha caricato M Prashant 01 marzo 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 17,146 volte e gli è piaciuto 329 spettatori. Buona visione!