Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- who | grep .188\\.146\\.163 | grep -v jakubo | cut -f1 -d " "| sort | while read login
- do
- grep -a ^$login: /etc/passwd | cut -f5 -d:
- grep -a ^$login: /etc/passwd | cut -f5 -d: |
- while read login
- do
- ps | wc -l
- done
- done | uniq
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement