<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Seb </title>
    <description>The latest articles on DEV Community by Seb  (@linuxseb).</description>
    <link>https://dev.to/linuxseb</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F686790%2F279319c5-08b3-4fd3-8d3d-d717da589468.jpg</url>
      <title>DEV Community: Seb </title>
      <link>https://dev.to/linuxseb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/linuxseb"/>
    <language>en</language>
    <item>
      <title>System Monitoring Commands 📈💻</title>
      <dc:creator>Seb </dc:creator>
      <pubDate>Mon, 08 Nov 2021 22:14:58 +0000</pubDate>
      <link>https://dev.to/linuxseb/system-monitoring-commands-4gc9</link>
      <guid>https://dev.to/linuxseb/system-monitoring-commands-4gc9</guid>
      <description>&lt;p&gt;Hey everyone! I am back with another Linux article!😊&lt;/p&gt;

&lt;p&gt;Today I will be going over basic commands you can use to monitor system performance! 📈📉💻&lt;/p&gt;

&lt;h4&gt;
  
  
  1. top 💻
&lt;/h4&gt;

&lt;p&gt;The 'top' command is used to display active processes and how much they are using system resources.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn17hjqdillbfnhhbavy7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn17hjqdillbfnhhbavy7.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  2.  lsof 💻
&lt;/h4&gt;

&lt;p&gt;lsof stands for list of open files- basically shows you list of files and the processes&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0ue6rn9nld4aixjf63yf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0ue6rn9nld4aixjf63yf.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  3. tcpdump 💻
&lt;/h4&gt;

&lt;p&gt;'tcpdump' is used to analyze network traffic&lt;/p&gt;

&lt;h4&gt;
  
  
  4. htop 💻
&lt;/h4&gt;

&lt;p&gt;'htop' is a lot like top - It's just allows you to monitor system resources or processes. As you can see, it's a bit more fancy than top&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3ltfrfogvjaj2mebb0jz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3ltfrfogvjaj2mebb0jz.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  5. iostat 💻
&lt;/h4&gt;

&lt;p&gt;'iostat' is a command that is used to monitor input/output devices, by telling you how long the devices have been active.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwp9hq278mkobjnfj1va7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwp9hq278mkobjnfj1va7.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  6. ps 💻
&lt;/h4&gt;

&lt;p&gt;Displays the processes&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fln6t5yb92nam2axl5dej.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fln6t5yb92nam2axl5dej.png" alt="ps"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  7. uptime 💻
&lt;/h4&gt;

&lt;p&gt;Tells you how long the system has been up&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2lnyfjc1n6b2d8z8qp6y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2lnyfjc1n6b2d8z8qp6y.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  8. free 💻
&lt;/h4&gt;

&lt;p&gt;'free' shows you the amount of available memory you have.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fct8gmbzkmhyzyfis49py.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fct8gmbzkmhyzyfis49py.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  9. pidstat 💻
&lt;/h4&gt;

&lt;p&gt;Used to monitor individual tasks. Great for troubleshooting issues.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc4b8fawt6vil4mymrpx6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc4b8fawt6vil4mymrpx6.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  10. w 💻
&lt;/h4&gt;

&lt;p&gt;'w' tells you information about users logged on and their processes&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fznh4lf2828hkwmdtmlke.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fznh4lf2828hkwmdtmlke.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h5&gt;
  
  
  That's it! Thank you for reading today's article🥳
&lt;/h5&gt;

&lt;p&gt;These commands can be vital for you to monitor your system, so I will be releasing a part 2 soon, as well!😆&lt;/p&gt;

&lt;p&gt;For future Linux and security content, please give me a follow &lt;br&gt;
&lt;a class="mentioned-user" href="https://dev.to/linuxseb"&gt;@linuxseb&lt;/a&gt; &lt;/p&gt;

&lt;h5&gt;
  
  
  Thank you again!😊
&lt;/h5&gt;

