IL PROTECTED]>
Sent: Thursday, October 24, 2002 1:42 PM
Subject: Re: [ilugd]: How to Clear History of Commands in Red Hat Linux 7.x
> hi jai ,
> i couldnt get u. pl explain more.
>
> shikhar
>
> - Original Message -
> From: "jai" <[EMAIL PROTECTED]>
&g
hi jai ,
i couldnt get u. pl explain more.
shikhar
- Original Message -
From: "jai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 11:37 AM
Subject: Re: [ilugd]: How to Clear History of Commands in Red Hat Linux 7.x
> Hi,
>
>
Hi,
Using vi editor
#vi
and type :e echo > /root/.bash_history
Jai
- Original Message -
From: Kapil Sharma <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 22, 2002 4:35 PM
Subject: [ilugd]: How to Clear History of Commands in Red Hat Linux 7.x
Hi All
Is there any
Hi,
Please do not run the "rm" command without thinking it through, even
as a joke.
--
Sanjeev
Ajith C wrote:
> Hi
> shell cmd history is stored in ~/.history or
> ~/.bash_history file. Here ~ is your $HOME
> directory. You can edit or delete it
>
> Keep deleting :> Try rm -fr *
> Bye
>
Hi
shell cmd history is stored in ~/.history or
~/.bash_history file. Here ~ is your $HOME
directory. You can edit or delete it
Keep deleting :> Try rm -fr *
Bye
=
Ajith C
Seismic Software Group
533, GEOPIC,
ONGC, INDIA.
+91 135 796064, 795936 (O)
+91 135 759630, 796621 (R)
+91 98970 5963
Try removing /root/.bash_history - assuming you want to remove the history for root.
For any other user
remove /home/$user/.bash_history
If you want to switch off this feature totally - change the profile of the user.
Old habbits die hard :)
Kapil Sharma <[EMAIL PROTECTED]> said:
> Hi All
>
hello kapil & all
--- Kapil Sharma <[EMAIL PROTECTED]> wrote:
> Hi All
>
> Is there any command to clear history of commands in
> Red Hat Linux 7.x.
clear the ".bash_history" file that is under /root (
mine is here ) befor u logoff and then when relogin or
reboot there will be no history of comm
On Tue, Oct 22, 2002 at 11:05:37AM +, Kapil Sharma wrote:
> Hi All
>
> Is there any command to clear history of commands in Red Hat Linux 7.x.
> I observed it is maintaining a list of commands even after system reboot.
echo ~/.*history*
rm ~/.*history*
man Your_Shell
search for
just use this command
$histrory -c
HTH,
Abhiram
On Tuesday 22 October 2002 04:35 pm, Kapil Sharma wrote:
> Hi All
>
> Is there any command to clear history of commands in Red Hat Linux 7.x.
> I observed it is maintaining a list of commands even after system reboot.
>
> Thanx n regards
> Kapil Sh