[root@server01 ~]# dbc "delete from alert;"
DELETE 10
[root@server01 ~]#
However, the script created below generates an error that command does not exits. Can any one please exist.
script.sh:
#!/bin/sh
dbc "delete from alert;" >>$TASKLOGFILE
./script.sh: line 38: dbc: command not found
can any one please assist.
Thanks