≡ Menu

How to Install Java 8 JRE and JDK from RPM file on Linux

Java JRE JDK InstallJRE stands for Java Runtime Environment.

JDK stands for Java Development Kit.

In most situations, if you want to run a Java application, you just need to install Only JRE.

But, if you are doing some development work, or compiling an application that requires Java SDK, then you have to install JDK.

This tutorial explains how to install JRE only, JDK only, and both JRE JDK together.

Git Branch CommandOne of the most powerful feature of git is its ability to create and manage branches in the most efficient way.

This tutorial explains the following git branch command examples:

  1. Create a New git Branch
  2. Delete a Git branch
  3. Delete remote-tracking branches
  4. Switch to a New git Branch to Work
  5. Create a New Branch and Switch Immediately
  6. Working on a Git Branch (Making Changes)
  7. View all Local git Branches
  8. View Remote git Branches
  9. View Merged and Not-Merged Local Git Branch
  10. Rename a Git Branch
  11. Force Rename a Git Branch
  12. Display Git Branch in Color
  13. Display Full or Partial SHA1 Git Commit Values
  14. Create a Branch at a Specific Location
  15. Display Specific Git Branch Details


brctl bridgebrctl stands for Bridge Control.

In Linux, this command is used to create and manipulate ethernet bridge.

This is typically used when you have multiple ethernet networks on your servers, and you want to combine them and present it as one logical network.

For example, if you have eth0 and eth1, you can combine them and present it as just br0, which will inturn use both eth0 and eth1 for network traffic.

In this tutorial, we’ve covered the following:

If you are managing a DELL Poweredge server, you might’ve noticed the following error message on the console during system startup.

This will happen during PERC RAID Controller check.

3 SELinux sestatus Command Output Explained with Examples

SELinux sestatussestatus stands for SELinux status.

This command is used to view the current status of the SELinux that is running on your system.

This tutorial explains the following:

  1. sestatus Command Output Explained with Details
  2. Display Selected Objects Security Context in sestatus
  3. Display Boolean Values in sestatus


9 Python if, if else, if elif Command Examples

Python If CommandSimilar to other programming languages, in Python, conditional situations can be handled using if command.

In this tutorial, we’ve explained the following with examples:

  1. Basic Python if Command Example for Numbers
  2. Python if Command Operators
  3. Basic Python if Command Example for String Comparison
  4. Multiple Commands in If Condition Block using Indentation
  5. Python if else Command Example
  6. Python if else if Command Example
  7. Python Compound If Statement Example
  8. AND, OR, NOT in Python if Command
  9. Python if Command Error Messages


In C programming, variadic function will contribute to the flexibility of the program that you are developing.

To understand this flexibility, let us start with a basic example.

If we like to add two numbers, we might write a code like this:

SELinux RestoreconOn your Linux server, having proper SELinux security context for files and directories is very important.

When you add your custom file to a directory that is already managed by SELinux policy, and if your custom file doesn’t have the proper SELinux context, then you will not get the expected result.

restorecon stands for Restore SELinux Context.

restorecon command will reset the SELinux security context for files and directories to its default values. This will only reset the type attribute of SELinux context.

In this tutorial, we’ll explain how to use restorecon command with some practical examples.