[CentOS] script help
Tom Brown
tom at ng23.netFri Oct 26 10:28:37 UTC 2007
- Previous message: [CentOS] Xen crashes?
- Next message: [CentOS] script help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi
I am sure the answer here is really easy but i am stuck!
# mount | grep data | awk '{print$1,$2,$3}'
gives me the info i require locally, however i need to execute this over
about 1000 hosts so i run things remotely using ssh something like
# MOUNTER=`ssh $i 'mount | grep data | awk '{print$1,$2,$3}''`
however this fails as at the end of the line there are 2 ticks eg '
together -
Can anyone offer me some syntax help please?
thanks
- Previous message: [CentOS] Xen crashes?
- Next message: [CentOS] script help
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list