I am trying to build a file invoked from a script that echoes what is in quotes to a file - only, the
$ gets omitted.
This is what I was trying to do:
echo -e "export ORACLE_BASE=/oracle/APP/grid \n export ORACLE_HOME=/oracle/APP/grid/12.1.0/grid\n export PATH=$ORACLE_HOME/bin:$PATH\n export ORACLE_SID=+ASM”>/home/oragrid/ASM.env
But it doesn't quite
echo into the file.