I used, echo " copying file 'ls -sh xyz'"
but is displaying the same above , but not
ls -sh command result.
plz help
Quote:
Originally Posted by wmakowski
Just to expand on what Nylex mentioned. This is called command substitution and there are two forms `command` or $(command). Both work equally well. If you have to nest commands it is a little easier to use the second form. I like the second one a little more because I can see it easier in the script. It's just a preference thing.
Bill
|