Changes between Version 15 and Version 16 of PuffinServer


Ignore:
Timestamp:
01/23/13 22:56:58 (4 years ago)
Author:
jim
Comment:

aliases

Legend:

Unmodified
Added
Removed
Modified
  • PuffinServer

    v15 v16  
    8282 
    8383The only changes made to the default nginx configuration was to move the key and cert it was using out of the way and symlink to the *.transitionnetwork.org ones, see ticket:466#comment:25. 
     84 
     85== Handy commands == 
     86 
     87There are some Bash aliases to quickly get around the system added by JK... 
     88 
     89For Root: 
     90{{{ 
     91alias cdtn='cd /data/disk/tn/' # cd to tn directory 
     92alias totn='su -s /bin/bash tn' # log into the tn user 
     93 
     94# show file usages 
     95alias duf='du -sk * | sort -n | perl -ne '\''($s,$f)=split(m{\t});for (qw(K M G)) {if($s<1024) {printf("%.1f",$s);print "$_\t$f"; last};$s=$s/1024}'\' 
     96}}}