Dear Experts,
please can any body tell me that how to store tha value of this command in to a variable and after storing i have to display it
command is:
#sed -n '$p'
note: the value will come in numeric
Regards,
SHARY
Dear Experts,
please can any body tell me that how to store tha value of this command in to a variable and after storing i have to display it
command is:
#sed -n '$p'
note: the value will come in numeric
Regards,
SHARY
you could store the result in a file like
sed -n '$p' source filename>target filename
cat target filename
or
Variable=`sed -n '$p' source filename`
echo $Variable
if the above doesnt work try this
Variable=`eval sed -n '$p' source filename`
echo $Variable
Dear Ahmed
thank you so much it really works.
regards,
shary