Skip to content

Commit

Permalink
Update 03 kali-tcdump README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aminbiography authored Jan 5, 2025
1 parent f14f456 commit 9b7d805
Showing 1 changed file with 28 additions and 51 deletions.
79 changes: 28 additions & 51 deletions beginners/03 kali-tcdump README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,31 @@



<h1>Open Terminal in Kali Linux</h1>
<h3>Keyboard Shortcut:</h3>
<p>Press <strong>"Ctrl + Alt + T"</strong> to open the terminal.</p>

<h3>Through GUI:</h3>
<ul>
<li>Click on the <strong>Applications</strong> menu in the top-left corner.</li>
<li>Navigate to <strong>System Tools</strong>.</li>
<li>Select <strong>Terminal</strong>.</li>
</ul>

<h1>Closing Terminal in Kali Linux</h1>
<h3>Keyboard Shortcut:</h3>
<p>Press <strong>"Ctrl + D"</strong> to close the terminal.</p>

<h3>Through GUI:</h3>
<ul>
<li>Click the <strong>Close</strong> button (X) on the terminal window.</li>
<li>Or right-click the terminal icon and select <strong>Close</strong>.</li>
</ul>

<h1>OS Shutdown Commands in Kali Linux</h1>
<h3>Immediate Shutdown (Admin Privileges Required):</h3>
<pre><code>sudo shutdown now</code></pre>

<h3>Scheduled Shutdown:</h3>
<pre><code>sudo shutdown +&lt;time&gt;</code></pre>

<h3>Shutdown with a Custom Message:</h3>
<pre><code>sudo shutdown +5 "System is shutting down for maintenance."</code></pre>

<h3>Power Off Directly:</h3>
<pre><code>sudo poweroff</code></pre>

<h3>Reboot Command (Optional for Restart):</h3>
<pre><code>sudo reboot</code></pre>

<h3>Halt the System (Stop All Processes):</h3>
<pre><code>sudo halt</code></pre>

<h3>Notes:</h3>
<ul>
<li>Always use <strong>"sudo"</strong> because shutting down typically requires administrator privileges.</li>
<li>If you're logged in as the <strong>root user</strong>, you can skip <strong>"sudo"</strong>.</li>
<li>For GUI users, you can also shut down using the <strong>menu options</strong> or <strong>power button</strong>.</li>
</ul>





<h1>How to Install tcpdump on Kali Linux</h1>

<h2>Steps to Install tcpdump</h2>

<ol>
<li>
<strong>Open Terminal</strong>
<p>Press <code>Ctrl + Alt + T</code> or search for "Terminal" in the applications menu.</p>
</li>
<li>
<strong>Update Package List</strong> (Optional but Recommended)
<p>Run the following command to update the package list:</p>
<pre><code>sudo apt update</code></pre>
</li>
<li>
<strong>Install tcpdump</strong>
<p>Use the following command to install <code>tcpdump</code>:</p>
<pre><code>sudo apt install tcpdump</code></pre>
</li>
<li>
<strong>Verify Installation</strong>
<p>After installation, verify that <code>tcpdump</code> is installed by checking its version:</p>
<pre><code>tcpdump --version</code></pre>
</li>
</ol>

<h2>Additional Information</h2>
<p>You can now use <code>tcpdump</code> to capture and analyze network packets on your system.</p>

0 comments on commit 9b7d805

Please sign in to comment.