D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] grep searches

 


On 05/08/12 14:13:26, paul sutton wrote:
history | grep -e dd

I get

 1079  sudo sudo add-apt-repository
ppa:danielrichter2007/grub-customizer
 1080  sudo add-apt-repository ppa:danielrichter2007/grub-customizer
 1803  sudo dd bs=1M if=./2012-07-15-wheezy-raspbian.-15- of=/dev/sdc
 1805  sudo dd bs=1M if=./2012-07-15-wheezy-raspbian.img of=/dev/sdc

if I wanted to not include add and just instances of dd how do I do
this,  I tried

history|grep -e " dd "

--
'ooroo

stinga...(:)-)
---------------------------------------------------
Email: stinga@xxxxxxxxxxxxx      o
You need only two tools.        o /////
A hammer and duct tape. If it    /@   `\  /) ~
doesn't move and it should,     >  (O)  X<  ~  Fish!!
use the hammer. If it moves and  `\___/'  \) ~
shouldn't, use the tape.           \\\
---------------------------------------------------


--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq