admin scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
169 B

  1. NUMBER=0
  2. for a in $(/srv/admin/scripts/rrs/useradm list_newbies)
  3. do
  4. finger $a | grep "Last login"
  5. if [ $? -eq 0 ]; then
  6. NUMBER=$[$NUMBER+1]
  7. fi
  8. done
  9. echo $NUMBER