echo here is a list of the users who have not logged in for a montholduser=who | grep | -u, -q +30if $olduserthen echo these users havent been logged in for thirty 30 dayselse echo user is active;;
I am trying to get a list of all users who haven't logged in 30 days but code isn't working
grep;who