Ask a Question related to Linux / Unix Administration, Design and Development.
-
Evgeniy Petrov #1
remove command history
If I press button "up" I can see all comand which I write before.
How I can clear this command history under suse linux 8.0?
Evgeniy Petrov Guest
-
Regex command to remove deleted emails
I'm trying to use the following to remove deleted emails (deleted emails have file names that end in ",ST"): rm -f $(find /home/vmail Maildir |... -
How To activate command line history in debugger?
Hi all, does anybody know how to enable the command line history in the debugger? Under Suse 8.2 is it already active. Not under Knoppix... -
Windows Explorer Right Click Command (+ Custom Command Script)
Ok got a tricky question about custom scripts, I would like to add a Windows Explorer Right Click Command - that allows me to select an image/s... -
How to destroy (remove from memory) created with new command members
I create (for example) 50 bitmap members with new command are they removed from memory or do i need do do it myself ??? if YES then - how to... -
how to remove a programe from the add/remove list manually
i am using winXP home, i just remove a programe from the start menu(start>>all programes>>name of the programe>>uninstall),but the programe name is... -
joe durusau #2
Re: remove command history
Evgeniy Petrov wrote:
What shell. You are looking at a shell feature, not an OS feature.> If I press button "up" I can see all comand which I write before.
> How I can clear this command history under suse linux 8.0?
Speaking only for myself,
Joe Durusau
joe durusau Guest
-
Chris F.A. Johnson #3
Re: remove command history
On 2004-06-10, Evgeniy Petrov wrote:
Please don't multi-post.> If I press button "up" I can see all comand which I write before.
> How I can clear this command history under suse linux 8.0?
This has been answered in the Linux group you posted to.
--
Chris F.A. Johnson [url]http://cfaj.freeshell.org/shell[/url]
================================================== =================
My code (if any) in this post is copyright 2004, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
Chris F.A. Johnson Guest
-
Evgeniy Petrov #4
Re: remove command history
GNU bash, version 2.05.0(1)-release (i386-suse-linux)>> > If I press button "up" I can see all comand which I write before.
> > How I can clear this command history under suse linux 8.0?
> What shell. You are looking at a shell feature, not an OS feature.
Copyright 2000 Free Software Foundation, Inc.
Evgeniy Petrov Guest
-
Evgeniy Petrov #5
Re: remove command history
> > > If I press button "up" I can see all comand which I write before.
No. I have a problem with another administrator. He is learning unix. For>> >> > > How I can clear this command history under suse linux 8.0?
> > What shell. You are looking at a shell feature, not an OS feature.
> Since he's on Linux, I'd guess bash. That's all they seem to know about
> most of the time.
>
> Evgeniy, try reading the bash man page. Look for paragraphs on command
> history. Also notice if you have a ~/.bash_history file. That contains
> commands saved from old sessions.
>
> Trying to cover your tracks???
this he repeat all my comands step by step. So I think sytem will crach
soon. I can't remove his right becouse there are a lot of political
problems.
I have two files in /home/user/ directory .I guess file .bash_history is
very old for this.
But if I clear file .kshrc_history this file is restoring automatically. So
right now I havn't idea how clear command history.
11250 Jun 11 14:04 .kshrc_history
Jul 23 2003 .bash_history
Evgeniy Petrov Guest
-
Dave Hinz #6
Re: remove command history
On Fri, 11 Jun 2004 15:24:44 +0400, Evgeniy Petrov <evg@mail.wurth.ru> wrote:
Brute force and ugly, but could you symbolically link it to /dev/null?>
> I have two files in /home/user/ directory .I guess file .bash_history is
> very old for this.
> But if I clear file .kshrc_history this file is restoring automatically. So
> right now I havn't idea how clear command history.
> 11250 Jun 11 14:04 .kshrc_history
Dave Hinz Guest
-
Chris F.A. Johnson #7
Re: remove command history
On 2004-06-11, Evgeniy Petrov wrote:
In your .bashrc and/or .bash_profile file:>>>>>> > If I press button "up" I can see all comand which I write before.
>> > How I can clear this command history under suse linux 8.0?
>> What shell. You are looking at a shell feature, not an OS feature.
> GNU bash, version 2.05.0(1)-release (i386-suse-linux)
unset HISTFILE
Your history will then not be saved; you will only have command
history from the current session.
--
Chris F.A. Johnson [url]http://cfaj.freeshell.org/shell[/url]
================================================== =================
My code (if any) in this post is copyright 2004, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
Chris F.A. Johnson Guest



Reply With Quote

