This Is Your Brain On Informatics: Common Pathnames: Difference between revisions

Tikenn (talk | contribs)
No edit summary
Tikenn (talk | contribs)
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Restarting, reloading, etc. a Service===
===Restarting, reloading, etc. a Service===
<pre>/etc/init.d/[service] [operation]</pre>
<pre>/etc/init.d/[service] [operation]</pre>


Line 15: Line 14:
* restart
* restart
* force-reload
* force-reload
<br />


===Network File===
===Network File===
<pre>/etc/network/interfaces</pre>
<pre>/etc/network/interfaces</pre>


 
===Important [[This Is Your Brain On Informatics: DenyHosts|Deny Hosts]] Files===
===Important Deny Hosts Files===
 
<p>
The hosts.deny file is for blocking IP addresses.
The hosts.deny file is for blocking IP addresses.
</p>


<pre>/etc/hosts.deny</pre>
<pre>/etc/hosts.deny</pre>


<br />
<p>
The hosts.allow file is for permanently giving access to IP addresses.
The hosts.allow file is for permanently giving access to IP addresses.
</p>


<pre>/etc/host.allow</pre>
<pre>/etc/host.allow</pre>
Line 41: Line 29:


{{This Is Your Brain On Informatics}}
{{This Is Your Brain On Informatics}}
[[Category:This Is Your Brain On Informatics]]