Search Results

Search: Posts Made By: mishkamima
2,558
Posted By mishkamima
I wrote the following script that executes every...
I wrote the following script that executes every minute:

export LOGNAME PATH
shopt -s histappend
PROMPT_COMMAND='history -a'

d=`date +%y_%m_%d%H%M%S`
#RECFILE=/root/.sessionlog/${LOGNAME}_$d...
10,091
Posted By mishkamima
I wrote the following script that executes every...
I wrote the following script that executes every minute:

export LOGNAME PATH
shopt -s histappend
PROMPT_COMMAND='history -a'

d=`date +%y_%m_%d%H%M%S`
#RECFILE=/root/.sessionlog/${LOGNAME}_$d...
10,091
Posted By mishkamima
how to retrieve history
Thanks for your reply,

but the fc -l command works similarly to the history command.
once someone runs history -c, all the entries in the history file are deleted. This is why I need to write my...
2,558
Posted By mishkamima
Thanks for the reply. I have kernel 2.4. ...
Thanks for the reply.

I have kernel 2.4. Whenever I log in to the machine I see that the history file has been purged. I want to create a script that saves a version of the file before it gets...
10,091
Posted By mishkamima
Track user commands
Hi,
I have a unix server and I am concerned about the security on that server.
I would like to be able to write a script that records all the commands that were typed at the command prompt before...
2,558
Posted By mishkamima
Create a script that executes when a user attempts to delete history logs
Hi,
I have a linux redhat 9 server and I am concerned about the security on that server.
I would like to be able to write a script that records all the commands that were typed at the command...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 10:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy