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...")
 
Line 1: Line 1:
===Resetting and Reloading Services===
+
===Common Linux Commands===
  
<pre>/etc/init.d/[service] [operation]</pre>
+
{|
 
+
|-
''Operation''
+
! Command !! Syntax !! Description
* start
+
|-
* stop
+
|
* reload
+
|-
* restart
+
|
* force-reload
+
|-
 
+
|}
''Services''
 
* nginx
 
* mysql
 
* php5-fpm
 
* denyhosts
 
 
 
===Network File===
 
 
 
<pre>/etc/network/interfaces</pre>
 
 
 
===Important Files for DenyHosts===
 
 
 
<p>
 
File for denying IP addresses.
 
</p>
 
 
 
<pre>/etc/hosts.deny</pre>
 
 
 
 
 
<p>
 
File for permanently allowing an IP address.
 
</p>
 
 
 
<pre>/etc/host.allow</pre>
 
 
 
{{This Is Your Brain On Informatics}}
 

Revision as of 06:40, 1 December 2013

Common Linux Commands

Command Syntax Description