Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| rdms:access:linux:icommands [2026/07/13 11:13] – [Configure iCommands] burcu | rdms:access:linux:icommands [2026/07/13 11:55] (current) – burcu | ||
|---|---|---|---|
| Line 75: | Line 75: | ||
| **Note:**\\ The '' | **Note:**\\ The '' | ||
| - | ==== Configure iCommands to Access Both Zones ==== | + | ==== Switching Between Different |
| + | If you have access to more than one iRODS zone, such as the default zone and Sensitive Data (SD) zone, you can configure shell aliases to quickly switch between different iRODS environment files. | ||
| + | |||
| + | 1. Open your '' | ||
| + | |||
| + | 2. Add aliases similar to the following: | ||
| + | |||
| + | < | ||
| + | alias irods-rug=' | ||
| + | alias irods-sd=' | ||
| + | </ | ||
| + | |||
| + | 3. Save the file and reload your shell configuration: | ||
| + | |||
| + | < | ||
| + | source ~/.bashrc | ||
| + | </ | ||
| + | |||
| + | 4. Select the iRODS zone you want to use: | ||
| + | |||
| + | < | ||
| + | irods-rug | ||
| + | </ | ||
| + | |||
| + | or | ||
| + | |||
| + | < | ||
| + | irods-sd | ||
| + | </ | ||
| + | |||
| + | 5. Initialize your iRODS session (if required): | ||
| + | |||
| + | < | ||
| + | iinit | ||
| + | </ | ||
| + | 6. Verify that the correct environment is active: | ||
| + | |||
| + | < | ||
| + | ienv | ||
| + | </ | ||
| + | The selected alias sets the '' | ||
| ===== Installing iCommands ===== | ===== Installing iCommands ===== | ||