I am trying to write a simple perl script that goes through a host file and gives the last login and time for every system in the hosts file I feel I am close but this is blowing up screen noise any help would be appreciated - thx
#!/usr/bin/perl -w
open (IN, "<hosts.txt" ) || die "Cant open hosts.txt";
while(<IN>) {
chomp;
system("finger$_ $_");
}