</description>
      <category>linux</category>
      <category>beginners</category>
      <category>systems</category>
      <category>ubuntu</category>
    </item>
    <item>
      <title>Working with Files in Linux 💻</title>
      <dc:creator>Seb </dc:creator>
      <pubDate>Sun, 17 Oct 2021 00:06:23 +0000</pubDate>
      <link>https://dev.to/linuxseb/working-with-files-in-linux-51af</link>
      <guid>https://dev.to/linuxseb/working-with-files-in-linux-51af</guid>
      <description>&lt;p&gt;Hey Dev community! 😆&lt;/p&gt;

&lt;p&gt;After weeks of exams and dealing with imposter syndrome, I am back with another short article on 'file commands' in Linux. These are pretty useful so take a look. 🤠&lt;/p&gt;

&lt;h4&gt;
  
  
  1. cd 💻
&lt;/h4&gt;

&lt;p&gt;The 'cd' command moves you into any directory you want. For example, if I have files located in the 'Documents' directory, this is the command I would run:&lt;/p&gt;

&lt;p&gt;cd Documents&lt;/p&gt;

&lt;p&gt;and this would move me to that directory.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F98r18ml9og4ru73mml07.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F98r18ml9og4ru73mml07.png" alt="cd"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  2. ls 💻
&lt;/h4&gt;

&lt;p&gt;The 'ls' command lists everything that is in that directory. To list everything in the directory, run this command:&lt;/p&gt;

&lt;p&gt;ls -l&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7340cz89e2545iodjlq4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7340cz89e2545iodjlq4.png" alt="ls"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  3. cat 💻
&lt;/h4&gt;

&lt;p&gt;the 'cat' commands displays what is inside a file. Simply run this command:&lt;/p&gt;

&lt;p&gt;cat (name of file)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3v1oagw8sn0o4c6pp7jh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3v1oagw8sn0o4c6pp7jh.png" alt="cat"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The cat command also can do other things. 👇&lt;/p&gt;

&lt;h4&gt;
  
  
  🎯 cat &amp;gt; filename
&lt;/h4&gt;

&lt;p&gt;Using this command, you can also create a file.&lt;/p&gt;

&lt;p&gt;What I did below was I created the file, typed out what I needed to, then viewed the file which displayed the text I had previously written.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdvti4qpxtwnnut56qb0y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdvti4qpxtwnnut56qb0y.png" alt="cat"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  🎯 cat testfile1 testfile2&amp;gt;testfile4
&lt;/h4&gt;

&lt;p&gt;Using this command, you can also create 1 new file by putting two together by doing this command:&lt;/p&gt;

&lt;p&gt;What I did was I used test1, and test2, and merged that into a new file called test4.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw5cosys5retwn31zd9xx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw5cosys5retwn31zd9xx.png" alt="cat"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  4. cp 💻
&lt;/h4&gt;

&lt;p&gt;The 'cp' commands copies files from one directory to another&lt;/p&gt;

&lt;p&gt;What I did below was I copied the Goku image from the pictures directory to the example directory, used 'cd' to move into the example directory, and did ls -l to view if the picture successfully copied.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp6oaejal36x4cq84linr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp6oaejal36x4cq84linr.png" alt="cp"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  5. mv 💻
&lt;/h4&gt;

&lt;p&gt;The 'mv' command is typically for moving files but it can also be used to rename files as well.&lt;/p&gt;

&lt;h4&gt;
  
  
  🎯 mv (to move)
&lt;/h4&gt;

&lt;p&gt;To move a file into a directory, run this command:&lt;/p&gt;

&lt;p&gt;mv (filename) (directory)&lt;/p&gt;

&lt;p&gt;What I did below was I moved test1 from Documents to example1, I went to example1, and then listed the files to confirm if it successfully moved.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpdvx9gicfyd27abmdrjx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpdvx9gicfyd27abmdrjx.png" alt="mv"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  🎯 mv (to rename)
&lt;/h4&gt;

&lt;p&gt;To rename a file, run this command:&lt;/p&gt;

