`sudo -E` is great when doing APT installations incl. adding new repos behind a firewall - Otherwise APT will mess with your environment configuration

#bashmagic #bash

#mastoadmin
How to get all users from your instance in order to send them a message

```
❯ curl -H "Authorization: Bearer <Auth Key>" https://indiehackers.social/api/v1/admin/accounts | jq -r ".[].username" | awk '{print}' ORS=',@' | rev | cut -c3- | rev

```

#bash #climagic #bashmagic