<?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: Hossam</title>
    <description>The latest articles on DEV Community by Hossam (@hbadr).</description>
    <link>https://dev.to/hbadr</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%2F504228%2F93759c1b-911b-4642-b9b9-aa241c2d878c.jpg</url>
      <title>DEV Community: Hossam</title>
      <link>https://dev.to/hbadr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hbadr"/>
    <language>en</language>
    <item>
      <title>Getting help with Linux commands</title>
      <dc:creator>Hossam</dc:creator>
      <pubDate>Tue, 17 May 2022 21:50:54 +0000</pubDate>
      <link>https://dev.to/hbadr/getting-help-with-linux-commands-154j</link>
      <guid>https://dev.to/hbadr/getting-help-with-linux-commands-154j</guid>
      <description>&lt;p&gt;It is kind of easy to get lost in the realm of Linux commands. It is not easy to memorize hundreds of commands and thousands of options and arguments. &lt;br&gt;
Here in this post I am going to list some of the possible ways that can help with getting documentation and usage examples for whichever command you are looking for.&lt;/p&gt;
&lt;h2&gt;
  
  
  man
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;man&lt;/code&gt; is the system manual pager that you can give an argument that represents a command, utility or a function and it should represent its documentation for you.&lt;/p&gt;
&lt;h3&gt;
  
  
  Usage example
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;man wget
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Running the command above will print out to the console a full description of the &lt;code&gt;wget&lt;/code&gt; command (which is by the way, a program that can download files from the internet and it supports multiple protocols) along with all the available options and arguments.&lt;/p&gt;

&lt;p&gt;If &lt;code&gt;man&lt;/code&gt; doesn't exist in your system, you can use &lt;code&gt;sudo apt install man-db&lt;/code&gt; to be able to use it in your distro if it supports apt package manager.&lt;/p&gt;


&lt;h2&gt;
  
  
  info
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;info&lt;/code&gt; is a software utility that presents infotext documentation as an easy to travers tree that you can go through.&lt;/p&gt;
&lt;h3&gt;
  
  
  Usage example
&lt;/h3&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;info wget
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;This will print out the the console textinfo documentation about &lt;code&gt;wget&lt;/code&gt; command.&lt;/p&gt;

&lt;p&gt;You can also navigate to a specific section in the documentation by specifing it as an argument&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;info wget examples
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Will take you directly to the examples section of wget documentation.&lt;/p&gt;




&lt;h2&gt;
  
  
  usr/share/doc
&lt;/h2&gt;

&lt;p&gt;Most application will have a readme file that you can open in the directory &lt;code&gt;usr/share/doc&lt;/code&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  --help
&lt;/h2&gt;

&lt;p&gt;Will show you usage guide for almost any command. They maybe simplified but you can pipe them through &lt;code&gt;less&lt;/code&gt; to read at your own speed.&lt;/p&gt;

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