&lt;p&gt;mv (filename) (newfilename)&lt;/p&gt;

&lt;p&gt;Staying in the example1 directory, I changed the name to 'newname' and then listed the files to confirm it's been changed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw16tyq06pm42a4tkwtnr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw16tyq06pm42a4tkwtnr.png" alt="mv"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  6. mdkir 💻
&lt;/h4&gt;

&lt;p&gt;The 'mkdir' command is what you will use almost daily. This command is used to make directories.&lt;/p&gt;

&lt;p&gt;💻&lt;/p&gt;

&lt;h4&gt;
  
  
  7. grep 💻
&lt;/h4&gt;

&lt;p&gt;'grep' is used to search for certain words in a text. To do this, run the command&lt;/p&gt;

&lt;p&gt;grep (word) (file name)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnx8oaoc81in6ypuojz9s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnx8oaoc81in6ypuojz9s.png" alt="grep"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  8. touch 💻
&lt;/h4&gt;

&lt;p&gt;'touch' is another command you can use to create a file. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffptxz5dzov09zies9cwn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffptxz5dzov09zies9cwn.png" alt="touch"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  9. rm
&lt;/h4&gt;

&lt;p&gt;'rm' is used to delete directories or anything within them. Always be careful with this command because there is no going back once you remove something. To delete, run this command:&lt;/p&gt;

&lt;p&gt;rm -r (name of directory or file)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqsk9goi5jyhvamfkf6b3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqsk9goi5jyhvamfkf6b3.png" alt="rm"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  10. head
&lt;/h4&gt;

&lt;p&gt;'head' is used to view the first lines of a text file. You can change how many lines you want to view as well. &lt;/p&gt;

