Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power


#Servers
#Opensource
 View Only
Expand all | Collapse all

file -i command not working as expected in AIX

  • 1.  file -i command not working as expected in AIX

    Posted 01/16/19 11:58 AM

    Originally posted by: Vedro


    We recently migrated our application from Z-linux to AIX. Using file - i command, few files in Linux are identified as iso-8859-1 and in AIX, it is  identified as Binary. How can I get same output in AIX? I used magic file, but no luck.


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: file -i command not working as expected in AIX

    Posted 01/17/19 01:35 AM

    Originally posted by: AyappanP


    /usr/bin/file comes with base AIX OS.

    /opt/freeware/bin/file comes with file rpm package.

    Which file command are you invoking ?

    If /opt/freeware/bin/file is not there, get the file rpm from Toolbox, install it and try using it.

     


    #AIXOpenSource
    #AIX-Open-Source-Software