Random One-Liners

- Posted in Uncategorized by

pmset -g assertions|grep -q '^ *UserIsActive *1$' && echo "User active" || echo "user inactive" ... more