chcon -R -t httpd_sys_content_t /path/to/dir
Month: May 2020
Categories
IP Address in Linux
Get internal and external IP address from the terminal
Internal
hostname -I
External
curl -4 icanhazip.com
chcon -R -t httpd_sys_content_t /path/to/dir
Get internal and external IP address from the terminal
Internal
hostname -I
External
curl -4 icanhazip.com