Finding File Versions in linux Command
We have two simple ways to find out the file version in Linux:
Go to the directory where the file is placed and run one of the below commands, change file_name with your file actual name along with extension.
1) strings -a file_name|grep '$Header'
2) adident Header file_name
example
[oracle@soban.dba US]$ strings -a APPAYSHD.fmx|grep '$Header'
$Header: APPSTAND.fmb 120.15 2011/03/15 09:11 dbowles ship $
$Header: APPAYSHD.fmb 120.19 2010/12/20 05:10 anubagar ship $
$Header: APPAYSHD.fmb 120.19 2010/12/20 05:10 anubagar shi $
[oracle@soban.dba US]$ adident Header APPAYSHD.fmx
APPAYSHD.fmx:
$Header APPSTAND.fmb 120.15 2011/03/15 09:11 dbowles ship $
$Header APPAYSHD.fmb 120.19 2010/12/20 05:10 anubagar ship $
$Header APPAYSHD.fmb 120.19 2010/12/20 05:10 anubagar shi $
Screen shot:
Comments
Post a Comment