Category: Linux Commands

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

Monitor WiFi Connection

How To Monitor WiFi Connection From Command Line In Linux

I bought a new Netgear wireless router last week. I was wondering if there is any utility to monitor wifi connection. After a bit of search on Google, I found a feasible solution that worked...

Use Pushd, Popd And Dirs Commands For Faster CLI Navigation In Linux

How To Use Pushd, Popd And Dirs Commands For Faster CLI Navigation

We all know that we use cd command to move from one directory to another. To return back to the previous directory, we use “cd ..” or “cd <location_of_previous_directory>” commands. This is how I mostly...

Find Dependencies For A Particular Package

How To Find Dependencies For A Particular Package In CentOS

This tutorial explains how to find which package requires a certain dependency in CentOS, RHEL, Fedora and scientific Linux. You might ask why we need to find the dependencies. There could be many reasons. If...