LazySenpai Nov 13th, 2019 (edited) 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- echo W systemie jest zalogowanych aktualnie `who | wc -l` aktualnie uzytkownikow
- for x in `who | cut -f 1 -d" "`; do
- if [ "` grep $x /etc/passwd | grep bash`" != "" ]; then
- list="$list $x,"
- echo $list
RAW Paste Data