Use a # at starting of line which is to commented with in the script.
e.g.
#!/bin/bash
# mycommand
command1
in this script the command line mycommand will not get executed...
and to uncommant remove # from there.
Quote:
Originally Posted by madhusmita
I have a file contains
TASK gsnmpproxy {
CommandLine = $SMCHOME/bin/gsnmpProxy.exe
}
TASK gsnmpdbgui {
CommandLine = $SMCHOME/bin/gsnmpdbgui.exe
I would like to comment and than uncomment specific task eg TASK gsnmpproxy
Pls suggest how to do in shell script
|