10 months ago

Check your battery status and date in your mac

While I create www.loopcv.pro It happens a lot to travel and work from coffee shops. Two commands that I use as aliases are:

1) alias now='cal; date +"%T"; date +"%d-%m-%Y"' which prints the calendar, the date and the time

2) alias bat='pmset -g batt' which prints the battery status and the remaining time!


Do you have any comment on this tricks? then let the author know about that. comment here