Operating System - HP-UX
1845940 Members
5049 Online
110250 Solutions
New Discussion

Which file stores the csh command history?

 
SOLVED
Go to solution
David Shao
Advisor

Which file stores the csh command history?

Which file stores the csh command history?
David Shao
3 REPLIES 3
Michael Tully
Honored Contributor
Solution

Re: Which file stores the csh command history?

Check the users .cshrc file. It may be there. It depends on how it is setup.

e.g.

export ENV="$HOME/.cshrc"

Setup the shell variables:
export HISTFILE=~/.sh_history
export HISTSIZE=500

Anyone for a Mutiny ?
David Shao
Advisor

Re: Which file stores the csh command history?

Sorry, your example of .cshrc is not suitable to csh.
David Shao
Evert Ladrak
Advisor

Re: Which file stores the csh command history?

I believe that that the csh stores the history in the ~/.history file. <-- Home directory for the user running the csh
Evert