In this session, we will work through a few basic tasks to get you acquainted with the VMS system. We will begin by describing how to change your password, and what you should expect in the way of input and output as you work with the system. We will explore some general utilities and commands that most users find particularly useful.
Setting the Password
The first time you log into the system, you will be prompted to change your password. If you later decide to change your password to something else, you would type:
$ SET PASSWORD
The system prompts you for your old password, and then prompts you twice for the new password. If the two responses for the new password do not agree, the system will not change the password. If the two passwords agree, then you will get the
$ prompt and your password will have been reset. Figure 1.3 shows a sample password change--notice that neither the old nor the new passwords show up on your screen as they are entered.
Figure 1.3: Setting a New Password
Passwords cannot be looked up by anybody--even a system manager--once they are assigned. If you forget your password the system manager will have to assign a new one.
Commands are typed at the dollar (
$) prompt. Here are a few basic characteristics of Digital Command Language (DCL):
$ DIR/SIZE login.com
DIRECTORY can be shortened to
SHOW without an argument, the system will respond with
_What: If you forget the form of a command, type
HELP command. When specifying parameters, multiple items can be passed to the command for the same parameter by separating the individual items with a comma. For example:
$ DELETE FILE1.TXT;2,FILE2.DAT;*
$ COPY FILE1.TXT NU_FILE1.TXT
LOGOUT to end your session. Do not just turn off a terminal without entering a
DIRECTORY to see what files are in your current directory.
DIRECTORY/DATE to see the modification dates of files. (
DATE is an example of a qualifier).
LOGIN.COM to see what, if anything, is in your initial startup file.
HELP to bring up the online help system. (Online help will be described in the next section.)
Most users rely on e-mail for their communications needs (e-mail will be described extensively in "MAIL" on page 138). To start the Mail utility, type
MAIL> prompt, you can read any messages that other users have sent to you by typing
READ, or by pressing
Creating a File
To create a new file, type
CREATE. The system will ask you for a file name. Type whatever text you want in the file. Press
to end your input.
Printing a File
To print a copy of the file on your default printer*3, use the
$ PRINT JUNK.TXT
Deleting a File
To get rid of a file you don't need, use the
DELETE command followed by the complete file name--including file type and version number. For example:
$ DELETE JUNK.TXT;2
At the end of every session, type
Generated with CERN WebMaker