Home > System Tutorial > LINUX > body text

Detailed explanation of command-sesearch

PHPz
Release: 2024-03-21 08:10:30
forward
589 people have browsed it

Detailed explanation of command-sesearch

grammar
sesearch [-a] [-s body type] [-t target type] [-b boolean]
Copy after login
Options
-a: List all related information of this type or Boolean value
-t: followed by the type, for example -t httpd_t
-b: followed by a Boolean rule, for example -b httpd_enable_ftp_server
Copy after login
Example

Find out the relevant information about the target file resource type httpd_sys_content_t:

sesearch -a -t httpd_sys_content_t
Copy after login

Find out all the information related to the main process being httpd_t and the target file type being httpd:

sesearch -s httpd_t -t httpd_* -a
Copy after login

View how many rules the Boolean value httpd_enable_homedirs has set

sesearch -b httpd_enable_homedirs -a
Copy after login

The above is the detailed content of Detailed explanation of command-sesearch. For more information, please follow other related articles on the PHP Chinese website!

source:linuxprobe.com
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!