0
1
Is it possible to configure your shell(bash) so that it times all the commands except the common ones(like ls or cd)?
so when I type some command like
command arg1 arg2
I would want my terminal to convert it into behind the scene
time command arg1 arg2
1
Maybe this will be of use to you: http://unix.stackexchange.com/questions/12059/forcing-an-added-alias-to-every-command
– Rain – 2013-03-30T02:17:10.873Define common. I use
ls
,cd
,rm
,mv
,pwd
,echo
,mkdir
,rmdir
,cp
,more
,less
,ps
,diff
etc etc every day. It would probably be better to configure your shell totime
the few specific commands you actually want to time or all commands as described in the link that @Rain posted. – terdon – 2013-03-30T02:18:28.020