updated allsuers script

This commit is contained in:
jumblesale 2017-04-15 15:18:40 +01:00
parent 9626a6eb23
commit 89480f0268
1 changed files with 7 additions and 2 deletions

View File

@ -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, "}'