I have a command (not shell script) that general several lines of output like this...
scp /var/lib/mysql/jitu/email.* root@172.29.0.218:/root/pitu/
scp /var/lib/mysql/jitu/orders.* root@172.29.0.218:/root/pitu/
I tried adding xargs but it did not work. -exec was not tried because I guess it is used with find
| xargs -I '{}'
How do I make execute these lines without taking help of shell script?
Regards,
Shantanu Oak