Drop a Git Stash

Satish Kumar
Updated on 11-Jul-2023 16:30:06

4K+ Views

Introduction Have you ever found yourself in a situation where you have made progress on a specific branch and need to switch over to another branch immediately? If the answer is yes, this is where Git Stash comes into play. Git Stash is a powerful feature that allows developers to temporarily store changes that they have made, without needing to commit them. It's perfect for situations where developers need to change branches or work on other tasks, but don't want to lose their progress. Importantly, it enables users to return later and pick up right where they left off. Definition ... Read More

Download and Install RHEL 9 for Free

Satish Kumar
Updated on 11-Jul-2023 16:27:28

5K+ Views

Introduction Red Hat Enterprise Linux (RHEL) is a popular distribution of the Linux operating system designed for enterprise use. It is widely used in data centers, cloud computing environments, and mission-critical applications due to its robustness, reliability, and scalability. RHEL 9, the latest version released in May 2021, includes several new features and enhancements that make it an attractive option for businesses seeking a secure and stable operating system. Some of the key features of RHEL 9 include improved container capabilities with Podman and Buildah, enhanced security with OpenSCAP integration, better performance with XFS file system improvements, simplified application ... Read More

Download and Install PostgreSQL on Windows

Satish Kumar
Updated on 11-Jul-2023 16:25:34

936 Views

Introduction PostgreSQL is a powerful, open-source object-relational database system that is widely used for enterprise-level applications. It boasts extensive features and capabilities, including support for advanced data types, scalability, reliability, and security. With PostgreSQL, users can store vast amounts of structured data with ease. PostgreSQL is one of the most popular database management systems available today. It was first released in 1989 as an open-source project and has since become the go-to choice for many organizations worldwide due to its robustness, flexibility, and scalability. Being an open-source project means that it is free to use and can be modified by ... Read More

Convert a Binary String by Flipping Prefixes

Prabhdeep Singh
Updated on 11-Jul-2023 16:24:09

286 Views

Prefixes are the substrings that start from the zeroth index and could be of any size from 1 to the length of the given string. We are given two binary string which means both strings contain only two different types of characters and we have to make the first string equal to the second one by flipping the prefix a minimum number of times. Also, it is given that the length of both of the given strings is equal. Input 1 string str1 = "01100" string str2 = "10101" Output 3 Explanation Only operation that we can perform ... Read More

Downgrade RHEL/CentOS to Previous Minor Release

Satish Kumar
Updated on 11-Jul-2023 16:19:48

290 Views

Introduction In the world of enterprise-level Linux operating systems, Red Hat Enterprise Linux (RHEL) and its derivative, CentOS, are two of the most widely used distributions. They offer a stable and robust platform that is trusted by many organizations worldwide. However, sometimes it may become necessary to downgrade to a previous minor release due to compatibility issues or other reasons. In this article, we will show you how to downgrade RHELCentOS to a previous minor release safely. Preparing for Downgrade Backing up data and configurations Before beginning the process of downgrading your RHEL/CentOS system, it is essential to ... Read More

Security Auditing of Linux System Using Lynis Tool

Satish Kumar
Updated on 11-Jul-2023 16:18:46

276 Views

Introduction In today's world, where cyber threats and attacks have become more sophisticated and frequent, it is imperative to secure computer systems against malicious activities. A security audit is a systematic evaluation of the security of a computer system or network, which involves identifying potential vulnerabilities and addressing them before they are exploited by attackers. In this article, we will discuss how to perform a security audit on a Linux system using the Lynis tool. Definition of Security Auditing Security auditing refers to the process of evaluating the security posture of a computer system or network by examining its configuration ... Read More

Canary Deployments on Kubernetes

Satish Kumar
Updated on 11-Jul-2023 16:15:51

264 Views

Introduction Deploying applications to production without proper testing or validation can lead to disastrous consequences. In today's fast-paced software development environment, it is imperative to have a reliable and efficient way of releasing new features and updates, while minimizing the risk of downtime or failure. This is where Canary Deployments come into play. Canary Deployment is a technique used in software deployment for rolling out new versions of an application in small increments, rather than deploying the whole update at once. The term "canary" refers to using a small group of users as test subjects for new releases before rolling ... Read More

Disconnect Inactive or Idle SSH Connections in Linux

Satish Kumar
Updated on 11-Jul-2023 16:14:56

19K+ Views

Introduction Secure Shell or SSH is a protocol that enables secure communication between two systems. In Linux, SSH is widely used to remotely access and manage servers. The tool establishes a secure connection between the client and server, encrypting the information being transmitted so that it can’t be intercepted by unauthorized entities. In Linux, SSH connections are created when a user logs in to a remote machine via the command-line interface. The user can execute commands on the remote host as if they were physically present on that machine. This way, system administrators and network engineers can manage multiple machines ... Read More

Disable Suspend and Hibernation Modes in Linux

Satish Kumar
Updated on 11-Jul-2023 16:14:08

12K+ Views

Introduction Linux is a popular operating system used by millions of people around the world. It offers a wide range of features and tools that are highly customizable, making it an excellent choice for power users who want to optimize their system performance. One of the most commonly used features in Linux is suspend and hibernation modes. Suspend mode is a power-saving feature that allows you to put your computer into a low-power state without shutting it down completely. In this mode, your computer will continue to consume some power, but at a much lower rate than when it ... Read More

Disable SSH Root Login in Linux

Satish Kumar
Updated on 11-Jul-2023 16:13:20

963 Views

Introduction In Linux systems, SSH (Secure Shell) is a common protocol used to connect and manage remote servers. It allows users to securely access and control their servers from anywhere in the world. The use of SSH is critical for system administrators and developers as it enables them to perform various tasks such as editing configuration files, transferring files, and managing services remotely. However, allowing root login via SSH creates significant security risks that can lead to unauthorized access and malicious attacks on your system. By disabling this feature, you can significantly reduce the chances of your Linux server ... Read More

Advertisements