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




Thread: using cksum
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-31-2007
leeRoberts2007 leeRoberts2007 is offline
Registered User
  
 

Join Date: May 2007
Posts: 4
using cksum

hi,

I am trying to use the cksum feature in unix. when i make a call to it i get returned something along the lines of:

4603435 14 file3

how do i get the first part of this response only; i.e:

4603435

I'm trying to use at a way without the use of sed and creating temp files. The manual doesn't seem to allow for picking out fields. If this isnt possible, the next simplest solution would be useful.

Thanks for your time

Lee