history position out of range

2010-01-15 Thread Sergio Monteiro Basto
Hi, How I delete history from entry 2 to entry 22 $ history -d 2:22 bash: history: 2:22: history position out of range man history say: history -d offset where is define, the sintax of the offset? Thanks in advance, -- Sérgio M. B. smime.p7s Description: S/MIME cryptographic signature

Re: history position out of range

2010-01-15 Thread DennisW
On Jan 14, 2:11 pm, Sergio Monteiro Basto wrote: > Hi, > How I delete history from entry 2 to entry 22 > > $ history -d 2:22 > bash: history: 2:22: history position out of range > > man history say: > > history -d offset > > where is define, the sintax of the offset? > > Thanks in advance, > -- >