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



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

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

#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 – https://youtu.be/M6nZpfIIFEM
Shell Scripting Part-II – https://youtu.be/VAGVFfkE-kQ
Shell SCripting Crash Course – https://youtu.be/CeCah9nD9XE
Shell Scripting Project1 – https://youtu.be/PH-rWuclGjA
Shell Scripting Project2 – https://youtu.be/r-9PgW0vAkQ

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

Comments are closed.