Reputation: 71
I am trying to write a shell script which took value from parameter and place these values into text file and copy that text file from other server.
For ex if i pass abc in $1 and def $2 in parameter
It look like in text file like this a = something$1something b= something $2 something
Upvotes: 0
Views: 948
Reputation: 4574
echo "a = something$1something" >> newfile
echo "b = something$2something" >> newfile
Upvotes: 1