Unix questions - Utility to determine the object type

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > January 2007 > Utility to determine the object type





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Utility to determine the object type
niteshkpatil@gmail.com

2007-01-09, 7:30 am

Hello,

Is there any utility on unix which can be used to determine whether a
given object(library or executable) is a 32-bit object or a 64-bit
object.

Thanks

Jens Thoms Toerring

2007-01-09, 7:30 am

niteshkpatil@gmail.com wrote:
> Is there any utility on unix which can be used to determine whether a
> given object(library or executable) is a 32-bit object or a 64-bit
> object.


Did you try 'file'?
Regards, Jens
--
\ Jens Thoms Toerring ___ jt@toerring.de
\__________________________ http://toerring.de
Todd H.

2007-01-09, 1:18 pm

niteshkpatil@gmail.com writes:

> Hello,
>
> Is there any utility on unix which can be used to determine whether a
> given object(library or executable) is a 32-bit object or a 64-bit
> object.


$ man file

$ file /path/to/lib.so

may do it?

--
Todd H.
http://www.toddh.net/
niteshkpatil@gmail.com

2007-01-10, 1:29 am

Thanks for the help.

file command works.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com