In Linux, you can use the whereis command to view the installation directory of Oracle. The function of this command is to find files. If Oracle is installed, this command can display the address of the Oracle installation. The syntax is "whereis oracle".
The operating environment of this tutorial: linux7.3 system, Oracle 11g version, Dell G3 computer.
The Linux whereis command is used to find files.
This command will search for files that meet the conditions in a specific directory. These files should be raw code, binary files, or help files.
This command can only be used to find binary files, source code files and man pages. Generally, you need to use the locate command to locate files.
Syntax
whereis [-bfmsu][-B <目录>...][-M <目录>...][-S <目录>...][文件...]
Use the whereis oracle command to query the installation path of Oracle. The specific steps are as follows:
1. First, use the XSell tool to connect to the corresponding Linux host and enter In the linux command line state, wait for the shell command to be entered.
2. Enter the shell command on the linux command line: whereis oracle.
3. Finally, press the "Enter key" on the keyboard to run the shell command. At this time, you will find that the installation path of Oracle has been successfully queried and printed out
Recommended tutorial: "Oracle Video Tutorial"
The above is the detailed content of How to check the installation directory of oracle in linux. For more information, please follow other related articles on the PHP Chinese website!