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
> 
> 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 Sharma
> H/P 00-6-0125678120
> 
> 
> 
> 
> _________________________________________________________________
> Get faster connections -- switch to MSN Internet Access! 
> http://resourcecenter.msn.com/access/plans/default.asp
> 
>           ================================================
> To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
>header. Check archives at 
http://www.mail-archive.com/ilugd%40wpaa.org
> 



-- 
Regards,
Alok Sinha
G8.Net P Ltd
E-43, Krishna Park
New Delhi, India 110 062
http://www.g8.net



________________________________________________________________
Message sent using G8WebMail
For more information on the G8 Webmail, visit http://www.g8.net

          ================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
header. Check archives at http://www.mail-archive.com/ilugd%40wpaa.org

Reply via email to