Re: How to clear history of commands in unix
From: Laurenz Albe (albe_at_culturallNOSPAM.com)
Date: 09/09/04
- Previous message: Bill Marcum: "Re: Which program is running on a specific port (1830)?"
- In reply to: astrorail: "Re: How to clear history of commands in unix"
- Next in thread: Stephane CHAZELAS: "Re: How to clear history of commands in unix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 9 Sep 2004 07:39:50 +0000 (UTC)
astrorail <srinee@gmail.com> wrote:
> exec "$0" returns with a message
> -tcsh: Command not found.
grep $LOGNAME /etc/passwd|awk -F: '{ print $7 }'
This will tell you how to invoke your shell.
> my shell is tcsh.
> i restarted the shell but the h command still shows the history
> commands. May be I am not deleting the proper history file.
Look at the man page of your shell to find out about command history.
Yours,
Laurenz Albe
- Previous message: Bill Marcum: "Re: Which program is running on a specific port (1830)?"
- In reply to: astrorail: "Re: How to clear history of commands in unix"
- Next in thread: Stephane CHAZELAS: "Re: How to clear history of commands in unix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|