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 to delete all the files with extension .dat rom a directory tree from root to third level in a single unix command?
What is the first line in a shell script?
How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?
What is the difference between bash and shell?
What are the different commands available to check the disk usage?
I want to connect to a remote server and execute some commands, how can I achieve this?
What is shell terminal?
How to write a function?
Explain about "s" permission bit in a file?
How shell works?
if i have 2 files file1 and file2.... file1 contains 2 columns like b a 11 aa 12 as 13 ad 15 ag 11 ar 13 ah 15 ak file2 contains b c 10 ds 11 at 15 gh 15 jk 13 iu 11 fg 13 yy can any 1 give me the program to display in this way? a b c aa 11 at ar 11 fg ad 13 iu ah 13 yy ag 15 gh ak 15 jk
write a shell script to identify the given string is palindrome or not?
17 Answers CTS, HP, IBM, InfoEst, Wipro,