Difference between revisions of "This Is Your Brain On Informatics: Linux Commands"

From Pathology Education Instructional Resource
Jump to: navigation, search
(Created page with "===Resetting and Reloading Services=== <pre>/etc/init.d/[service] [operation]</pre> ''Operation'' * start * stop * reload * restart * force-reload ''Services'' * nginx * my...")
(No difference)

Revision as of 04:26, 1 December 2013

Resetting and Reloading Services

/etc/init.d/[service] [operation]

Operation

  • start
  • stop
  • reload
  • restart
  • force-reload

Services

  • nginx
  • mysql
  • php5-fpm
  • denyhosts

Network File

/etc/network/interfaces

Important Files for DenyHosts

File for denying IP addresses.

/etc/hosts.deny


File for permanently allowing an IP address.

/etc/host.allow