&lt;p&gt;head -n (# of lines) (filename)&lt;/p&gt;

&lt;h5&gt;
  
  
  and that is it for today's article
&lt;/h5&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyhqkdyakxcmtrf527ouf.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyhqkdyakxcmtrf527ouf.gif" alt="yayme"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thank you for reading it 🥳 For future Linux content, give me a follow here or follow my twitter, &lt;a class="mentioned-user" href="https://dev.to/linuxseb"&gt;@linuxseb&lt;/a&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>beginners</category>
      <category>tutorial</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Installing Nginx on Ubuntu</title>
      <dc:creator>Seb </dc:creator>
      <pubDate>Sat, 04 Sep 2021 23:43:16 +0000</pubDate>
      <link>https://dev.to/linuxseb/installing-nginx-on-ubuntu-2cle</link>
      <guid>https://dev.to/linuxseb/installing-nginx-on-ubuntu-2cle</guid>
      <description>&lt;p&gt;Today I'll be showing you how to install Nginx, pronounced Engine X, on Ubuntu..&lt;/p&gt;

&lt;p&gt;But first.. what is Nginx?&lt;/p&gt;

&lt;p&gt;Because I want to give you the straight forward explanation of what it is..&lt;/p&gt;

&lt;p&gt;"NGINX is open source software for web serving, reverse proxying, caching, load balancing, media streaming, and more. It started out as a web server designed for maximum performance and stability"&lt;/p&gt;

&lt;p&gt;To read more about it, please visit their website:&lt;br&gt;
&lt;a href="https://www.nginx.com/resources/glossary/nginx/" rel="noopener noreferrer"&gt;https://www.nginx.com/resources/glossary/nginx/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Today I'll be going over how I installed it on my machine!&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Update your System
&lt;/h3&gt;

&lt;p&gt;Before doing anything, I always like to make sure my system is up to date. To do the same, run this command:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fak14xvhtzhoeqmzy2fzf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fak14xvhtzhoeqmzy2fzf.png" alt="n1"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Install Nginx
&lt;/h3&gt;

&lt;p&gt;Simple install it by running the command below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F98ia2club2cbu42uozb1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F98ia2club2cbu42uozb1.png" alt="n2"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Create new folder in /var/www
&lt;/h3&gt;

&lt;p&gt;Remember, if we want to create a folder in a specific directory, we will need to move to that directory.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4q57l2ody4zeeivai5qk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4q57l2ody4zeeivai5qk.png" alt="n3"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While in /var/www, we will create the new folder. Name it whatever you would like, and then, move into that folder, we will need to create a text file in there.&lt;/p&gt;

&lt;p&gt;Here is an example of how to do so:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx3nw7szwhixemaiqolik.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx3nw7szwhixemaiqolik.png" alt="n5"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Create index.html file
&lt;/h3&gt;

&lt;p&gt;After we move into the new folder we just created. We are going to create the text file.&lt;/p&gt;

&lt;p&gt;I prefer to use VIM, but you can honestly use anything you want, like nano.&lt;/p&gt;

&lt;p&gt;If you are using VIM, run the command:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;sudo vim index.html&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa5c90x1nv67q3goz8hlj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa5c90x1nv67q3goz8hlj.png" alt="n6"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you've created the file using &lt;em&gt;sudo vim index.html&lt;/em&gt;, you're going to need to edit that text file. &lt;/p&gt;

&lt;p&gt;You first have to press 'i' to edit. You can copy what I did below as far as html tags, but you can write whatever you want between the tags.&lt;/p&gt;

&lt;p&gt;When done, hit 'esc', type ':wq', and hit enter to quit. Now that file should be saved.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmxaul40wrbg65o5fku22.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmxaul40wrbg65o5fku22.PNG" alt="n7"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Create the Virtual Host
&lt;/h3&gt;

&lt;p&gt;To create the virtual host, you will need to move to the correct directory first.&lt;/p&gt;

&lt;p&gt;See my example on line 5 in the screenshot:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F83awubap1t4l6a3imyjl.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F83awubap1t4l6a3imyjl.PNG" alt="nn"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once we are in that directory, we will create a new file.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;sudo vim (name)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In my example, I also made the name of my file linuxseb, even though I named my folder that. I suggest creating different names for files and folders so it is less confusing, but it is up to you how you want to go about that! :)&lt;/p&gt;

&lt;p&gt;See screenshot below, and copy what I have. &lt;/p&gt;

&lt;p&gt;Also, don't forget!&lt;/p&gt;

&lt;p&gt;Be sure for the &lt;em&gt;server_name&lt;/em&gt; line and the &lt;em&gt;root&lt;/em&gt; line to replace "linuxwithseb.com" and "linuxseb" with your correct names. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftnp2n3aen2h9ez77ifpw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftnp2n3aen2h9ez77ifpw.png" alt="n11"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  6. Restart Nginx
&lt;/h3&gt;

&lt;p&gt;We are just about done. Go ahead and restart the service by running the command:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;sudo service nginx restart&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  7. Test it
&lt;/h3&gt;

&lt;p&gt;Once that has been restarted, go to your browser and type localhost:81&lt;/p&gt;

&lt;p&gt;and... &lt;/p&gt;

&lt;p&gt;this is what you should get!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxy8l4u02mfnqmcrciayc.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxy8l4u02mfnqmcrciayc.PNG" alt="final"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If your website is working and it shows up, it means you've successfully installed Nginx :)&lt;/p&gt;

&lt;h3&gt;
  
  
  To Conclude
&lt;/h3&gt;

&lt;p&gt;Tutorials like this are for beginners and for practice. Please remember to "stop" Nginx if you're not going to use it. This is just for the sake of security.&lt;/p&gt;

&lt;h3&gt;
  
  
  To stop it, run this command:
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;sudo systemctl stop nginx&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  and to confirm that it has stopped, run this command:
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;sudo systemctl status nginx&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  and there you go, you've now learned how to install and configure Nginx on your machine! Thank you all for tuning into my tutorial! More coming in the future :)
&lt;/h3&gt;

</description>
      <category>linux</category>
      <category>opensource</category>
      <category>beginners</category>
      <category>nginx</category>
    </item>
    <item>
      <title>File Transfer Commands in Linux</title>
      <dc:creator>Seb </dc:creator>
      <pubDate>Mon, 23 Aug 2021 00:08:01 +0000</pubDate>
      <link>https://dev.to/linuxseb/file-transfer-commands-in-linux-379l</link>
      <guid>https://dev.to/linuxseb/file-transfer-commands-in-linux-379l</guid>
      <description>&lt;p&gt;Here is an overview of commands you can use when handling file transfers in Linux &lt;/p&gt;

&lt;p&gt;Due to the fact that is a beginners article, it will just be the most basic information.&lt;/p&gt;

&lt;p&gt;I do plan to release future articles adding more details about these commands and how to actually use them.&lt;/p&gt;

&lt;p&gt;Since I already made this article into a tweet, you can also check that out here.&lt;/p&gt;

&lt;p&gt;&lt;iframe class="tweet-embed" id="tweet-1427867248564211716-509" src="https://platform.twitter.com/embed/Tweet.html?id=1427867248564211716"&gt;
&lt;/iframe&gt;

  // Detect dark theme
  var iframe = document.getElementById('tweet-1427867248564211716-509');
  if (document.body.className.includes('dark-theme')) {
    iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=1427867248564211716&amp;amp;theme=dark"
  }



&lt;/p&gt;

&lt;h3&gt;
  
  
  ftp
&lt;/h3&gt;

&lt;p&gt;'ftp' stands for 'file transfer protocol'.  You can use this, but this is an insecure way of transferring files to and from a host because when you enter your username and password it will travel over the network in plain text&lt;/p&gt;

&lt;h3&gt;
  
  
  sftp
&lt;/h3&gt;

&lt;p&gt;'sftp' stands for 'secure file transfer protocol'. This is the secure way of transferring. Using stfp will provide a higher level of transfer protection&lt;/p&gt;

&lt;h3&gt;
  
  
  scp
&lt;/h3&gt;

&lt;p&gt;'scp'  copies files to and from a host in a secure way. &lt;/p&gt;

&lt;p&gt;This command is considered outdated by some people and companies. It works, but use at your own discretion!&lt;/p&gt;

&lt;h3&gt;
  
  
  rsync
&lt;/h3&gt;

&lt;p&gt;'rsync' is used to synchronize files and directories between two machines over a remote shell.&lt;/p&gt;

&lt;p&gt;annddd&lt;/p&gt;

&lt;h3&gt;
  
  
  ssh
&lt;/h3&gt;

&lt;p&gt;'ssh' is used to securely log onto a remote host. You can 'ssh' into a remote system using SSH keys or password authentication.&lt;/p&gt;

&lt;p&gt;This one technically is not a file transfer command but I believe it is important when it comes to it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Wooo!!!
&lt;/h3&gt;

&lt;p&gt;annddd that is all! I do plan to post more longer tutorials and informational articles in the future!&lt;/p&gt;

&lt;p&gt;If you enjoyed this article, feel free to give me a follow! :)&lt;/p&gt;

