when I execute the unix commands its works normally in the 1st part.
When I the tried the same in shell scripting the directory is not displayed in 2nd part example. please let me know what needs to be done.
Unix :
Using Shell script :
I need the output as /shome/zsvhome/zsvdbs instead ~zpsdba
Please let me know wat needs to be done
When I the tried the same in shell scripting the directory is not displayed in 2nd part example. please let me know what needs to be done.
Unix :
Code:
client=~zsvdbs
echo $client
/shome/zsvhome/zsvdbs
Code:
+ client=~zsvdbs
echo $client
+ echo ~zsvdbs
~zpsdba
Please let me know wat needs to be done