Re: history issue - bug?

2018-01-16 Thread Felipe Salvador
On Sun, Jan 14, 2018 at 06:24:27PM +0100, Felipe Salvador wrote: > On Sun, Jan 14, 2018 at 02:07:01PM +0100, Hans wrote: > > Hi folks, > > > > try this: > > > > 1. login as normal user > > > > 2. become root with "su -" > > > > 3. delete history with "history -c" > > Then run "history -w" to

Re: history issue - bug?

2018-01-15 Thread davidson
On Sun, 14 Jan 2018, Hans wrote: Am Sonntag, 14. Januar 2018, 08:41:21 CET schrieb David Wright: Hi David, thanks for enlightening me. I always though, that "history -c" would clear all the history and its files as the help file says: -cclear the history list by deleting all of the

Re: history issue - bug?

2018-01-14 Thread David Wright
On Sun 14 Jan 2018 at 12:59:55 (-0500), rhkra...@gmail.com wrote: > On Sunday, January 14, 2018 12:14:47 PM bw wrote: > > On Sun, 14 Jan 2018, Hans wrote: > > > Am Sonntag, 14. Januar 2018, 08:41:21 CET schrieb David Wright: > > > Hi David, > > > > > > thanks for enlightening me. I always though,

Re: history issue - bug?

2018-01-14 Thread David Wright
On Sun 14 Jan 2018 at 17:46:51 (+0100), Hans wrote: > Am Sonntag, 14. Januar 2018, 08:41:21 CET schrieb David Wright: > Hi David, > > thanks for enlightening me. I always though, that "history -c" would clear > all > the history and its files as the help file says: > > -cclear the

Re: history issue - bug?

2018-01-14 Thread Brian
On Sun 14 Jan 2018 at 18:25:09 +0100, Hans wrote: > Am Sonntag, 14. Januar 2018, 12:14:47 CET schrieb bw: > > On Sun, 14 Jan 2018, Hans wrote: > > > Am Sonntag, 14. Januar 2018, 08:41:21 CET schrieb David Wright: > > > Hi David, > > > > > > thanks for enlightening me. I always though, that

Re: history issue - bug?

2018-01-14 Thread rhkramer
On Sunday, January 14, 2018 12:14:47 PM bw wrote: > On Sun, 14 Jan 2018, Hans wrote: > > Am Sonntag, 14. Januar 2018, 08:41:21 CET schrieb David Wright: > > Hi David, > > > > thanks for enlightening me. I always though, that "history -c" would > > clear all the history and its files as the help

Re: history issue - bug?

2018-01-14 Thread Hans
Am Sonntag, 14. Januar 2018, 12:14:47 CET schrieb bw: > On Sun, 14 Jan 2018, Hans wrote: > > Am Sonntag, 14. Januar 2018, 08:41:21 CET schrieb David Wright: > > Hi David, > > > > thanks for enlightening me. I always though, that "history -c" would clear > > all the history and its files as the

Re: history issue - bug?

2018-01-14 Thread Felipe Salvador
On Sun, Jan 14, 2018 at 02:07:01PM +0100, Hans wrote: > Hi folks, > > try this: > > 1. login as normal user > > 2. become root with "su -" > > 3. delete history with "history -c" Then run "history -w" to "write the current history to the history file" > 4. Check history, history is gone >

Re: history issue - bug?

2018-01-14 Thread Hans
Am Sonntag, 14. Januar 2018, 08:41:21 CET schrieb David Wright: Hi David, thanks for enlightening me. I always though, that "history -c" would clear all the history and its files as the help file says: -cclear the history list by deleting all of the entries So IMO this should delete

Re: history issue - bug?

2018-01-14 Thread David Wright
On Sun 14 Jan 2018 at 14:07:01 (+0100), Hans wrote: > Hi folks, > > try this: > > 1. login as normal user > > 2. become root with "su -" … which reads ~/.bash_history into what I call the command recall buffer. > 3. delete history with "history -c" … which deletes all the entries in the