Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #191198

Re: history issue - bug?

From Felipe Salvador <felipe.salvador@gmail.com>
Newsgroups linux.debian.user
Subject Re: history issue - bug?
Date 2018-01-16 17:50 +0100
Message-ID <v8CAW-2Wf-5@gated-at.bofh.it> (permalink)
References <v7QcW-3Nq-15@gated-at.bofh.it> <v7Ugy-6jG-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 "write the current history to the history
> file"

Maybe you could fill a bug report in order to ask if it is possible
change the history behaviour about -c and -w switches, actually it
doesn't accept this combination, you cannot use

	$history -c -w  
or
	$history -cw

You have to run separately

    $history -c
AND
    $history -w

Though I don't think this is a bug.


Regards
-- 
Felipe Salvador

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

history issue - bug? Hans <hans.ullrich@loop.de> - 2018-01-14 14:10 +0100
  Re: history issue - bug? David Wright <deblis@lionunicorn.co.uk> - 2018-01-14 15:50 +0100
    Re: history issue - bug? Hans <hans.ullrich@loop.de> - 2018-01-14 17:50 +0100
      Re: history issue - bug? bw <bwtnguy@yahoo.com> - 2018-01-14 18:20 +0100
        Re: history issue - bug? Hans <hans.ullrich@loop.de> - 2018-01-14 18:30 +0100
          Re: history issue - bug? Brian <ad44@cityscape.co.uk> - 2018-01-14 19:50 +0100
        Re: history issue - bug? rhkramer@gmail.com - 2018-01-14 19:10 +0100
          Re: history issue - bug? bw <bwtnguy@yahoo.com> - 2018-01-14 19:40 +0100
          Re: history issue - bug? David Wright <deblis@lionunicorn.co.uk> - 2018-01-14 20:50 +0100
      Re: history issue - bug? David Wright <deblis@lionunicorn.co.uk> - 2018-01-14 20:30 +0100
      Re: history issue - bug? davidson <davidson@freevolt.org> - 2018-01-16 05:40 +0100
  Re: history issue - bug? Felipe Salvador <felipe.salvador@gmail.com> - 2018-01-14 18:30 +0100
    Re: history issue - bug? Felipe Salvador <felipe.salvador@gmail.com> - 2018-01-16 17:50 +0100

csiph-web