Mac OS X

Open up Google chrome from command line

open -a "Google Chrome" report.html

List members of a group

#!/usr/bin/env bash
set -e
# members
# List the members of a group on Mac
# Usage: members mygroupname
members () { dscl . -list /Users | while read user; do printf "$user "; dsmemberutil checkmembership -U "$user" -G "$*"; done | grep "is a member" | cut -d " " -f 1; };