Linux

Linux script to verify if you are on battery

This is a simple shell script to verify if you are on battery or not. It will show you the battery percentage and the time remaining. It will also show you the battery status (charging, discharging, full, unknown).

How to run any process on single core or set CPU affinity in Linux

In this article, we will discuss how to run any process on single core or set CPU affinity in Linux. We will also discuss the different ways to set CPU affinity in Linux.

Installing ZSH and Oh-my-zsh on Linux

ZSH is one of the most powerful interactive UNIX shell Zsh was developed by ‘Paul Fastad’ since 1990, and the name ‘z...

How to customization ZSH theme and install helpful plugins.

Zsh Configurations For installing zsh download and configure visit here. Download iTerm Download the latest iTerm ...

Reset root or user password of Linux (Ubuntu/Debian) OS

If you accidentally forgot your root or user password of Linux OS, you can reset it from the terminal/ safe mode. Thi...

How to enable swap in ubuntu and Debian?

What is swap space? Swap space in any operating system is the amount of disk space reserved for moving inactive page...

Enabling Hardware accelerated video decoding or GPU activity in electron app for Linux

As chrome or chromium browser does not support hardware accelerated video decoding for Linux OS. Though there is a pe...