Home  >  Article  >  Database  >  How to check the installation directory of oracle in linux

How to check the installation directory of oracle in linux

WBOY
WBOYOriginal
2022-01-26 15:38:5318574browse

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".

How to check the installation directory of oracle in linux

The operating environment of this tutorial: linux7.3 system, Oracle 11g version, Dell G3 computer.

How to check the installation directory of Oracle in Linux

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.

How to check the installation directory of oracle in linux

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

How to check the installation directory of oracle in linux

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn