How to include comments in your shell scripts?
Answers were Sorted based on User's Feedback
Answer / rameshs
#!/bin/bash
echo "Say Something"
<<COMMENT1
your comment 1
comment 2
blah
COMMENT1
echo "Do something else"
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / vipul dalwala
To comment multiple lines U can use
: '
comment1
comment2
comment3
'
| Is This Answer Correct ? | 0 Yes | 3 No |
How can you find out how long the system has been running?
What is the conditional statement in shell scripting?
Is powershell a language?
How do I open a jshell in cmd?
Why are shell scripts used?
How do I run a shell script in powershell?
What is the difference between grep and egrep?
How will you find the 99th line of a file using only tail and head command?
Write a shell script to get current date, time, user name and current working directory.
Why is it called a shell?
Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.
c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l