≡ Menu

Ramesh Natarajan

One 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: Create a New git Branch Delete a Git branch Delete remote-tracking branches Switch to a New git Branch to Work Create a New Branch and [...]

{ 0 comments }

brctl 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 [...]

{ 2 comments }

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. Memory/battery problems were detected. The adapter has recovered, but cached data was lost. Press any key to continue. For most part, when you press any key [...]

{ 1 comment }

3 SELinux sestatus Command Output Explained with Examples

sestatus 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: sestatus Command Output Explained with Details Display Selected Objects Security Context in sestatus Display Boolean Values in sestatus 1. sestatus Command Output Explained sestatus command will display [...]

{ 0 comments }

9 Python if, if else, if elif Command Examples

Similar to other programming languages, in Python, conditional situations can be handled using if command. In this tutorial, we’ve explained the following with examples: Basic Python if Command Example for Numbers Python if Command Operators Basic Python if Command Example for String Comparison Multiple Commands in If Condition Block using Indentation Python if else Command [...]

{ 0 comments }

On 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 [...]

{ 1 comment }

If you are a sysadmin, managing your Linux server’s hard disk partition is a critical task. In this tutorial, we’ll focus on how to use sfdisk command-line utility to manage your hard disk partitions. While sfdisk is similar to fdisk, there are few partition manipulation activities that are very easy to perform in sfdisk. For [...]

{ 1 comment }

Sometimes when you do a git push, you might get the following permission error message. This error typically happens when multiple users are working on a particular git repository. The following git push error indicates that it doesn’t have enough permission for adding a new object to the ./objects directory under your repository. Apart from [...]

{ 1 comment }