Command History

From SusoSight
Jump to: navigation, search

command history is a program to show the commands that were run on the current day by one or more users specified on the command line.

Download

Example

[root@antonio /root]# /usr/sbin/command_history webmaster joebob
Today's history for user webmaster
Number of logins: 3
----------------------------------------
exit
w
lynx
exit
cd www
ls -1
vi index.html
logout
pine 

Today's history for user joebob
Number of logins: 1
----------------------------------------
exit
mail
pico
mail
pico

[root@antonio /root]#

Other files