Linux Operating System (MOSC)

MOSC Banner

ksh variable substitution question

edited Jan 22, 2013 11:59PM in Linux Operating System (MOSC) 1 commentAnswered
ksh question

I want to execute a ksh comand with `` and want variables replaced.

`rman  target \ nocatalog restore controlfile to  $DATAGROUP from $line;`

$DATAGROUP and $line are variables which should be replaced before execution.

Final execution

`rman  target \ nocatalog restore controlfile to  '+DATAGROUP1' from '/u14/oracle/EBSSTAGE/db/apps_st/data/cntrl01.dbf';`

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center