From bcw142@21:1/145 to All on Monday, November 07, 2016 07:19:00
I remember in the past someone asking about how they could tell if they had
a 32 or 64 bit version of Mystic. I happened to remember about ELF format
this morning and checked out the basic header of mystic and found it shows
that as 'Class' so to figure out if your running the 32 or 64 bit version
of a program do:
readelf -h /mystic/mystic | grep Class
Class: ELF32
For version you can do:
cd /mystic
./mystic -version
1.12 A31
That will work for any of the programs but requires mystic.dat being in the same directory for most programs which is why the cd /mystic. This version message has been added by g00r00 (though is normal for Linux), so mystic's message will clear and home the terminal window first (A31), where
./fidopoll -version
FIDOPOLL Version 1.12 A31
Just adds newlines (no screen clear & home). If you wonder what other info
is available for all ELF files just type:
readelf
To output it's help to a file:
readelf 2>file
The 2>file is due to output to standard error. The normal output is to
standard out (1> or just >).