]> sipb.mit.edu Git - wiki.git/commitdiff
Use two tildes instead of one
authorEvan Broder <broder@mit.edu>
Sun, 11 Jan 2009 05:48:50 +0000 (00:48 -0500)
committerTrac <sipb-www@mit.edu>
Sun, 1 Feb 2009 07:25:22 +0000 (02:25 -0500)
doc/AFSAndYou

index 0cd7e65e3d3ff6265d060a90114e390c2026e38a..4ba48fabd0a9d319a53f7b7302b7793173cdf922 100644 (file)
@@ -43,7 +43,7 @@ Within this folder there are 4 special subdirectories you want to care about
 
 === From Athena ===
 
-On Athena you can access a locker either as its full AFS path, if you know it ( e.g. /afs/athena.mit.edu/course/6/6.01 ) or under {{{/mit}}} if it is "attached." Yet a third way is to use tilde expansion and simply {{{ cd ~<locker> }}} (e.g. {{{cd ~6.01}}}) which will take you to the full path. Often, however, you want to attach lockers because it is easier to refer to them outside of the shell (in a script, for example) and software is set-up to run with a path under {{{/mit}}}. There are a few ways to attach a locker: 
+On Athena you can access a locker either as its full AFS path, if you know it ( e.g. /afs/athena.mit.edu/course/6/6.01 ) or under {{{/mit}}} if it is "attached." Yet a third way is to use tilde expansion and simply {{{ cd ~~<locker> }}} (e.g. {{{cd ~~6.01}}}) which will take you to the full path. Often, however, you want to attach lockers because it is easier to refer to them outside of the shell (in a script, for example) and software is set-up to run with a path under {{{/mit}}}. There are a few ways to attach a locker: 
 
  * If you are running on a [http://debathena.mit.edu Debathena] machine, such as [http://linerva.mit.edu linerva.mit.edu], then simply {{{cd /mit/<locker>}}} and it will be auto-attached.
  * If you are on another Athena machine and don't want to run software out of the locker, than simply type {{{attach <locker>}}} and then `cd` to it.