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

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -