[Ilugc] Echoing the current command

  • From: karthikgrsoft@xxxxxxxxx (G.R. Karthik)
  • Date: Tue, 10 Sep 2013 12:22:21 +0530

On Tue, Sep 10, 2013 at 11:35 AM, Balasubramaniam Natarajan <
bala150985 at gmail.com> wrote:

Hi

How do I echo the current command which I typed in bash ?  I know that our
current command goes and sit's in the value of "$0"  However when I try
putting this inside .bashrc it does not give me correct results.


  Check the below Url,

http://superuser.com/questions/175799/does-bash-have-a-hook-that-is-run-before-executing-a-command

-- 
Thanks & Regards,
Karthik.G.R.

Other related posts: