comparison .bash_aliases @ 108:7da995f48c91

Hibernation aliases (mostly for the Mac laptop)
author Steve Huston <huston@astro.princeton.edu>
date Wed, 09 Apr 2014 10:16:43 -0400
parents b955aa106b9a
children 56c2ff1a8427
comparison
equal deleted inserted replaced
107:b955aa106b9a 108:7da995f48c91
143 done 143 done
144 echo -ne "now:\t" 144 echo -ne "now:\t"
145 date -u +%Y%m%d%H%M%S 145 date -u +%Y%m%d%H%M%S
146 } 146 }
147 147
148 # Some hibernation tricks on the Mac
149 alias hibernate="sudo pmset -a hibernatemode 25 ; pmset -g live | grep hibernatemode"
150 alias onlysleep="sudo pmset -a hibernatemode 0 ; pmset -g live | grep hibernatemode"
151 alias safesleep="sudo pmset -a hibernatemode 3 ; pmset -g live | grep hibernatemode"
152 alias sleepmode="pmset -g live | grep hibernatemode"
153
148 # Other 154 # Other
149 alias condor_check="ls -lat /u/condor/hosts/*/log/MasterLog" 155 alias condor_check="ls -lat /u/condor/hosts/*/log/MasterLog"
150 alias slurp="wget -r -l1 -np -nd -A.mp3" 156 alias slurp="wget -r -l1 -np -nd -A.mp3"
151 157
152 # Other Functions 158 # Other Functions