Help for this page

Select Code to Download


  1. or download this
     
    #!/usr/bin/perl -w
    use strict;
    ...
    print LOGFILE "Session terminated for $username.\n";
    
    close LOGFILE;
    
  2. or download this
    -----------------------------------
    [20120516-222413] Session started for testuser17.
    [20120516-222419] test shellexample
    [20120516-222420] exit
    [20120516-222420] Session terminated for testuser17.