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

  • 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: How to clear the command history in Red Hat Linux 8
    ... If you have a normal account in RedHat 8, your shell is /bin/bash. ... If you examine the documentation for bash, ... If you *really* want security it takes a good bit of effort, and you need to be root to use secure memory and put the file in a ramdisk. ... should do it, the actual file allocation will remain until the process terminates, so history works fine, when the file is final closed it will be overwritten by zeros. ...
    (comp.os.linux.setup)
  • Which versions of which software?
    ... TVFS") were made on how to "swap in" these various versions as needed. ... How does one determine the versions (of autoconf, the shell ... Other than documentation and other than build error messages which ...
    (comp.os.os2.programmer.porting)
  • Re: FreeBSD 4.9-RC #1 nice-command not correct
    ... The nice command is built-in to your shell, ... documentation for proper command syntax. ...
    (freebsd-stable)