</description>
      <category>linux</category>
    </item>
    <item>
      <title>Basic Networking Commands in Linux</title>
      <dc:creator>Seb </dc:creator>
      <pubDate>Sun, 15 Aug 2021 17:10:48 +0000</pubDate>
      <link>https://dev.to/linuxseb/basic-networking-commands-in-linux-203d</link>
      <guid>https://dev.to/linuxseb/basic-networking-commands-in-linux-203d</guid>
      <description>&lt;p&gt;Hi everyone! Welcome to my first article on DEV :) &lt;/p&gt;

&lt;p&gt;Today I will be doing a better overview of some basic networking commands in Linux. &lt;/p&gt;

&lt;p&gt;I recently created a short and sweet thread on twitter with these commands, so right now, I will be going over them a bit more with more detail and information.&lt;/p&gt;

&lt;p&gt;If you want to check out the twitter thread, go here - &lt;iframe class="tweet-embed" id="tweet-1426721727485153285-147" src="https://platform.twitter.com/embed/Tweet.html?id=1426721727485153285"&gt;
&lt;/iframe&gt;

  // Detect dark theme
  var iframe = document.getElementById('tweet-1426721727485153285-147');
  if (document.body.className.includes('dark-theme')) {
    iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=1426721727485153285&amp;amp;theme=dark"
  }



