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.

11 lines
177 B

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