NRAO Home > CASA > CASA Cookbook and User Reference Manual

B.7.2 Directory Navigation

In addition, filesystem navigation is aided through the use of bookmarks to simplify access to frequently-used directories:

  CASA [4]: cd /home/ballista/jmcmulli/other_data  
  CASA [4]: pwd  
  /home/ballista/jmcmulli/other_data  
  CASA [5]: bookmark other_data  
  CASA [6]: cd /export/home/corsair-vml/jmcmulli/data  
  CASA [7]: pwd  
  /export/home/corsair-vml/jmcmulli/data  
  CASA [8]: cd -b other_data  
  (bookmark:data) -> /home/ballista/jmcmulli/other_data

For python scripts, there is a special command to change a directory.

os.system(’cd ~/directory’)

will NOT work but the following will:

os.chdir(’~/directory’)


More information about CASA may be found at the CASA web page

Copyright © 2010 Associated Universities Inc., Washington, D.C.

This code is available under the terms of the GNU General Public Lincense


Home | Contact Us | Directories | Site Map | Help | Privacy Policy | Search