<?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 Anand Mali on Medium]]></title>
        <description><![CDATA[Stories by Anand Mali on Medium]]></description>
        <link>https://medium.com/@manand0009?source=rss-ceed0aa01dad------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*BAbNZOsGBGdCW2F0</url>
            <title>Stories by Anand Mali on Medium</title>
            <link>https://medium.com/@manand0009?source=rss-ceed0aa01dad------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 03:54:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@manand0009/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[Docker Best Practices for using Docker in Production]]></title>
            <link>https://medium.com/@manand0009/docker-best-practices-for-using-docker-in-production-993f8b0a001?source=rss-ceed0aa01dad------2</link>
            <guid isPermaLink="false">https://medium.com/p/993f8b0a001</guid>
            <category><![CDATA[docker-image]]></category>
            <category><![CDATA[docker-fil]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Anand Mali]]></dc:creator>
            <pubDate>Wed, 03 Aug 2022 17:25:00 GMT</pubDate>
            <atom:updated>2022-08-03T17:25:00.368Z</atom:updated>
            <content:encoded><![CDATA[<p>1. Use official Docker Images as base Images.<br>2. Use a specific version of the Image<br>3. Use a Smaller size official image like alpine<br>4. Optimize caching Image layers<br>5. use the .dockerignore file to ignore unwanted files in the build context <br>6. Use multi-stage builds, To remove the build tool utilities from the final image.<br>7. Use least privileged users for security reasons.<br>8. Scan the image for security vulnerability. By using docker scan &lt;image&gt; command.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=993f8b0a001" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shell Scripting]]></title>
            <link>https://medium.com/@manand0009/shell-scripting-4000be308bd2?source=rss-ceed0aa01dad------2</link>
            <guid isPermaLink="false">https://medium.com/p/4000be308bd2</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[shellscripting]]></category>
            <category><![CDATA[unix]]></category>
            <dc:creator><![CDATA[Anand Mali]]></dc:creator>
            <pubDate>Tue, 08 Mar 2022 05:09:31 GMT</pubDate>
            <atom:updated>2022-03-08T05:09:31.184Z</atom:updated>
            <content:encoded><![CDATA[<p>Writing and naming</p><p>A shell script is a sequence of commands for which you have repeated use. This sequence is typically executed by entering the name of the script on the command line. Alternatively, you can use scripts to automate tasks using the cron facility. Another use for scripts is in the UNIX boot and shutdown procedure, where the operation of daemons and services are defined in init scripts.</p><p>To create a shell script, open a new empty file in your editor. Any text editor will do: vim, emacs, gedit, dtpad et cetera are all valid. You might want to choose a more advanced editor like vim or emacs, however,because these can be configured to recognize shell and Bash syntax and can be a great help in preventing those errors that beginners frequently make, such as forgetting brackets and semi-colons.</p><p>Syntax highlighting in vim</p><p>In order to activate syntax highlighting in vim, use the command</p><p><strong>:syntax enable</strong></p><p><strong>or</strong></p><p><strong>:sy enable</strong></p><p><strong>or</strong></p><p><strong>:syn enable</strong></p><p>You can add this setting to your .vimrc file to make it permanent.</p><p>Put UNIX commands in the new empty file, like you would enter them on the command line. commands can be shell functions, shell built-ins, UNIX commands, and other scripts.</p><p>Give your script a sensible name that gives a hint about what the script does. Make sure that your script name does not conflict with existing commands. In order to ensure that no confusion can rise, script names often end in .sh; even so, there might be other scripts on your system with the same name as the one you chose.</p><p>Check using which, whereis and other commands for finding information about programs and files:</p><p><strong>which -a script_name</strong></p><p><strong>whereis script_name</strong></p><p><strong>locate script_name</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4000be308bd2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>