Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux last login

lastlog -u $USER | perl -lane 'END{print "Last login: @F[3..6] $F[8] from $F[2]"}'
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #linux #login
ADD COMMENT
Topic
Name
7+4 =