Linux

Resolving SWAP space utilization alerts

Sometimes when working on Linux machine you will get a warning that your machine’s SWAP space utilization is full or more than the set threshold level. This type of warning requires to identify the process and take necessary actions. In this article I am going to explain how to do exactly that, This script I […]

Setting up traps in Shell Script

Imagine never again scrambling to manually clean up after an aborted script. The trap command in Linux grants you ultimate control, allowing you to define custom actions that execute on specific signals like Ctrl+C or script termination. No more unfinished tasks, no more panic – just zen-like peace of mind knowing your scripts will always leave things tidy. Let’s unlock the power […]

Automating Task with Cron and Anacron

As a system administrator, it is common to do the same task regularly or periodically. Some of these tasks might be done without user intervention. Creating backup, cleaning temporary files, importing files for apps, or exporting files from the database to different destinations are some of tasks which can be done without a human user […]

Scheduling Jobs with Batch & At command in Linux

Batch & at both of these commands can be used for scheduling a one-time job. Depending on CPU load or specific time you can choose either of them. Lets, deep dive into these commands. Batch commands for Scheduling If you have to run scheduled job/s when the system is less busy, batch command is the […]

Quick Intro to Operating System

An Operating System is the software which manages physical machine resource, interfaces between hardware and the application on the computer. Usually after startup, there are several computer programs running at the same time, OS exposes several APIs to connect those program with machine hardware to run application smoothly. To understand simply, the flow from USERs […]

Screenshot shortcut in CentOS 7

Creating documents guide to point out specifics on a note, I have to take screenshot daily multiple times on my PC. Other than using Print Screen button and then cropping specific region, CentOS 7 has some very good options for taking screenshots. In this article, I will look into only the default keyboard shortcuts. PrtSc – Save […]

systemd-analyze : Analyzing Booting Time delays

In the beginning every system runs smoothly and boots fast but overtime many experience that PC or server taking too much time to boot. Good for us linux has a handy tool to analyse. In this article, I will talk about some of the useful feature I found for analyzing the boot time process of […]

Using SFTP to copy Files

SFTP stands for Secure File Transfer Program. From the man page of SFTP we get to know that this program performs all operations over an encrypted ssh transport. SFTP connects and logs into the specified host, then enters an interactive command mode. SFTP is mainly used for sending files back and forth from host to remote server. […]

What to Choose : Fedora, Red Hat or CentOS

When installing newer version of Linux in workstation, it always creates an confusion what to install. Is it CentOS or Fedora or Redhat! Knowing the difference might help to choose the correct version. Here is a simple image to explain.   There are 3 distros in Red hat eco-system : CentOS, Fedora and Red Hat […]