Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do you turn off .sh_history

Status
Not open for further replies.

freeves

Technical User
Feb 18, 2002
5
GB
If I don't want .sh_history created for a specific user, how do I go about disabling it?
Thanks
 
Not sure if this would work, but you could try setting:

HISTFILE='' in .profile.

HTH.
 
.....on reflection, probably not. Could you use the standard Bourne shell which doesn't support the history feature?
 
Thanks Ken. The HISTFILE="" in the .profile did work.
 
Excellent - thanks for letting me know as I don't have an AIX box to play with.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top