Phil Howard wrote:
On Tue, Jul 6, 2010 at 11:35, Papp Tamás <tompos@martos.bme.hu> wrote:
/usr/lib/dovecot/expire-tool.sh
Is it a script? I'm on Ubuntu 9.10 with Dovecot 1.1.11 and there is no /usr/lib/dovecot/expire-tool.sh though there is a /usr/lib/dovecot/expire-tool file which is an executable binary.
marconi/root/x0 /root 381# ls -dl /usr/lib/dovecot/expire-tool -rwxr-xr-x 1 root root 733856 2009-10-15 00:38 /usr/lib/dovecot/expire-tool marconi/root/x0 /root 382# od -Ax -tx4 -w16 < /usr/lib/dovecot/expire-tool | head 000000 464c457f 00010102 00000000 00000000 000010 003e0003 00000001 00007fa0 00000000 000020 00000040 00000000 000b2b60 00000000 000030 00000000 00380040 00400009 001c001d 000040 00000006 00000005 00000040 00000000 000050 00000040 00000000 00000040 00000000 000060 000001f8 00000000 000001f8 00000000 000070 00000008 00000000 00000003 00000004 000080 00000238 00000000 00000238 00000000 000090 00000238 00000000 0000001c 00000000 marconi/root/x0 /root 383#
Possible apologies re grannies/egg-sucking, but:
Where you want to find out what a file "is" in situations like this, you may find the program "file" useful
luser@myhost:~$ file /usr/lib/dovecot/expire-tool /usr/lib/dovecot/expire-tool: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped luser@myhost:~$
On Ubuntu, the "file" program is provided by the package "file".
Bill