- 论坛徽章:
- 0
|
我执行一个程序AIX_install,想把结果输出至特定日志文件,但总是不能成功,达人们能帮我分析下原因吗?AIX_install是个可执行程序。
$ ./ctmems/Oracle/AIX_install
Usage:
install [options] File
File The install definition file without extensions.
options:
-help brief help message
-man full documentation
-silent Perform a silent install.
-gui_only Obtain the parameters from the user and exit.
-log file The name of the log file.
-uilog file The name of the log file for the user interface
portion of the install.
-params file The name of a file containing variables saved
from previous instances of the install engine.
-defaults file The name of a file containing variables which
override factory default values.
-trace number Print extra information in the log file.
-version Print the Install Engine version and exit.
$ a=`./ctmems/Oracle/AIX_install`
Usage:
install [options] File
File The install definition file without extensions.
options:
-help brief help message
-man full documentation
-silent Perform a silent install.
-gui_only Obtain the parameters from the user and exit.
-log file The name of the log file.
-uilog file The name of the log file for the user interface
portion of the install.
-params file The name of a file containing variables saved
from previous instances of the install engine.
-defaults file The name of a file containing variables which
override factory default values.
-trace number Print extra information in the log file.
-version Print the Install Engine version and exit.
$ echo $a
$ ./ctmems/Oracle/AIX_install > test.log
Usage:
install [options] File
File The install definition file without extensions.
options:
-help brief help message
-man full documentation
-silent Perform a silent install.
-gui_only Obtain the parameters from the user and exit.
-log file The name of the log file.
-uilog file The name of the log file for the user interface
portion of the install.
-params file The name of a file containing variables saved
from previous instances of the install engine.
-defaults file The name of a file containing variables which
override factory default values.
-trace number Print extra information in the log file.
-version Print the Install Engine version and exit.
$ cat test.log
$ |
|