Re: How to clear the command history in Red Hat Linux 8



Jean-David Beyer wrote:
Pandi K wrote:
How to clear the command history in Red Hat Linux 8

Wrong question. Red Hat Linux 8 does not store a command history.

Most (perhaps all) the shells do. You might read the documentation
for the shell you are using.

Well, yes. Pandi? If you have a normal account in RedHat 8, your shell is
/bin/bash. You cah check it by typing "getid myusername", or lots of other
commands.

If you examine the documentation for bash, you'll see that it is
"history -c".


.



Relevant Pages

  • Re: TRUE is 0 is FALSE
    ... would NOT mean that in that language true has the value "all work and no ... then is there anything we can do in SHELL to print the value of 1 == ... true condition prints 1 then the numeric value for a true condition is 1. ... Exactly and that's what 99% of the associated documentation says (books, ...
    (comp.unix.shell)
  • [announcement] wordish in version 1.0
    ... Wordish helps with the edition and testing of documentation on shell ... Like the Python doctests but for the shell, ... Next step is debian/ubuntu packaging, and more configuration options, ...
    (Debian-User)
  • Environment space??
    ... I've been hunting this in documentation for a long time now... ... cumulative when creating a sub shell. ... - 3 to 4K of variables generated at application initialization, ... Does each shell have a fresh environment space, ...
    (comp.unix.shell)
  • Re: calling external program tiff2pdf
    ... What is important is the fact that you passed system a LIST ... rather than a single string which by-passed the shell. ... Read the documentation for the functions you use. ... $newfile and $filename only contained fred.tiff and john.pdf. ...
    (comp.lang.perl.misc)
  • Re: Reading info documents online (via a web browser)
    ... I have typed that into google, and the first hit that I get here is ... I am looking for the CONFIG_SHELL documentation. ... The shell with which to run configure for the --recheck option. ...
    (comp.os.linux.misc)