Home > Article > System Tutorial > Detailed explanation of command-sesearch
sesearch [-a] [-s body type] [-t target type] [-b boolean]
-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
Find out the relevant information about the target file resource type httpd_sys_content_t:
sesearch -a -t httpd_sys_content_t
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
View how many rules the Boolean value httpd_enable_homedirs has set
sesearch -b httpd_enable_homedirs -a
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!