Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
history file for each login session
Name: CarlosP Date: September 14, 2004 at 11:43:09 Pacific OS: aix 5 CPU/Ram: 9999
Comment:
I have read in the "Learning the Korn Shell" book about history file for each login session. In the book it said to put "HISTFILE=~/.hist$$" in your .profile to create a history session for users that run more than one login session at a time.
it set the HISTFILE in the env variables, but does not create the .hist$$ under the user /home/user.
Name: nails Date: September 14, 2004 at 17:10:08 Pacific
Reply:
Carlos:
Have you tried exporting the HISTFILE variable:
HISTFILE=~/.hist$$ export HISTFILE
Regards,
Nails
0
Response Number 2
Name: CasperTdot Date: September 15, 2004 at 06:22:02 Pacific
Reply:
Yes I did. Anymore sugguestios....
0
Response Number 3
Name: aleemsubhedar Date: September 16, 2004 at 14:38:28 Pacific
Reply:
hello Carlos,
Just worth checking.. Please check if you are getting .hist<somenumber> ??
try a "ls -al *hist*" under home directory.
Rgds, Aleem
0
Response Number 4
Name: CasperTdot Date: September 17, 2004 at 06:10:41 Pacific
Reply:
Here is the problem, the .hist<somenumber> does not get created on the first shell session. When i open serveral shells with the same user id it works the ways it should.
Summary: Hi everyone, I'm a Unix newb taking some classes at my local community college, I have an assignment Im stuck on and could use any suggestions anyone might be able to come up with. Ok heres the pro...
Summary: It's been a while since I wrote a script, so I thought I would ask for help. Here is my dilemma. I want to write a script that will do the following: 1.) Read in a text file (in this file, on each ...
Summary: HI there, I'm now have the situation like this: I have a file called disk.hog that stores login names in the 1st field n usage limit in the 2nd. I need to use a script file (find_hog) to generate a co...