Category: Linux Commands

Reptyr - Move A Running Process From One Terminal To Another

Reptyr – Move A Running Process From One Terminal To Another Without Closing It

Let us say, you are running a process in a remote server via a SSH session from your local system. You didn’t know that the remote job would take long time to complete. You just want...

Find Out The Connected State Of A Network Cable In Linux

How To Find Out The Connected State Of A Network Cable In Linux

In this brief tutorial, we are going to see how to find out whether the network cable is connected or not with the Network interface card. You can directly go and check the physical network...

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. Most of us use top command to show the CPU usage and the running processes. Just like top command, mpstat also displays the...

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?...

Transfer Large Files Over Network In Linux

How To Quickly Transfer Large Files Over Network In Linux And Unix

Today, I had to reinstall my Ubuntu server that I use often to test different applications. My Ubuntu server has over 200 GB data, and I don’t want to lose it. I can transfer those...