sort question

jack craig jcraig at extraview.com
Wed Mar 10 00:40:14 UTC 2010


On 03/09/2010 04:32 PM, adrian kok wrote:
> Hi
>
> I have file as below
>
> 192.168.0.4      switch
> 192.168.0.47    server
> 192.168.0.43    printer
> 192.168.0.218  fax
> 192.168.0.205  monitor
>
> How can I use sort to
>
> 192.168.0.4   switch
> 192.168.0.43  printer
> 192.168.0.47  server
>
> Thank you
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>    
sort -nr < file1 > file2

doesnt work?

-- 
Jack Craig
Software Engineer
831.461.7100 x120
www.extraview.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20100309/ab7ccdae/attachment.html 


More information about the users mailing list