Learn Difference Between $$ and $BASHPID in Bash
Recently I was working on a shell script and I saw a significant difference in how bash special variable $ and BASHPID behaves. Every process running in Linux will be …
Linux Howto’s for System Administrations
Auto Added by WPeMatico
Recently I was working on a shell script and I saw a significant difference in how bash special variable $ and BASHPID behaves. Every process running in Linux will be …
You can easily find the list of recently executed commands in Linux using history command, right? Yes. But how do you know the time at which the command was executed? …
There are so many applications available to extract various types of archive files. Remembering all options and parameters of each archive tool would be difficult for you. No worries! Today, …
I’ve added this “export HISTCONTROL=ignoredups” line in ~/.bashrc file to avoid duplicate entries in Bash history in my Linux desktop. Did you notice that I prefixed the HISTCONTROL variable with …
In this brief guide, we will learn how to avoid duplicate entries in Bash history in Linux. When working from commandline, you might have run some Linux commands multiple times. …
This brief guide explains how to rename files without typing full name twice in Linux operating systems. As we all already know, we use mv command to rename files in …
by sk · Published April 8, 2020 · Updated April 8, 2020 The other day we learned how to cd and ls in one command. Today we will see yet …