Posted By

sudarkoff on 01/05/07


mac cli power

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


See if the power is connected on MacBook

 / Published in: Bash

  1. ioreg -l | grep ExternalConnected | cut -d'=' -f 2

Report this snippet  

You need to login to post a comment.