Prism 6.0 User's Guide

Issuing Solaris Commands

You can issue Solaris commands from within Prism.

Some Solaris commands have Prism equivalents, as described below.

Changing the Current Working Directory

By default your current working directory within Prism is the directory from which you started Prism. To change this working directory, use the cd command, just as you would in the Solaris environment. For example,

cd /sistare/bin

changes your working directory to /sistare/bin.

cd ..

changes your working directory to the parent of the current working directory. Issue cd with no arguments to change the current working directory to your login directory.

Prism interprets all relative file names with respect to the current working directory. Prism also uses the current working directory to determine which files to show in file-selection dialog boxes.

To find out what your current working directory is, issue the pwd command, just as you would in the Solaris environment.

Setting and Displaying Environment Variables

You can set, unset, and display the settings of environment variables from within Prism, just as you do in the Solaris environment.

Use the setenv command to set an environment variable. For example,

setenv EDITOR emacs

sets your EDITOR environment variable to emacs.

Use the unsetenv command to remove the setting of an environment variable. For example,

unsetenv EDITOR

removes the setting of the EDITOR environment variable.

Use the printenv command to print the setting of an individual environment variable. For example,

printenv EDITOR

prints the current setting of the EDITOR environment variable. Or, issue printenv or setenv with no arguments to print the settings of all your environment variables.