On Fri, Oct 26, 2007 at 06:56:05PM +0800, Anup Shukla wrote: > MOUNTER=`ssh $i "mount | grep data | awk '{print \\$1,\\$2,\\$3}'"` > > This is what i tried and worked for me. Why not be simpler, run the "mount" on the remote machine but the grep and awk on the local machine; no quoting issue at all then MOUNTER=`ssh $i mount | grep data | awk '{print $1,$2,$3}'` (more network data, less remote processing) -- rgds Stephen _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos