Guest User

Untitled

a guest
Sep 18th, 2019
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. who | grep .188\\.146\\.163 | grep -v jakubo | cut -f1 -d " "| sort | while read login
  4. do
  5.     grep -a ^$login:  /etc/passwd | cut -f5 -d:
  6.     grep -a ^$login:  /etc/passwd | cut -f5 -d: |
  7.    
  8. while read login
  9. do
  10.     ps | wc -l
  11. done
  12. done | uniq
RAW Paste Data