list files created by service on centos code example Example: check service status in linux $ sudo service httpd status httpd is stopped