linux view service installation directory

王林
Release: 2020-01-11 14:01:46
Original
2846 people have browsed it

linux view service installation directory

This article takes viewing the reids installation directory as an example.

If neither the which nor whereis commands can find the installation directory, you can use the following method:

1. First execute the following command to get the process number

ps -ef|grep redis
Copy after login

Get the process number xxxx. (Free video tutorial sharing: linux video tutorial)

2. Then execute the following command to view

ls -l /proc/xxxx/cwd
Copy after login

related article tutorial recommendations: linux tutorial

The above is the detailed content of linux view service installation directory. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template