How are your trying to view .sh_history? It's not a regular file and does like being catted. Or do you mean you can't recall commands - in which case do you have set -o vi in your .profile? Is this ksh? Post back with more info.
Sorry, don't know the tsch shell, but a man on it should give you details of it's history capabilities. Have you tried Mike's suggestion, possibly export $HISTFILE=/.history in the .tcshrc (or whatever file is used on starting a shell). There is man information here:
i think thts not correct because i can see the history from other accounts ..
n wht u r talking is... when we want to save the commands even after we close the shell thn savehist no. of commands get saved in the .history file ....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.