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.

10 lines
165 B

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