[root@cnprodftp02 root]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 5)
[root@cnprodftp02 root]# sort

[root@cnprodftp02 root]# set -o vi
 
[root@cnprodftp02 root]# grep prftp /etc/passwd | sort -n +2 -t':' |
head -2
xmit:x:150:204::/prftp/forwarder:/bin/bash
anl:x:213:206:test user:/prftp/carriers/anl:/sbin/nologin
 



[root@cnprodftp02 root]# uname -a
Linux cnprodftp02 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:52:23 EDT
2005 i686 i686 i386 GNU/Linux



Sort does not work on REdhat-AS5 ; it used to work on Redhat AS-3

[root@cnprodedi01 mail]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
[root@cnprodedi01 mail]# grep prftp /etc/passwd | sort -n +2 -t':' |
head -2
sort: open failed: +2: No such file or directory
[root@cnprodedi01 mail]#


[root@cnprodftp02 bin]# uname -a
Linux cnprodftp02 2.6.18-238.5.1.el5 #1 SMP Mon Feb 21 05:52:39 EST 2011
x86_64 x86_64 x86_64 GNU/Linux


Thanks.
Jay Patel
Systems Administrator
INTTRA
+1 973.265.2263 Office 
+1 973.641.0510 Mobile 
+1 973.263.5969 Fax
www.inttra.com <http://www.inttra.com/> 
This e-mail and any attachments thereto are intended only for use by the 
addressee(s) named herein and may contain proprietary and/or confidential 
information. If you are not the intended recipient of this e-mail, you are 
hereby notified that any dissemination, distribution or copying of this e-mail, 
and any attachments thereto, is strictly prohibited. If you have received this 
e-mail in error, please immediately notify [email protected] and 
permanently delete the original, any attachments, any copies thereof, and any 
printouts thereof.

Reply via email to