<?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: Amrendra Singh</title>
    <description>The latest articles on DEV Community by Amrendra Singh (@amrendrasingh).</description>
    <link>https://dev.to/amrendrasingh</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%2F2167923%2F703bb656-1caf-4720-af0d-9437629a7799.png</url>
      <title>DEV Community: Amrendra Singh</title>
      <link>https://dev.to/amrendrasingh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/amrendrasingh"/>
    <language>en</language>
    <item>
      <title>How to Install and Set PATH for Java</title>
      <dc:creator>Amrendra Singh</dc:creator>
      <pubDate>Sat, 21 Feb 2026 16:11:10 +0000</pubDate>
      <link>https://dev.to/amrendrasingh/how-to-install-and-set-path-for-java-36ep</link>
      <guid>https://dev.to/amrendrasingh/how-to-install-and-set-path-for-java-36ep</guid>
      <description>&lt;p&gt;1). For Windows&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Download Java
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Visit the Java Download Page: &lt;a href="https://www.oracle.com/in/java/technologies/downloads/" rel="noopener noreferrer"&gt;Link&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select the Latest Java Development Kit (JDK)[JDK 25]LTS for Windows.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Download the installer (.exe file).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 2: Install Java
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Run the Downloaded .exe file.&lt;/li&gt;
&lt;li&gt;Follow the installation wizard steps:
&lt;em&gt;&lt;code&gt;Accept the license agreement&lt;/code&gt;&lt;/em&gt;.
&lt;em&gt;&lt;code&gt;Choose an installation directory (default is usually fine)&lt;/code&gt;&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Finish&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 3: Set the PATH Environment Variable
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open the Start Menu and Search for &lt;strong&gt;Environment Variables&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Edit the system environment variables&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the System Properties window, Click the &lt;strong&gt;Environment Variables&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;Under &lt;strong&gt;System Variables&lt;/strong&gt;, find and select the &lt;strong&gt;Path variable&lt;/strong&gt;, then click &lt;strong&gt;Edit&lt;/strong&gt;. If not available create one&lt;/li&gt;
&lt;li&gt;Add the following to the list of paths: &lt;code&gt;C:\Program Files\Java\jdk&amp;lt;version&amp;gt;\bin (Replace &amp;lt;version&amp;gt; with the installed JDK version number)&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt; to save changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Step 4: Verify Installation.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open &lt;strong&gt;Command Prompt&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Run the command: &lt;code&gt;java -version&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;If Java is installed correctly, it will display the installed version&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;2). For macOS&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Download Java
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Visit the Java Download page: &lt;a href="https://www.oracle.com/in/java/technologies/downloads/" rel="noopener noreferrer"&gt;Link&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Select the latest JDK for macOS. &lt;/li&gt;
&lt;li&gt;Download the .dmg file.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 2: Install Java
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open the downloaded .dmg file. &lt;/li&gt;
&lt;li&gt;Follow the installation prompts: &lt;/li&gt;
&lt;li&gt;Drag the Java installer to the Applications folder. &lt;/li&gt;
&lt;li&gt;Once the installation is complete, Java will be installed in 
&lt;code&gt;/Library/Java/JavaVirtualMachines/&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 3: Set the PATH Environment Variable
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open the Terminal application. &lt;/li&gt;
&lt;li&gt;Edit the ~/.zshrc or ~/.bash_profile file (depending on your shell): 
nano ~/.zshrc &lt;/li&gt;
&lt;li&gt;Add the following line at the end of the file: 
export &lt;code&gt;PATH=$PATH:/Library/Java/JavaVirtualMachines/jdk &amp;lt;version&amp;gt;/Contents/Home/bin (Replace &amp;lt;version&amp;gt; with the installed JDK version)&lt;/code&gt;. &lt;/li&gt;
&lt;li&gt;Save the file and reload it: &lt;code&gt;source ~/.zshrc&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 4: Verify Installation
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open the Terminal. &lt;/li&gt;
&lt;li&gt;Run the command: &lt;code&gt;java -version&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;If Java is installed correctly, it will display the installed version.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;3). For Linux&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Download Java
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open your browser and visit the Java Download page: &lt;a href="https://www.oracle.com/in/java/technologies/downloads/" rel="noopener noreferrer"&gt;Link&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Select the latest JDK for Linux. &lt;/li&gt;
&lt;li&gt;Download the .tar.gz file.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Step 2: Install Java
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open the Terminal. &lt;/li&gt;
&lt;li&gt;Navigate to the directory where the .tar.gz file was downloaded: 
&lt;code&gt;cd /path/to/downloaded/file&lt;/code&gt; &lt;/li&gt;
&lt;li&gt;Extract the file: &lt;code&gt;tar -xvzf jdk-&amp;lt;version&amp;gt;.tar.gz&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Move the extracted folder to /usr/local/: &lt;code&gt;sudo mv jdk-&amp;lt;version&amp;gt; /usr/local/&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 3: Set the PATH Environment Variable
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open the ~/.bashrc or ~/.zshrc file: &lt;code&gt;nano ~/.bashrc&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Add the following line at the end of the file: &lt;code&gt;export PATH=$PATH:/usr/local/jdk-&amp;lt;version&amp;gt;/bin&lt;/code&gt; &lt;/li&gt;
&lt;li&gt;Save the file and reload it: &lt;code&gt;source ~/.bashrc&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 4: Verify Installation
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Open the Terminal. &lt;/li&gt;
&lt;li&gt;Run the command: &lt;code&gt;java -version&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;If Java is installed correctly, it will display the installed version&lt;/em&gt;.&lt;/p&gt;

