Hi All,
I am pasting my code below
if # e means file exists
then
echo OFR_Configlist exists >> OFR_Backup_Configfiles.log
else
echo OFR_Configlist Not exists >> OFR_Backup_Configfiles.log
exit
fi
How can i show the echo message in console also at the same time?
I dont want to write... (3 Replies)
Hi,
Good morning. Would you please explain to me what does it mean by the following command.
echo "$$ $# $@" >> /opt/ftp_generic_send.log
I know that something is being directed to log file, but not sure what exactly mean by those $$ and $# and $@ means.
Thank you for your help.... (3 Replies)
Hi all,
I am executing a Oracle SQL statement in a shell script and spooling the output of the query into a File with spool command.
I want to ensure that only output of the query appears in file excluding the SQL statement but even set echo off command is not working.
Please help (7 Replies)
Hi Friends,
I am trying a very simple thing to print through bash shell scripting using echo but failing. My script is-
A=Abha
B=Biha
C=2011
D=5
echo " The name is $A_$B$C0$D"
It should print-
"The name is Abha_Biha201105"
but it's printing something else. Is my script wrong?... (2 Replies)
Hi All
I want to use the echo command to had some lines to a file but the lines i want to have contain " and ;
here is my command
system("echo user_pref("accessibility.typeaheadfind.flashBar", 0); > $profile");
but i think there are too many " and so it barfs
n e ideas
thanks
A (5 Replies)
Hi All
I have the big statement which needs to be appended to the file MANUALLY without opening the file.
So, i tried with echo command
echo " failure ( 4446): for host xx.xx.xx.xxx trying to GET /index.html, wl-proxy reports: exception occurred for backend host 'xx.xx.xxx.xx/12210/12210':... (11 Replies)
Hello
i am trying to do some calculation from output command
for example
ls -l
if
then
echo "error"
else
echo "$"
fi
its something like this
which get strings from output command and try to sum total lines of this string if exceed certain number it display error
if not it... (3 Replies)
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Hello,
I have written a command n shell script :
srvctl relocate service -d t1 -s s1 -i i1 -t t1 -f
If the above command executes successfully without error I need to echo
"Service relocated successfully
and If it errors out I need to trap the errors in a file and also need to make... (1 Reply)