<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shahul Hameed Buhari on Medium]]></title>
        <description><![CDATA[Stories by Shahul Hameed Buhari on Medium]]></description>
        <link>https://medium.com/@shahul_59899?source=rss-b52fdcc730e9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*YELps0XrtRxBMmqB</url>
            <title>Stories by Shahul Hameed Buhari on Medium</title>
            <link>https://medium.com/@shahul_59899?source=rss-b52fdcc730e9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 18:38:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shahul_59899/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Awesome unknown Git Commands- Part1]]></title>
            <link>https://medium.com/@shahul_59899/awesome-unknown-git-commands-part1-f7ee2ab2864f?source=rss-b52fdcc730e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7ee2ab2864f</guid>
            <dc:creator><![CDATA[Shahul Hameed Buhari]]></dc:creator>
            <pubDate>Sun, 10 May 2020 09:44:13 GMT</pubDate>
            <atom:updated>2020-05-10T09:44:13.262Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Unknown is not always unknown, until you meet it" src="https://cdn-images-1.medium.com/max/325/1*Cu9XNCBUT__a0YE5pg1wfA.jpeg" /><figcaption>The unknown is not always Unknown Until you meet it.</figcaption></figure><h3>1.git shortlog :</h3><p>If you want to know without asking anyone about the programmers who have contributed to the git repository your working on and also how many commits they are done so for, then this command gives you the brief about it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6BmLv8A8_LMvnMDF53ljOQ.png" /></figure><blockquote>Note: Command used is “git shortlog -n -s -e” where n- number of commits, s-summary, e- email Id.</blockquote><h3><strong>2. git log: ( — options)</strong></h3><p>we definitely have used git log command a lot. But using without the options gives you the information other than changed files information.</p><p><strong>i)stat</strong>: To know about the list of files changed along with log information also we can use<strong> git log — stat</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zXnwSnRiUK_99mbJwv_Khg.png" /></figure><p><strong>ii)author</strong>: If you want to view the commits w.r.t a particular person in your team. Then we can use the <strong>git log — author=” &lt;name&gt;”</strong> command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C_w1Gxke-yuPpOfEIWi1RA.png" /><figcaption>git log — author=”name”</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KQPcBYV5Obom2gu2Wz7PRA.png" /><figcaption>git log — author=”name” — stat</figcaption></figure><p><strong>iii)grep:</strong> If you want to retrieve all commits w.r.t a keyword, then we can use grep option in git log command. I hope many would have used grep command in Linux. (<strong>git log — grep=”&lt;keyword&gt;”</strong>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3hM8qx6twLhbPg6mRFpybA.png" /><figcaption>git log — grep=”keyword”</figcaption></figure><p><strong>iv)merge:</strong> If you want to view only merge commits in your repository. we can option — merge in your git log command. (<strong>git log — merge</strong>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QP1P2NpkGjyIstXJOKhI3w.png" /><figcaption>git log — merges</figcaption></figure><blockquote>The above image displays the results in oneline. If you want detailed one we can use with oneline option like <strong>git log — merges</strong></blockquote><p><strong>v) follow:</strong> If you want to find history about a certain file i.e. list of commits made against a file, we can use below command</p><p><strong>git log — stat — follow — &lt;filename&gt;</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Su7hLJ-yCOnFvPLEFRz7lA.png" /><figcaption>git log — stat — follow — filename</figcaption></figure><p><strong>vi) — since, — until</strong></p><p>If you want to find a list of commits happened two dates, then we can use options <strong>since</strong> and <strong>until, </strong>gives details about commits happened.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UZwjVXcbw-PuxTbLqVF3MA.png" /><figcaption>git log — since=”startdate” — until=”enddate”</figcaption></figure><p>Hope you guys will get benefit from the above git commands,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/1*0hejv5Tka9BUmkTouWR_kg.png" /></figure><p>IN PART2</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7ee2ab2864f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux Commands to create Files]]></title>
            <link>https://medium.com/@shahul_59899/linux-commands-to-create-files-51d5a6bc4ba7?source=rss-b52fdcc730e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/51d5a6bc4ba7</guid>
            <dc:creator><![CDATA[Shahul Hameed Buhari]]></dc:creator>
            <pubDate>Wed, 06 May 2020 12:15:12 GMT</pubDate>
            <atom:updated>2020-05-06T12:15:12.430Z</atom:updated>
            <content:encoded><![CDATA[<ol><li><strong>Redirect Symbol</strong>: <strong>(&gt;)</strong></li></ol><p>It allows the user to create a 0KB File. It actually redirects the output of the command to file, but when the user uses it without any command, it results in creating a file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/1*GTJ10S59EAyHcO5xkiGSbw.png" /></figure><blockquote><strong>Note:</strong> File cannot be created with content. If the file exists with the same name, then it will empty the file.</blockquote><p><strong>2. touch:</strong></p><p>It is a Linux command used to create a file if it doesn&#39;t exist. The good thing is it will not overwrite if the file with the same name and extension exists in the respective folder path. If the file doesn&#39;t exist, it will create a file of 0KB.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*rZSqwerp7O0mXJpRGnOk5A.png" /><figcaption>Touch command</figcaption></figure><blockquote><strong>Note:</strong> The Touch command has many options. Type “man touch” in the command terminal to find more options.</blockquote><p><strong>3. echo:</strong></p><p>we would have used this command a lot in scripts, bash file or we would use to play in the command terminal. The same command can be used to create a file. The best thing is it will allow creating a file with or without content appending with redirect symbol.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*HcG13bCplJptNuGFhu1WsA.png" /><figcaption>ECHO</figcaption></figure><blockquote><strong>Note:</strong> we can append text using the symbol “&gt;&gt;” to an existing file. If you use “&gt;” instead of the former one. Then the content of the file gets overridden with newer one.</blockquote><p><strong>4. printf:</strong></p><p>I hope some of you could have used this for the output statement in c language. In Linux, it is a command which works in the same way as <strong>“echo”. </strong>The special thing about printf is we can have format specifiers, escape sequences, and ordinary characters.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*W1VgZBSQFDygSSzzr29gpQ.png" /><figcaption>Printf</figcaption></figure><blockquote><strong>Note:</strong> we can append text using the symbol “&gt;&gt;” to an existing file. If you use “&gt;” instead of the former one. Then the content of the file gets overridden with newer one.</blockquote><p><strong>5. cat (concatenate):</strong></p><p>Most often we used this command to read the content of the required file. It serves three things 1.Display content of file 2. Combine files into a single file 3. Create a new file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*3tkBbYae75VBzn4UKWl40A.png" /></figure><blockquote>Note: After typing the required text, press CTRL + D to save the file.</blockquote><p>Good To Know:</p><p>You can empty a file simply with Redirect symbol</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*o2ckomh2kn1mgexhkaSyDg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51d5a6bc4ba7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>