</description>
      <category>java</category>
      <category>ai</category>
      <category>springboot</category>
      <category>oracle</category>
    </item>
    <item>
      <title>Basics &amp; History of Linux</title>
      <dc:creator>Amrendra Singh</dc:creator>
      <pubDate>Wed, 04 Feb 2026 19:41:57 +0000</pubDate>
      <link>https://dev.to/amrendrasingh/basics-history-of-linux-50k1</link>
      <guid>https://dev.to/amrendrasingh/basics-history-of-linux-50k1</guid>
      <description>&lt;p&gt;UNIX Project started in -&lt;br&gt;
1964 -&amp;gt; Bell Laboratory (New Jersey)&lt;br&gt;
1969 -&amp;gt; Project was withdraw, but Dennis Ritchie and Ken Thompson were two persons who are involved with the project interested to keep going after long of trials and errors, they have built a Operating system(OS) named as originally UNICS (Uniplexed Information &amp;amp; Computing Services) which is open-source and free to use for all.&lt;br&gt;
1975 -&amp;gt; Version of UNICS(or Unix) was launched with UNIX v6 which got lot of attention and recognition on global scale and become popular in less-time.&lt;/p&gt;

&lt;p&gt;After this revolution was started to give the professional services to users, companies started creating their own flavour of version of UNIX.&lt;/p&gt;

&lt;p&gt;UNIX based OS by different organizations.&lt;br&gt;
1). IBM created AIX&lt;br&gt;
2). SUN created Solaris&lt;br&gt;
3). Mac created MacOS&lt;br&gt;
4). HP created UX&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;History behind creation of LINUX Operating System&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In 1991, Linux Torvalds(Software Engineer) created and wrote the LINUX Operating system from Scratch by taking inspiration from UNIX and Andrew S. Tanenbaum (Computer Scientist) - He created a Operating system for children to share and guide the information which he named as - MINIX.&lt;/p&gt;

&lt;p&gt;Linux is free and open-source use for all users for multi-tasking and multi-user support.&lt;/p&gt;

&lt;p&gt;Many versions are released after wide adoption of this operating systems by different companies on regular basis with different user-cases.&lt;/p&gt;

&lt;p&gt;Various Versions available - RHEL(provides services), Fedora(group or community), Debian, Ubuntu(widely adopted for Use), CentOS(Fast compared to other versions), Amazon Linux, Kali Linux(Mostly under for Hacking Purposes) etc.&lt;/p&gt;

&lt;p&gt;Ways to operate an Operating System -&amp;gt; &lt;br&gt;
1). CLI(Command Line Interface) based in which commands are being used to give instructions to computer to perform the tasks.&lt;br&gt;
2). GUI(Graphical User Interface) based in which graphics based system is available to us to click and perform the tasks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Linux is Kernel not an Operating System&lt;/strong&gt;&lt;br&gt;
Linux is a Kernel along with GNU can termed as Operating System&lt;br&gt;
Linux(Kernel) + GNU -&amp;gt; OS&lt;/p&gt;

&lt;p&gt;Linux is not a UNIX derivative. It was written from Scratch.&lt;/p&gt;

&lt;p&gt;A Linux Distribution is the Linux kernel and a collection of software that together, creates an Operating System.&lt;/p&gt;

&lt;p&gt;Advantages/Features of Linux -&amp;gt;&lt;/p&gt;

&lt;p&gt;1). Open-Source&lt;br&gt;
2). Secure&lt;br&gt;
3). Simplified updates for all Installed Software&lt;br&gt;
4). Light Weight&lt;br&gt;
5). Supports Multi-user and Multi-Tasking&lt;br&gt;
6). Multiple distributions - RedHat, Debian, Fedora&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2Fl65wiedegwvjlkmuscay.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2Fl65wiedegwvjlkmuscay.png" alt=" " width="490" height="294"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.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%2F3b68t9q84v2a80ti77iq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.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%2F3b68t9q84v2a80ti77iq.png" alt=" " width="800" height="527"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Linux - File System Hierarchy in Detail&lt;/p&gt;

&lt;p&gt;/home -&amp;gt; Home directory for other users.&lt;br&gt;
/root -&amp;gt; It is home directory for root user.&lt;br&gt;
/boot -&amp;gt; It contains bootable files for Linux.&lt;br&gt;
/etc  -&amp;gt; It contains all configuration files.&lt;br&gt;
/usr  -&amp;gt;  by default software are installed in this directory.&lt;br&gt;
/bin  -&amp;gt; It contains commands used by all users.&lt;br&gt;
/sbin -&amp;gt; It contains commands used by only root user.&lt;br&gt;
/opt  -&amp;gt; optional application software packages.&lt;br&gt;
/dev  -&amp;gt; essential device files, this include terminal devices, USBs or any device attached to the systems.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;POST - Power on Self Test.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>devops</category>
      <category>sre</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
