Single easier command to search in bash history -
Single easier command to search in bash history -
on of commands wrote on daily basis on console is
# history | grep -i 'something'
that , ctr+r
utilize :).
i thinking in have
# h
or better, live search ctr+r shows results @ glance, not one. know can cycle pressing ctrl+r
again, improve if see elements i"m cycling.
so 2 questions:
1) know programme provide improve interface bash history in console?
2) best way accomplish h something
alias?
want h command. easy, add together alias in .bashrc
or .bash_profile
or .bash_aliases
(depending on config).
alias h="history | grep -i"
bash
Comments
Post a Comment