Just for the record: the problem is here:
Quote:
Originally Posted by b_manu78
perl -le 'print scalar localtime($lastlog1);'
|
You try to expand variable ($lastlog1) inside single quotes. To
prevent special characters like "$" from being interpreted by the shell is exactly what single quotes have been invented for.
The line will probably work writing it that way:
Code:
perl -le 'print scalar localtime('"$lastlog1"');'
I hope this helps.
bakunin