unix - converting to ksh shell script -
I'm new to shell scripting. Has anyone helped me convert it into a regular ksh based script? Thank you.
T = / KK / RS / Tools; U = $ T / Upgrade MV $ T / RO / YouTube $ U / RA / UPDAT.AR D $ 7 CD $ U; Grape "^ br" config .alpha & gt; Config.br./ConbaseUpgrader config.br ra_updates.br.d712 s
not there To do a lot, it's a practical ksh code, but to make sure that the ksh interpreter runs it, add (as the first line in the script), ksh "shebang", i.e.
#! / bin / ksh T = / kk / ras / tools U = "$ T" / Upgrade MV "$ T" / ra_updates "$ U" /ra_updates.br.d712 CD "$ U" grep "^ BR" config.alpha & Gt; config.br./ConbaseUpgrader config.br ra_updates.br.d712 s This is almost always good practice to circumvent variable references with dbl-citations. I have added them here.
Ensure that chmod 755 myScript.ksh is appropriate. Pre>
IHTH
Comments
Post a Comment