Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo w systemie jest obecnie zalogowanych `who|wc -l`
- echo Oto ich lista
- for x in `who | cut -f1 -d" "`
- do
- if [ ` grep $x /etc/passwd | grep bash` ]
- echo $x
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement