Hoffman2:Profile

From Center for Cognitive Neuroscience
Revision as of 17:48, 20 April 2012 by Elau (talk | contribs) (Created page with "Back to all things Hoffman2 You account has one last thing that needs to be edited before being usable. # [[Hoffman2:Accessing the Cluster#SSH - Command Line|SSH i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to all things Hoffman2

You account has one last thing that needs to be edited before being usable.

  1. SSH into Hoffman2
  2. Use your favorite text editor to edit the file ~/.bash_profile, e.g.
    $ vim ~/.bash_profile
    or
    $ emacs ~/.bash_profile
  3. Insert these lines at the bottom of the file
    source /u/home/FMRI/apps/etc/profile
    umask 007
  4. Save the file
    With VIM you would type
    ESC + ":wq" + ENTER
    With Emacs you would type
    CTRL+x, CTRL+c
  5. Log out of Hoffman2 and the next time you log in, everything will be set for you to start working.


Curious?

For those that care, what you are doing is asking the computer to execute the file

/u/home/FMRI/apps/etc/profile

every time you login. This file modifies your PATH variable so you have access to the FMRI toolset.

The last line

umask 007

makes it so that any files you create will have a default permission of about 770 so that other people in your group have write permissions.


External Links