OSTechNix - Open Source | Technology | Linux and Unix

Display CPU Usage From Commandline

How To Display CPU Usage From Commandline

This tutorial describes how to display CPU usage from commandline using mpstat utility. Of course, top command will show you the CPU usage and the running processes. Just like top command, mpstat also displays the activities...

Clear A Specific Command From Bash History

How To Clear A Specific Command From Bash History In Linux

As we all know, history command is used to view the list of recently-executed commands in Terminal. Not just commands, It will show you the list of recent activities in your Terminal. Every commands you...

Prevent Files And Folders From Accidental Deletion Or Modification In Linux

Prevent Files And Folders From Accidental Deletion Or Modification In Linux

Some times, I accidentally “SHIFT+DELETE” my data. Yes, I am an idiot who don’t double check what I am exactly going to delete. And, I am too dumb or lazy to backup the data. Result?...