我们偶尔会以下操作:
cd $ORACLE_HOME/rdbms/lib
make -f ins_rdbms.mk ioracle <<<<<<<
?
大家伙知道以上命令目的何在吗?命令对文件进行重编译,编译完成如果已存在,那么会对文件先做备份,文件的备份名称以大写字母O为结尾.
?
语法:
make -f
?
动手实验一下:
?
窗口一:
[oracle@ora10g lib]$ pwd
/u01/app/oracle/product/10.2.0/rdbms/lib
[oracle@ora10g lib]$ make -f ins_rdbms.mk ioracle
?
窗口二:
[oracle@ora10g bin]$ pwd
/u01/app/oracle/product/10.2.0/bin
[oracle@ora10g bin]$ ls -lrt
total 368580
-rwxr-xr-x 1 oracle oinstall 101448 Jan 1 2000 unzip
-rwxr-xr-x 1 oracle oinstall 2947 Jan 1 2000 oraenv
-rwxr-xr-x 1 oracle oinstall 2365 Jan 1 2000 oerr
-rwxr-xr-x 1 oracle oinstall 2318 Jan 1 2000 gensyslib
-rwxr-x--- 1 oracle oinstall 6582 Jan 1 2000 dbshut
-rwxr-xr-x 1 oracle oinstall 2417 Jan 1 2000 dbhome
-rwxr-xr-x 1 oracle oinstall 2854 Jan 1 2000 coraenv
-rwxr-xr-x 1 oracle oinstall 48 Sep 25 2000 oraxml
-rwxr-xr-x 1 oracle oinstall 48 Sep 25 2000 oraxsl
-rwxr-xr-x 1 oracle oinstall 46 Nov 7 2000 oracg
-rwxr-xr-x 1 oracle oinstall 45 Sep 25 2001 transx
-rwxr-xr-x 1 oracle oinstall 59 Nov 25 2002 orapipe
-rwxr-xr-x 1 oracle oinstall 44 Dec 4 2002 orajaxb
-rwxr-xr-x 1 oracle oinstall 1748 Feb 16 2003 pupbld
-rwxr-xr-x 1 oracle oinstall 2134 Feb 16 2003 helpins
-rwxr-xr-x 1 oracle oinstall 1693 Jan 12 2004 emrepdown.sh
-rwxr-xr-x 1 oracle oinstall 25232 Jan 12 2004 emwd
-rwxr-xr-x 1 oracle oinstall 767 Jan 12 2004 emlfail.command
-rwxr-xr-x 1 oracle oinstall 1226 Jan 12 2004 emdfail.command
-rwxr-xr-x 1 oracle oinstall 1668 Jan 12 2004 runclass
-rwxr-xr-x 1 oracle oinstall 762 Jan 12 2004 xsql
-rwxr-xr-x 1 oracle oinstall 39481 Sep 2 2004 xmlwf
-rwxr-xr-x 1 oracle oinstall 5959 Sep 25 2004 repo_mig.template
-rwxr-xr-x 1 oracle oinstall 11160 Oct 13 2004 DBConsole.pm
-rw-r--r-- 1 oracle oinstall 82 Oct 15 2004 commonenv.bat.template
-rw-r--r-- 1 oracle oinstall 6768 Nov 4 2004 aqxmlctl.pl
-rwxr-xr-x 1 oracle oinstall 3099 Apr 5 2005 asmcmd
-rwxr-xr-x 1 oracle oinstall 2802 May 12 2005 emrepdown.pl
-rwxr-xr-x 1 oracle oinstall 3449 May 12 2005 emdrollogs.pl
-rwxr-xr-x 1 oracle oinstall 3944 May 12 2005 emdlctl.template
-rwxr-xr-x 1 oracle oinstall 0 May 12 2005 emtgtctl20
-rwxr-xr-x 1 oracle oinstall 214856 May 21 2005 asmcmdcore
-rw-r--r-- 1 oracle oinstall 1108 May 23 2005 processDef.pl
-rwxr-xr-x 1 oracle oinstall 3261 Jun 7 2005 symfind
-rwxr-xr-x 1 oracle oinstall 1176 Jun 13 2005 linkshlib
-rwxr-xr-x 1 oracle oinstall 153 Jun 13 2005 echodo
-rwxr-xr-x 1 oracle oinstall 0 Jun 22 2005 kfod0
-rwxr-xr-x 1 oracle oinstall 0 Jun 22 2005 csscanO
-rwxr-xr-x 1 oracle oinstall 5146 Jun 23 2005 genclntst
-rwxr-xr-x 1 oracle oinstall 1891 Aug 9 2005 agentok.sh
-rwxr-xr-x 1 oracle oinstall 21942 Aug 11 2005 EMDeploy.pm
-rwxr-xr-x 1 oracle oinstall 2175 Aug 26 2005 sAgentUtils.pm
-rwxr-xr-x 1 oracle oinstall 0 Aug 31 2005 netca_inst.sh
-rwxr-xr-x 1 oracle oinstall 4865 Sep 23 2005 genagtsh
-rwxr-xr-x 1 oracle oinstall 9668 Sep 26 2005 genclntsh
-rwxr-xr-x 1 oracle oinstall 53117 Oct 16 2005 proxyserv.bin
-rwxr-xr-x 1 oracle oinstall 629312 Oct 20 2005 oclsmon.bin
-rwxr-xr-x 1 oracle oinstall 2893 Oct 20 2005 gennfgt
-rwxr-xr-x 1 oracle oinstall 13093 Oct 20 2005 adapters
-rwxr-xr-x 1 oracle oinstall 691 Oct 22 2005 proxyserv
-rwxr-xr-x 1 oracle oinstall 0 Oct 22 2005 tnnfg.dbl
-rwxr-xr-x 1 oracle oinstall 0 Oct 22 2005 trcldr
-rwxr-xr-x 1 oracle oinstall 0 Oct 22 2005 grdcscan
-rwxr-xr-x 1 oracle oinstall 0 Oct 22 2005 nmo0
-rwxr-xr-x 1 oracle oinstall 0 Oct 22 2005 nmb0
-rwxr-xr-x 1 oracle oinstall 12432 Jul 20 2006 emctl.template
-rwxr-xr-x 1 oracle oinstall 485 Aug 4 2006 makeserverwlt
-rwx