mirror of https://github.com/tildetown/newsletter
updated allsuers script
This commit is contained in:
parent
9626a6eb23
commit
89480f0268
|
@ -1,3 +1,8 @@
|
|||
#!/usr/local/bin/fish
|
||||
#!/usr/bin/fish
|
||||
# with thanks to nossidge
|
||||
cat /etc/passwd | grep "/home" | grep -v "/bin/false" | cut -d: -f1 | sort
|
||||
cat /etc/passwd \
|
||||
| grep "/home" \
|
||||
| grep -v "/bin/false" \
|
||||
| cut -d: -f1 \
|
||||
| sort \
|
||||
| awk '{printf $1"@tilde.town, "}'
|
||||
|
|
Loading…
Reference in New Issue