Skip to content

Instantly share code, notes, and snippets.

@zealws
Created April 13, 2015 22:14
Show Gist options
  • Save zealws/d875b125a1318bef5db8 to your computer and use it in GitHub Desktop.
Save zealws/d875b125a1318bef5db8 to your computer and use it in GitHub Desktop.
netctl-status
#!/usr/bin/env bash
profiles=$(netctl list | grep "^*" | awk '{print $2}')
for x in ${profiles} ; do
netctl status $x
echo ; echo
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment