On Tue, 13 Nov 2001 at 5:30pm (+0200), Avrahami, David wrote:
> Hi
> In digital unix I use "what" command with this printout:
> trm245 # what /bin/ls
> /bin/ls:
> $RCSfile: crt0.s,v $ $Revision: 1.1.21.11 $ (DEC) $Date: 1995/09/06
> 19:5
> 4:27 $
> $RCSfile: ls.c,v $ $Revision: 4.3.23.6 $ (OSF) $Date: 1995/12/18
> 04:11:0
> 0 $
>
> Do you know which command replace it in Linux?
I'm not familar with 'what' but it looks like it's just seeking out the RCS
identifiers hidden in the binaries... 'ident' does this on linux..
[matthewm@toadhall (7) matthewm]$ ident /bin/mktemp
/bin/mktemp:
$OpenBSD: mktemp.c,v 1.4 1997/06/20 04:17:42 millert Exp $
[matthewm@toadhall (7) matthewm]$
... of course there's no garentee a binary will acutally contain any
identifiers so YMMV.
M.
--
WebCentral Pty Ltd Australia's #1 Internet Web Hosting Company
Level 1, 96 Lytton Road. Network Operations - Systems Engineer
PO Box 4169, East Brisbane. phone: +61 7 3249 2500
Queensland, Australia. pgp key id: 0x900E515F
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list