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

Поділитися
Вставка
  • Опубліковано 31 лип 2024
  • #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 Tutori...
    Shell Scripting Part-II - • Video
    Shell SCripting Crash Course - • Shell Scripting in 20 ...
    Shell Scripting Project1 - • Shell Scripting Projec...
    Shell Scripting Project2 - • Shell Scripting Projec...
    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

КОМЕНТАРІ • 33