-
Notifications
You must be signed in to change notification settings - Fork 0
vindulaR/History
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
#Comment added
Add below line to users ~/.bash_logout file afterthe line "if [ "$SHLVL" = 1 ];then"
history > /opt/history_$USER.txt
It will execute and put the history of commands of the user to a file when the user exit the shell.
History date format %d/%m/%y %T
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published