Shell Scripting Tutorial
Hello Programmers, I’m Yash. Sole programmer at planetvearcity – a place where programmers come to learn, build, and grow.
Welcome to the tutorial series on shell scripting. In this video, we will cover comments and variables.
When writing Shell scripts, it is always a good practice to make your code clean and easily understandable. One of the ways to improve the readability of your code is by using comments. Adding comments to your scripts will make it easy for you to understand your code in the future. Let us go ahead and try using comments.
Comments are also useful when testing a script. Instead of deleting some lines, you can comment them out. If you are using a code editor like me then there is a shortcut to comment a given line or selected portion. In vs code its command plus forward slash.