I don't recall to have explicitly placed anything in my
.bashrc file recently, but from yesterday I am able to see the command being displayed at the prompt before getting executed. I don't know how it got switched on and when?
$ ls *abc* ls *abc* # ---> This line is getting displayed for every command, same command as it is abc.txt temp_abc.c $ pwd pwd # ---> This line is getting displayed for every command, same command as it is /home/mtk/temp/
My bash details
$ bash --version bash --version GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc.
It's weird and doesn't seems to be of much use. But I would like to know how to turn this feature on and off? What command/setting does this?