K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / doc / file /
server ip : 104.21.89.46

your ip : 172.69.214.189

H O M E


Filename/usr/share/doc/file/README.Debian
Size749
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:50
Last modified14-Mar-2013 00:39
Last accessed06-Jul-2025 18:40
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
file for Debian
---------------

How users can inject their own magics for fun:

1. open /etc/magic and /etc/magic.mime with a text editor, as root,
and add your own magics.

2. have fun.


How package maintainers can inject their own magics for profit:

1. place your magics as plain text files in
/usr/share/file/${binary_package_name}.

2. call 'file --compile ${binary_package_name}' from /usr/share/file
in your postinst script (maybe we should have a trigger for that
at some point). this will produce the binary magics
/usr/share/file/${binary_package_name}.mgc.

3. remove the binary magics in your postrm script.

4. profit.

-- Daniel Baumann <[email protected]> Sat, 27 Mar 2010 11:22:58 +0100