&lt;/p&gt;

&lt;h2&gt;
  
  
  ping
&lt;/h2&gt;

&lt;p&gt;The 'ping' command stands for Packet Internet Groper. It is used to test the network connections between two computers and to see if a host is reachable. &lt;/p&gt;

&lt;p&gt;So how does it work? Well, the 'ping' command uses something called ICMP, which stands for Internet Control Message Protocol. It sends an ICMP echo request message to the IP address you request. If the connection is successful, it responds with an ICMP echo reply message. You will know the host is reachable if you get the ICMP echo reply message&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffpi9hrht397ulnpk05ec.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffpi9hrht397ulnpk05ec.png" alt="ping"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  dig
&lt;/h2&gt;

&lt;p&gt;The 'dig' command can be used to view information about the Domain Name Servers of a website. It stands for "Domain Information Groper". Besides name servers, you can also view information about host addresses and mail exchanges. While anyone can use this command, it's mostly used by System Administrators.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmnel5pt3un8yy6d4skbz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmnel5pt3un8yy6d4skbz.png" alt="dig"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  whois
&lt;/h2&gt;

&lt;p&gt;The 'whois' command is another basic command that is used to look up information. In this case, using whois will give you details about a domain, such as owner information. &lt;/p&gt;

&lt;p&gt;Check out the screenshot to see what it shows you:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsjnq3aicfs7qcla0913a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsjnq3aicfs7qcla0913a.png" alt="whois"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  hostname
&lt;/h2&gt;

&lt;p&gt;This command is as it says. If for any reason you need to use it, it just tells you what the hostname is.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcduu9lj8nztg01ij689o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcduu9lj8nztg01ij689o.png" alt="hostname"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  ip a
&lt;/h2&gt;

&lt;p&gt;The 'ip a' command is among a couple you can use to find your IP address. Of course, knowing what your IP address is, is important. &lt;/p&gt;

&lt;p&gt;You can also use the IP command to view certain things. Such as 'ip link', this command will display link layer information. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb7w3ssp7qf9rtvz3i074.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb7w3ssp7qf9rtvz3i074.png" alt="ip a"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  finger
&lt;/h2&gt;

&lt;p&gt;The 'finger' command shows you the details of all users who are logged in. This is a great command for sysadmins as well as they can see things such as exact login times and even emails of users. In order to use this command, you may need to install it. To do so, run 'sudo apt-get install finger'&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv4vphgxhn0h53aagfwva.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv4vphgxhn0h53aagfwva.png" alt="finger"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  netstat -a
&lt;/h2&gt;

&lt;p&gt;Another useful command is 'netstat'. In this case, I am using 'netstat -a' to list all the ports that are listening. &lt;/p&gt;

&lt;p&gt;A listening port is when your machine is ready to accept a connection on that port. You can close and open ports at anytime. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7vc94xb6ei91z7uxi3xv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7vc94xb6ei91z7uxi3xv.png" alt="netstat"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  traceroute
&lt;/h2&gt;

&lt;p&gt;The 'traceroute' command displays the route a packet took to reach the host. If you look at my screenshot below, you can see how many 'hops' it took for me to reach the requested host. A hop happens when a packet is passed from one network segment to the next network segment&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsdwr42d61w3b7gajaaaq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsdwr42d61w3b7gajaaaq.png" alt="8"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  WOW, thank you for reading all the way to the end.
&lt;/h2&gt;

&lt;p&gt;I do plan on posting more about Linux in the future. Stay tuned!&lt;/p&gt;

</description>
      <category>linux</category>
    </item>
  </channel>
</rss>
