View Single Post
  #1   (View Single Post)  
Old 15th August 2008
uptonm uptonm is offline
Port Guard
 
Join Date: Jun 2008
Posts: 14
Default working with .profile and history

2 questions,

is it a bad idea to chflags schg on my root .profile file?

I'd like to also set chflags sappnd on the history file. If someone can't point me to a helpful resource on the net (perhaps there's a manpage I missed) for setting up the history so that it logs to a file, it would be great.

I set up HISTFILE=$HOME/.history; export HISTFILE
in /root/.profile

then i did chflags sappnd to the .history file but it doesn't seem to have any information in it when i try to read the file (as root.)

if there's a good resource on it i'd like to know.
Reply With Quote