S
Sumit Chawla
Hi all
I want to implement some functionality in rm command. But i want this
functionality to be there only when the user has inetractively issued
the command on the prompt.
For example : The added functiona should not get invoked when some
Kernel / or User script ,or Some package's ./configure or make clean
command is called.
This extra functinality should be called only when rm is issued by user
on CLI. Morover i need to hookup that rm command. i.e My function
should be called before rm perfroms the deletion.
I have tried the option of making changes to rm code itself , or making
alias entries in .bashrc file.
Is there any other way?
Please guide.
Regards
Sumit Chawla("eNetra")
Slogan:"Hail The Invention"
I want to implement some functionality in rm command. But i want this
functionality to be there only when the user has inetractively issued
the command on the prompt.
For example : The added functiona should not get invoked when some
Kernel / or User script ,or Some package's ./configure or make clean
command is called.
This extra functinality should be called only when rm is issued by user
on CLI. Morover i need to hookup that rm command. i.e My function
should be called before rm perfroms the deletion.
I have tried the option of making changes to rm code itself , or making
alias entries in .bashrc file.
Is there any other way?
Please guide.
Regards
Sumit Chawla("eNetra")
Slogan:"Hail The Invention"