The way to Get Mac Battery Stage from Command Line

The way to Get Mac Battery Stage from Command Line
[ad_1]

I am a large fan of getting as a lot knowledge as I will get throughout the command line. I could not cross with out realizing which git department I am on, as an example. Every other vital piece of knowledge I really like having is my present battery share.

To get the present battery degree from command line, you’ll run:

pmset -g batt | grep -Eo "d+%"

Since I am getting misplaced in command line for hours at a time, having the share provide saves me the exertions of transferring my eyes outdoor of shell. What knowledge do you favor having for your command line?


[ad_2]
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Back To Top
0
Would love your thoughts, please comment.x
()
x