The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-04-2008
eamani_sun eamani_sun is offline
Registered User
  
 

Join Date: May 2008
Posts: 40
Cut command on a remote machine using rsh

Hi all,

I have a file on a remote machine and I want to do a cut operation on that file.

So, I have been doing

rsh <remote> " cut -d " " -f 2 <filename> "
cut: invalid delimiter

But, when I get the file to the local machine and run the same command, I get the o/p required.

can someone help me with this?

Thanks,
Sunny

Last edited by eamani_sun; 06-04-2008 at 04:57 PM..