mscd — Change the MSS working directory
mscd [-project proj] [directory]
The mscd command changes the MSS working directory used by the DCS commands. When invoked with no operands, mscd attempts to change to the user´s MSS top-level directory (based on the user´s current uid). If the directory does not exist, an error message is printed and the current working directory remains unchanged.
See the section called “Directory Behavior” for more details about how the MSS manages directories automatically.
proj
Supply proj as the project number for
charging. Currently, no charging is done for metadata operations, so
this option is a placeholder for when charging might be imposed.
directoryAn absolute or relative pathname of the directory that becomes the new MSS working directory.
Example 6. Using mscd.
eval `mscdsetup -csh` # (setup for csh users) mspwd # print your default MSS working directory mscd /PAT/data/2003 # change the directory msls # list the MSS files in /PAT/data/2003 mscd # change back to your default MSS working directory
See Environment Variables section of the Command Behavior and Envrionment chapter for details.
See Exit Status Codes section of the Command Behavior and Environment chapter for details.