<?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 Shreyash Holkar on Medium]]></title>
        <description><![CDATA[Stories by Shreyash Holkar on Medium]]></description>
        <link>https://medium.com/@shreyash10012002?source=rss-9c903937e2c6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MfdOZkn3Au06CNDVHhaSnA.jpeg</url>
            <title>Stories by Shreyash Holkar on Medium</title>
            <link>https://medium.com/@shreyash10012002?source=rss-9c903937e2c6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 13:26:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shreyash10012002/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[Linux for DevOps-with commands]]></title>
            <link>https://medium.com/@shreyash10012002/linux-for-devops-fe8fab47e013?source=rss-9c903937e2c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe8fab47e013</guid>
            <category><![CDATA[devops-practice]]></category>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[linux-commands]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Shreyash Holkar]]></dc:creator>
            <pubDate>Thu, 21 Mar 2024 20:01:34 GMT</pubDate>
            <atom:updated>2024-05-21T06:16:16.186Z</atom:updated>
            <content:encoded><![CDATA[<h3>Role of Linux in DevOps</h3><p>Linux plays a crucial role in DevOps practices. Here are five key points outlining its significance:</p><ol><li><strong>Compatibility and Flexibility:</strong> Linux provides a highly compatible and flexible environment for DevOps tools and workflows. Its open-source nature allows for seamless integration with various development, testing, and deployment tools commonly used in DevOps pipelines.</li><li><strong>Automation and Scripting: </strong>Linux offers powerful scripting capabilities through tools like Bash, Python, and Perl, enabling automation of repetitive tasks in the DevOps process. This automation streamlines workflows, increases efficiency, and reduces human error, essential aspects of DevOps practices.</li><li><strong>Containerization and Orchestration:</strong> Linux serves as the foundation for popular containerization technologies like Docker and container orchestration platforms like Kubernetes. These technologies are fundamental to modern DevOps practices, enabling the creation, deployment, and management of scalable and portable applications.</li><li><strong>Scalability and Performance:</strong> Linux is renowned for its scalability and performance, making it well-suited for handling the dynamic and demanding workloads common in DevOps environments. Its robust architecture and efficient resource management contribute to the seamless operation of CI/CD pipelines and distributed systems.</li><li><strong>Community Support and Innovation:</strong> The vibrant Linux community fosters continuous innovation and collaboration, providing DevOps practitioners with a vast array of resources, documentation, and community-driven solutions. This support ecosystem accelerates the adoption and evolution of DevOps practices on Linux platforms.</li><li><strong>Security:</strong> Linux offers robust security features and a proactive security model, making it a preferred choice for DevOps practitioners concerned with safeguarding their infrastructure and applications. Its granular permission system, regular security updates, and strong emphasis on open-source security practices enhance the overall security posture of DevOps environments.</li></ol><h3>History of LINUX</h3><p>Linux came from a Unix family, Linux is a free and open-source software operating system, which Linus Torvalds developed in September 1991.</p><p>In 1991, Linus Torvalds was a student at the University of Helsinki, Finland, USA.</p><p>He developed the first code of Linux 0.01 and post it on the Minix newsgroup on 17 Sep 1991, his code become so popular people encouraged him to develop new code and he was led to develop new code and release the first “official” version of Linux, version 0.02 on October 5, 1991.</p><p>Today many year pass and Linux become one of the most popular operating systems. Today 90% fastest Supercomputers out of 500 run on Linux variants including the top 10.</p><h3>Linux File System Hierarchy</h3><p>In Linux everything is represented as a file including a hardware program, the files are stored in a directory, and every directory contains a file with a tree structure. That is called File System Hierarchy.</p><p>Linux uses single rooted, inverted tree-like structure.</p><p>Root Directory represents with / (forward slash) It is a top-level directory in Linux.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IoeCyBhxb5_hi0KKHs48yw.png" /></figure><h4>/</h4><p>The base of the Linux directory is the root. This is the starting point of FSH. Every directory arises from the root directory. It is represented by a forward slash (/).</p><p>If someone says to look into the slash directory, they refer to the root directory.</p><h4>/root</h4><p>It is the home directory for the root user (superuser).</p><h4>/bin : User Binaries</h4><p>Contains binary executable.</p><p>Common Linux commands you need to use in single-user modes are located under this directory.</p><p>Commands used by all the users of the system are located here.</p><h4>/sbin :System Binaries</h4><p>Just like /bin, /sbin also contains binary executables.</p><p>But, the linux commands located under this directory are used typically by system administrator, for system maintenance purpose.</p><p>For example: iptables, reboot, fdisk, ifconfig, swapon</p><h4>/dev : Device Files</h4><p>it contains hardware device files,</p><p>Contains device files.</p><p>These include terminal devices, usb, or any device attached to the system</p><p>For example: /dev/ttyl, /dev/usbmono</p><h4>/var : Variable Files</h4><p>The variable data files such as log files are located in the /var directory. File contents that tend to grow are located in this directory.</p><p>&gt; This includes</p><p><em>/var/log: System log files generated by OS and other applications.</em></p><p><em>/var/lib: Contains database and package files.</em></p><p><em>/var/mail: Contains Emails.</em></p><p><em>/var/tmp: Contains Temporary files needed for reboot.</em></p><h4>/mnt : Mount Directory</h4><p>This directory is used to mount a file system temporarily.</p><h4>/media : Removable Media Devices</h4><p>The /media directory contains subdirectories where removable media devices inserted into the computer are mounted.</p><h4>/usr : User Binaries</h4><p>The /usr directory contains applications and files used by users, as opposed to applications and files used by the system.</p><h4>/etc : Configuration files</h4><p>It contains all configuration files of server</p><p>The core configuration files are stored in the /etc directory. It controls the behavior of an operating system application. This directory also contains startup and shutdown program scripts that are used to start or stop individual programs.</p><h4>/boot : Boot Loader Files</h4><p>The /boot directory contains the files needed to boot the system</p><p>for example, the GRUB boot loader’s files and your Linux kernels are stored here.</p><h4>/opt : Optional Applications</h4><p>The opt directory is used for installing the application software from third- party vendors that are not available in the Linux distribution. Usually, the software code is stored in the opt directory and the binary code is linked to the bin directory so that all users can run that software.</p><h4>/home : Home Directory</h4><p>It contains secondary users home directory.</p><h4>/tmp : Temporary Files</h4><p>Directory that contains temporary files created by system and users.</p><p>Files under this directory are deleted when system is rebooted.</p><h3>Basic Commands</h3><p><strong><em>#pwd :</em></strong> it shows the present working directory</p><p><strong><em>#ls</em> :</strong> it shows available files and directory list in the present working directory.</p><p><strong><em>#uname</em> :</strong> it shows the name of the kernel (OS)</p><p><strong><em>#uname -r</em> :</strong> it shows version of the kernel</p><p><strong><em>#cd </em>:</strong> it use for change directory</p><p><strong><em>#clear</em> :</strong> it use for clear screen</p><p><strong><em>#whoami</em></strong> : it show currently login user name</p><p><strong><em>#history </em>:</strong> it show list of previously used commands.</p><p><strong><em>#date</em> :</strong> it show time and date</p><h3>Create file or directory.</h3><h4>1. For create single directory</h4><p><em>#mkdir /newdirectory</em></p><h4>2. For create multiple directory</h4><p><em>mkdir dev qa test</em></p><h4>3. For create directory path (directory inside directory)</h4><p><em>#mkdir -p /dev/qa/test/devops</em></p><h4>4. For create number of directory</h4><p><em>#mkdir /student{1..10}</em></p><h3>Create file</h3><h4>Touch:</h4><p>Touch command is use for create empty file, we can’t write data in a file, can’t edit or save file.</p><h4>1. Create single file with touch command</h4><p><em>#touch notes</em></p><h4>2. Create multilpe file</h4><p><em>#touch python java react</em></p><h4>3. Create number of files</h4><p><em>#touch books{1..10}</em></p><h3>For copy and paste</h3><h4>CP:</h4><p><em>cp</em> : cp command is used for copy and paste file or directory</p><p><strong>Syntax:</strong></p><p><em>#cp &lt;option&gt; &lt;source&gt; &lt;destination&gt;</em></p><p><strong>Options:</strong></p><p><em>-r</em><strong> </strong>: for recursive</p><p><em>-v</em> : for verbose</p><p><em>-f</em><strong> </strong>: for forcefully</p><h4>1. For copy file</h4><p><em>#cp -rvf /root/anaconda-ks.cfg /home</em></p><h4>2. For copy all data which start form D alphabet</h4><p><em>#cp -rvf /root/D* /home</em></p><h3>For remove file &amp; directory</h3><h4>1. For delete file or directory</h4><p><em>#rm -rvf /india/pune</em></p><h3>For move or rename file &amp; directory</h3><h4>1. For move file or directory</h4><p><em>#mv/home/shreyash/root/Desktop</em></p><h4>2. For rename file or directory</h4><p><strong><em>#mv dev devops</em></strong></p><h3>User Management</h3><h4>1.For create user account</h4><p><em>#useradd shreyash</em></p><h4>2.For check user account properties</h4><p><em>#grep shub/etc/passwd</em></p><p><em>shreyash:1001:1001: : /home/shub:/bin/bash</em></p><h4>3.For create user account password</h4><p><em>#passwd shreyash</em></p><h4>4.For check user password properties</h4><p><em>#grep shreyash/etc/shadow</em></p><p><em>shreyash:@s$!1bc25f%:18002:8:99999:7: : :</em></p><h4>5.For switch user account</h4><p><em>#su shreyash</em></p><h4>6.For logout from user account</h4><p><em>#exit</em></p><p>Or</p><p><em>Press “ctrl+d” Key</em></p><h4>7.For Delete user account</h4><p><em>#userdel shreyash</em></p><h4>8.For change user Login name</h4><p><em>#usermod -l devops shreyash</em></p><h3>Group Management</h3><p>A group is a collection of user accounts that is very use full to administrators for managing and applying permission to a number of users.</p><h4>1.For add Group account</h4><p><em>#groupadd ibmgrp</em></p><h4>2.For check group account property</h4><p><em>#grep ibmgrp/etc/group</em></p><p><em>Ibmgrp:x:1001:ajay,vijay,sachin</em></p><h4>3.For check group admin property</h4><p><em>#grep ibmgrp/etc/gshadow</em></p><p><em>Ibmgrp:!::</em></p><h4>4.For Delete group Account</h4><p><em>#groupdel ibmgrp</em></p><h4>5.For add single member in group</h4><p><em>#gpasswd -a ajay ibmgrp</em></p><h4>6.For add multiple member in group</h4><p><em>#gpasswd -M rahul, virat, rohit ibmgrp</em></p><h4>7.For remove group member</h4><p><em>#gpasswd -d virat ibmgrp</em></p><h4>8.For make group admin</h4><p><em>#gpasswd -A sachin ibmgrp</em></p><h3>Linux File System Permission</h3><h4>Type of File Permission</h4><p>a.Basic Permission</p><p>b.Special Permission</p><p>c.Access Control List (ACL) Permission</p><h4>1.For check file permission</h4><p><em>#ls -l /notes.txt</em></p><p><em>-rw-r-r- . 1 root root 0 Jan 4 14:59 /notes.txt</em></p><p><em>Permission</em></p><p><em>Link</em></p><p><em>Owner</em></p><p><em>Group owner</em></p><p><em>Size of file</em></p><p><em>Date &amp; time of file creation</em></p><p><em>Name of file</em></p><p><strong>For check directory permission</strong></p><p><em>#ls -ld /dev</em></p><h3>Permission in details</h3><p><strong>Type of File Permission</strong></p><p>a.Basic Permission</p><p>b.Special Permission</p><p>c.Access Control List (ACL) Permission</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*acD9zwzbwEhPSZHfG-M0dQ.png" /></figure><h3>Permission Group</h3><h4>Permission Description</h4><p><em>Owner (u)</em> -&gt; Permissions used for the owner of the file</p><p><em>Group (g) </em>-&gt; Permissions used by members of group</p><p><em>Other (0)</em> -&gt; Permissions used by all other users</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*S6seMkXYdp6HBjRfaUkL6g.png" /><figcaption><strong>Permission Set</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*S6seMkXYdp6HBjRfaUkL6g.png" /><figcaption><strong>Permission with numeric &amp; symbol</strong></figcaption></figure><h4>For change permission</h4><h4>1.For add read permission to owner</h4><p><em>#chmod u+r /notes.txt</em></p><h4>2.For add read write permission to group</h4><p><em>#chmod g+rw /notes.txt</em></p><h4>3.For remove read permission to others</h4><p><em>#chmod o-r /notes.txt</em></p><h4>4.For change ownership</h4><p><strong>syntax:</strong></p><p><em>#chown &lt;user name&gt; &lt;file/directory name&gt;</em></p><p><strong>example:</strong></p><p><em>#chown ajay /notes.txt</em></p><h4>5.For change group ownership</h4><p><strong>syntax:</strong></p><p><em>#chgrp &lt;group name&gt; &lt;file/directory name&gt;</em></p><p><strong>example:</strong></p><p><em>#chgrp ibmgrp /notes.txt</em></p><h4>6.Set permission with a numeric value</h4><p><em>r (read) = 4</em></p><p><em>w (write) = 2</em></p><p><em>x (execute) = 1</em></p><p><strong>For set permission with a numeric value</strong></p><p><em>#chmod 751 /shreyash</em></p><h3>Access Control List (ACL)</h3><p>Access control list (ACL) provides an additional, more flexible permission mechanism for file systems.</p><p>Access control list is a service which is used for providing special permission to specific users and group to particular directories and file</p><h4>Use of ACL</h4><p>Think of a scenario in which a particular user is not a member of group created by you but still you want to give some read or write access, how can you do it without making user member of group, here comes in picture Access Control Lists, ACL helps us to do this trick.</p><h4>1.For check ACL Permission</h4><p><strong>syntax:</strong></p><p><em>#getfacl &lt;nane of file or directory&gt;</em></p><p><strong>example:</strong></p><p><em>#getfacl /devops</em></p><h4>2.For set ACL permission to user</h4><p><em>#setfact -m u:shreyash:rwx /devops</em></p><h4>3.For remove ACL permission of user</h4><p><em>#setfacl -x u:shreyash: /devops</em></p><h4>4.For set ACL permission to Group</h4><p><em>#setfact -m g:shreyashgrp:rwx/devops</em></p><h4>5.For remove ACL permission of group</h4><p><em>#setfacl x g:shreyashgrp: /devops</em></p><h4>6.For remove all ACL permissions</h4><p>#setfacl -b /devops</p><h3>Access Control List (ACL)</h3><h4>Regular Expressions</h4><h4>What are Regular Expressions?</h4><p>Regular expressions are special characters which help search data, matching Complex patterns.</p><h4>GREP (Global Regular Expression Print)</h4><p>The grep filter searches file for particular pattern of characters, and displays all lines that contain that pattern</p><h4>1.Search a word (string in a file)</h4><p><em>#grep root /etc/passwd</em></p><h4>2.Search a string in multiple files</h4><p><em>#grep root /etc/passwd /etc/group</em></p><h4>3.Search a string insensitive in file</h4><p><em>#grep -i Root /etc/passwd</em></p><h4>4.Search a string in all files recursively</h4><p><em>#grep -r root /</em></p><h4>5.Inverting the string match</h4><p><em>#grep -v root /etc/passwd</em></p><h4>6.Displaying the string match total line number</h4><p><em>#grep -c root /etc/passwd</em></p><h4>7.Display the file names that match the string</h4><p><em>#grep -l root /etc/passwd/etc/shadow</em></p><h4>8.Display the file names that do not contain the string</h4><p><em>#grep -L root /etc/passwd /etc/shadow</em></p><h4>9.Displaying the string match line with number</h4><p><em>#grep -n root /etc/passwd</em></p><h4>10.Display the lines that start with string</h4><p><em>#grep ^root /etc/passwd</em></p><h4>11.Display the lines that end with a string</h4><p><em>#grep/bin/bash$ /etc/passwd</em></p><h4>12.Search and redirect output in a new file</h4><p><em>#grep root /etc/passwd &gt; /mnt/find.txt</em></p><h3>Find</h3><p>The Linux Find Command is one of the most important and much used command in Linux systems.</p><p>Find command used to search and locate the list of files and directories based on conditions you specify for files that match the arguments.</p><p>Find can be used in a variety of conditions like you can find files by permissions, users, groups, file type, date, size, and other possible criteria</p><h4>1.Find files under Home directory</h4><p><em>#find /home -name shub.txt</em></p><h4>2.Find files with suid permission</h4><p><em>#find / -perm 6755</em></p><h4>3.Find files with guid permission</h4><p><em>#find / -perm 2644</em></p><h4>4.Find files with sticky bit permission</h4><p><em>#find / -perm 1755</em></p><h4>5.Using Find command based on users</h4><p><em>#find / -user root</em></p><h4>6.Using Find command based on groups</h4><p><em>#find / -group shreyashgrp</em></p><h4>7.Search the file with less than 10MB in a folder</h4><p><em>#find /tmp -size -10M</em></p><h4>8.Search the file with more than 10MB in a folder</h4><p><em>#find / tmp -size +10M</em></p><h3>WC (Word Count)</h3><p>The wc command is use for the count word and line numbers.</p><h4>1.Count number of lines</h4><p><em>#wc -l /etc/passwd</em></p><h4>2.Count number of words</h4><p><em>#wc -w /etc/passwd</em></p><h3>Head</h3><p>Head command is used for to display top line of the file.</p><h4>1.Display top 10 line of the file</h4><p><em>#head /etc/passwd</em></p><h4>2.Display top specific no line of the file</h4><p><em>#head -n 15 /etc/passwd</em></p><h3>Tail</h3><p>Tail command is used for to display the bottom line of the file.</p><h4>1.Display bottom 10 line of the file</h4><p><em>#tail /etc/passwd</em></p><h4>2.Display bottom specific line of the file</h4><p><em>#tail -n 5/etc/passwd</em></p><h3>Archive File in Linux</h3><p>Archiving is the process of combining multiple files and directories (same or different sizes) into one file. Archive process is very useful for backup and compression size of data in Linux.</p><h4>What is Tar?</h4><p>The Linux “tar” stands for tape archive, which is used by large number of Linux/Unix system administrators to compress size or drives backup. For create archive tar used some compression algorithms Such as gzip,bz2 and xz.</p><h4>Tar command syntax</h4><p><em>#tar &lt;options&gt; &lt;files&gt;</em></p><h4>Commonly used options:</h4><p><em>c -&gt; for create</em></p><p><em>x -&gt; for extract</em></p><p><em>v -&gt; for verbose</em></p><p><em>f -&gt; for forcefully</em></p><p><em>t -&gt; for test</em></p><p><em>z -&gt; for gzip</em></p><p><em>j -&gt; for bz2</em></p><p><em>J -&gt; for xz</em></p><p><em>C -&gt; for specific destination.</em></p><h4>1.To create a tar archive file</h4><p><em># tar -cvf /mnt/backup.tar /var</em></p><h4>2.To show file size in human-readable format</h4><p><em>#du -sh /var</em></p><p><em>#du -sh /mnt/backup.tar</em></p><h4>3.To extract a tar archive file on the default location</h4><p><em>#tar -xvf /mnt/backup.tar</em></p><h4>4.To extract a tar archive file on the specific location</h4><p><em>#tar -xvf /mnt/backup.tar -C /root/Desktop/</em></p><h4>5.To create a tar archive file with compress in size (gzip)</h4><p><em>#tar -cvzf /mnt/backup.tar.gr /var</em></p><h4>6.To extract a tar archive file with compress in size (gzip)</h4><p><em>#tar -xvzf /mnt/backup.tar.gz</em></p><h4>7.To create a tar archive file with compress in size (bzip2/bz2)</h4><p><em>#tar-cvjf /mnt/backup.tar.bz2 /var</em></p><h4>8.To extract a tar archive file with compress in size (bzip2/bz2)</h4><p><em>#tar-xvJf /mnt/backup.tar.bz2</em></p><h4>9.To create a tar archive file with compress in size (xz)</h4><p><em>#tar-cvJf /mnt/backup.tar.xz /var</em></p><h4>10.To extract a tar archive file with compress in size (xz)</h4><p><em>#tar xvJf /mnt/backup.tar.xz</em></p><h3>Job Automation</h3><p>Job automation allows us to perform tasks automatically in OS by using tools.</p><p>This feature is very useful for the administrator to assign tasks to OS whenever he is not present or performing daily basis work.</p><h4>Two type of job automation</h4><p>a. at-command is used to execute a job only one time.</p><p>b. crontab-Crontab command is used to execute a job multiple times.</p><h4>1.To a set job with at command</h4><p><em>#date</em></p><p><em>#at 8:10 AM</em></p><p><em>at&gt;useradd shreyash</em></p><p><em>at&gt;</em></p><p><em>Ctrl+d (write &amp; quit)</em></p><h4>2.To show pending a job</h4><p><em>#atq</em></p><h4>3.To remove a job</h4><p><em>#atrm 2</em></p><h4>4.To restrict user from accessing at</h4><p><em>#vim /etc/at.deny</em></p><p><em>Shreyash (add here user name)</em></p><p><em>:wq (write &amp; quit)</em></p><h4>5.To start crond service</h4><p><em>#systemctl start crond</em></p><h4>6.To enable crond service (Permanent on)</h4><p><em>#systemctl enable crond</em></p><h4>7.For set cron jobs</h4><p><em>#crontab -e</em></p><h4>8.To show cron jobs of the current user</h4><p><em>#crontab -l</em></p><h4>9.To remove cron jobs</h4><p><em>#crontab -r</em></p><p>Or,</p><h4>10.Go to the crontab file and remove the job line</h4><p><em>#crontab -e</em></p><h4>11.To the set cron jab to other users</h4><p><em>#crontab -u shreyash -e</em></p><h4>12.To show cron job, other user</h4><p><em>#crontab -u shub -l</em></p><h4>13.To restrict user from crond service</h4><p><em>#vim /etc/cron.deny</em></p><h3>Sudo Command</h3><h4>What is sudo?</h4><p>sudo (“superuser do”, or “switch user do”) allows a user with proper permissions to execute a command as another user, such as the superuser.</p><p>sudo allows a permitted user to execute a command as another user, according to specifications in the /etc/sudoers file.</p><h4>1.Provide sudo privilege to the user.</h4><p><strong>For edit configuration file:</strong></p><p><em># vim /etc/sudoers</em></p><p><em>root ALL = (ALL) ALL</em></p><p><em>amir ALL = (ALL) ALL (add this line appro. 101 lines)</em></p><p><em>:wq</em></p><h4>2.Provide suda privilege to the group</h4><p><strong>For edit configuration file:</strong></p><p><em>#vim /etc/sudoers</em></p><p><em>%punegrp ALL=(ALL) ALL (line number 108)</em></p><p><em>:wq</em></p><p>By default, all members of punegrp group got sudo privileges <strong><em>Wheel group</em></strong></p><p>Wheel is a system group that by default has sudo privileges, if we add any member to that group then that user got sudo privilege</p><p><em>#grep wheel /etc/group</em></p><p><em>#useradd shreyash</em></p><p><em>#passwd shreyash</em></p><p><em>#gpasswd -a shreyash wheel</em></p><p>By default, all members of the wheel group got sudo privileges.</p><h4>3.Sudo without password</h4><p>For edit configuration file:</p><p><em># vim /etc/sudoers</em></p><p><em>amir ALL = (ALL) NOPASSWD: ALL</em></p><p><em>%punegrp ALL=(ALL) NOPASSWD: ALL</em></p><p><em>:wq</em></p><h3>Managing networking based on Red Hat Enterprise Linux</h3><h4>To show ip address</h4><p><em>#ifconfig</em></p><p>Or,</p><p><em>#ip addr</em></p><h4>Configure networking with nmcli</h4><p>Network Manager is daemon that monitors and manages network settings. nmcli command used to manage networking</p><h4>Manage IP configuration</h4><h4>1.To Show all list of connection.</h4><p><em>#nmcli con show</em></p><h4>2.To show a active connection</h4><p><em>#nacli con show — active</em></p><h4>3.To show a specific connection</h4><p><em>#nmcli con show “citynet”</em></p><h4>4.To show the device status</h4><p><em>#nmcli dev status</em></p><h4>5.To create a new connection with nmcli</h4><p><em>#nmcli con add con-name “citynet” iframe ens33 type ethernet ipv4, add 192.168.0.2/24 gw4 192.168.0.1 ip4.dns 192.168.0.1 connection.autoconnect yes ipv4.method manual</em></p><h4>6.To show the device status</h4><p><em>#nmcli con mod “citynet” ipv4.add 192.168.0.100</em></p><p><em>#nmcli con mod “citynet” gw4 192.168.0.254</em></p><p><em>#nmcli con mod “citynet” ipv4.dns 192.168.0.254</em></p><p><em>#nmcli con down citynet</em></p><p><em>#nmcli con up citynet</em></p><p><em>#nmcli con show — active</em></p><p><em>#nmcli con show cityne</em></p><h4>7.To activate new connection</h4><p><em>#nmcli con up “citynet”</em></p><p><em>#nmcli con show-active</em></p><h4>8.To deactivate connection</h4><p><em>#nmcli con down citynet</em></p><h4>9.To start a new connection and stop the old connection</h4><p><em>#nmcli connection modify “citynet” connection.autoconnect no</em></p><p><em>#nmcli connection madify “pune” connection.autoconnect yes</em></p><h4>10.To remove existing connection</h4><p><em>#nmcli con delete citynet</em></p><h4>11.To remove the existing connection</h4><p><em>#nmcli con delete citynet</em></p><h4>12.To set hostname</h4><p><em>#hostnamectl set-hostname it.citynet.com</em></p><h4>13.To show hostname</h4><p><em>#hostname</em></p><h4>14.Configuring networking with</h4><p><em>#nmtui</em></p><h3>IP address configuration files</h3><p>All created connections with nmcli and nmtui by default are stored in the following file</p><p><em>#cd /etc/NetworkManager/system-connections/</em></p><p><em>#ls</em></p><h3>Note</h3><p>We can also modify the connection using the above connection file, but it not recommended.</p><p>If update the file, restart Network Manager service to update IP-configuration</p><p><em>#systemctl restart NetworkManager</em></p><blockquote>If you found this blog helpful, please <strong>don’t forget</strong> to hit the <strong>Follow</strong> and <strong>Clap </strong>buttons to help me write more articles like this.<br><strong>Thank You 🖤</strong></blockquote><blockquote><strong>You can contact me on: </strong><a href="http://www.linkedin.com/in/shreyash-holkar-012778247">LinkedIn</a> <a href="http://shreyash10012002@gmail.com/">emailme</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe8fab47e013" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Computing : AWS Leading the Digital Revolution]]></title>
            <link>https://medium.com/@shreyash10012002/cloud-computing-aws-leading-the-digital-revolution-e5a226852661?source=rss-9c903937e2c6------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5a226852661</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Shreyash Holkar]]></dc:creator>
            <pubDate>Fri, 09 Feb 2024 00:08:33 GMT</pubDate>
            <atom:updated>2024-02-09T01:06:01.153Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cloud Computing : AWS Leading the Digital Revolution</h3><p>In today’s digital era, where data reigns supreme and accessibility is key, cloud computing has emerged as a game-changer, revolutionizing the way businesses operate and individuals interact with technology. But what exactly is cloud computing, and why has it become such an integral part of our modern world?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QMpFALeQP9yR9bXXKN-8SA.jpeg" /></figure><h4><strong>What is cloud computing?</strong></h4><p>Cloud computing refers to the delivery of computing services—such as servers, storage, databases, networking, software, and more—over the internet (“the cloud”) to offer faster innovation, flexible resources, and economies of scale.</p><h4><strong>The need for cloud computing</strong></h4><p>The need for cloud computing arises from the increasing demand for scalable, cost-effective, and on-demand access to computing resources. Traditional on-premises infrastructure often proves inadequate in meeting these demands, leading to delays in deployment, scalability challenges, and higher costs.</p><p><strong><em>1. Scalability:</em></strong> Businesses require flexible infrastructure to handle fluctuating workloads without over-provisioning or underutilizing resources.</p><p><strong><em>2. Cost-effectiveness:</em></strong> Cloud’s pay-as-you-go model eliminates upfront investments, offering economies of scale and cost savings.</p><p><strong><em>3. On-demand Access:</em></strong> Instant provisioning of resources enables rapid deployment of applications and services, reducing time-to-market.</p><p><strong><em>4. Global Reach:</em></strong> The cloud&#39;s global infrastructure ensures low latency, high availability, and accessibility from anywhere, facilitating seamless collaboration and customer access worldwide.</p><h4><strong>Applications of Cloud Computing</strong></h4><p>Cloud computing finds applications across various industries, including:</p><ol><li><strong><em>Business Operations:</em></strong> Streamlining processes, enhancing collaboration, and enabling remote work.</li><li><strong><em>Data analytics:</em></strong> processing large volumes of data, deriving insights, and driving informed decision-making.</li><li><strong><em>Software Development:</em></strong> Providing development and testing environments, version control, and collaboration tools.</li><li><strong><em>Content Delivery:</em></strong> Hosting websites, streaming media, and delivering digital content efficiently.</li><li><strong><em>IoT and Edge Computing: </em></strong>Supporting connected devices, collecting sensor data, and enabling real-time analysis.</li></ol><h4>Cloud service providers</h4><p>In the market, there are many different cloud service providers, such as:</p><ul><li><em>Amazon Web Services (AWS)</em></li><li><em>Microsoft Azure</em></li><li><em>Google Cloud Platform (GCP)</em></li><li><em>IBM Cloud</em></li><li><em>Oracle Cloud</em></li><li><em>Alibaba Cloud</em></li></ul><h4>Below is an image of the Gartner Magic Quadrant for Cloud Infrastructure and Platform Services (CIPS) as of October 2020.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6JUPzClLj29LbWMXG2LWnA.jpeg" /><figcaption>Gartner Magic Quadrant for Cloud Infrastructure &amp; Platform Services</figcaption></figure><p>The Magic Quadrant is a research tool by Gartner that helps organizations understand the relative strengths and weaknesses of different vendors in a specific market. The Gartner Magic Quadrant positions vendors based on two key axes:</p><ul><li><strong><em>Ability to Execute:</em></strong> This axis measures a vendor’s ability to go to market, sell, deliver, support, and install their products and services.</li><li><strong><em>Completeness of Vision:</em></strong> This axis measures a vendor’s understanding of future market directions and its ability to develop and deliver products and services that will meet client needs for years to come.</li></ul><p>Each vendor in the Magic Quadrant is placed into one of four quadrants based on its position on these two axes:</p><ul><li><strong><em>Leaders:</em></strong> These are vendors that are able to execute well and have a clear vision for the future.</li><li><strong><em>Challengers</em>:</strong> These are vendors that are able to execute well but have a less clear vision for the future.</li><li><strong><em>Visionaries:</em></strong> These are vendors that have a clear vision for the future but are not yet able to execute as well as some of the other vendors.</li><li><strong><em>Niche Players:</em></strong> These are vendors that focus on a particular niche of the market and are not trying to compete with the larger vendors.</li></ul><p>As you can see in the image, AWS is positioned in the Leaders quadrant, furthest to the right on the Ability to Execute axis and highest on the Completeness of Vision axis. This means that Gartner analysts believe that AWS is one of the best vendors in the cloud infrastructure and platform services market and that it is well-positioned for the future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1c3agr57iCsOcgOB5XbX4g.png" /></figure><p>Here are some of the reasons why AWS is considered a leader in the cloud infrastructure and platform services market:</p><ul><li><strong>Broad range of services:</strong> AWS offers a wide range of cloud infrastructure and platform services, including compute, storage, networking, database, analytics, machine learning, and artificial intelligence. This allows customers to find all of the services they need from one vendor.</li><li><strong>Scalability and reliability:</strong> AWS has a proven track record of being able to scale its services to meet the needs of its customers. The company also has a strong reputation for reliability.</li><li><strong>Security:</strong> AWS takes security very seriously and has a number of security features in place to protect its customers’ data.</li><li><strong>Global reach:</strong> AWS has a global presence with data centers around the world. This makes it a good option for businesses that need to deploy applications in multiple regions.</li><li><strong>Innovation:</strong> AWS is constantly innovating and adding new services and features. This helps to ensure that customers have access to the latest technology.</li></ul><p>By going through the blog, we can say that<strong> </strong>AWS’s broad service offerings, scalability, reliability, security measures, global presence, and commitment to innovation solidify its position as a leader in the cloud infrastructure and platform services market, empowering businesses worldwide to thrive in the digital age.</p><p>Thank you for reading the blog.</p><p>Connect with me on LinkedIn : <a href="http://www.linkedin.com/in/shreyash-holkar-012778247">www.linkedin.com/in/shreyash-holkar-012778247</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5a226852661" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>