Table of Contents
Previous Chapter SLAC currently supports UNIX on two major architectures: SUNs and RS/6000s. In addition to SLAC's central UNIX system, some SLAC users use the Reason cluster of NeXTs, whose file system and available applications are somewhat different from the central UNIX system. If you are a NeXT user of the Reason cluster, you might want to read the document Using Your NeXT at SLAC by Paul Kunz. It is available online as file /LocalLibrary/Documentation/Welcome.frame if you are connected to the Reason Cluster, or as file /nfs/ebnextk/LocalLibrary/Documentation/Welcome.frame if you are connected to the central UNIX system.
Your UNIX account provides access to all SLAC UNIX machines; that is, the account allows you to log in and access your files from other UNIX machines on our network.
Clearly not all users will have the same system capabilities. However, most of the important UNIX functions can be performed independent of connection and equipment using standard command conventions.
-------
ls mbox
-------
You would then press RETURN to enter the command ls and its argument mbox into the computer. If the file mbox exists, its name would be listed on the screen.An option is an argument included on the same line as the command and preceded by a hyphen (-). It tells the computer to execute a particular variation of the command. For example, ls -l (that is, the letter l) tells the computer to list the file names with additional information about each file. Options are sometimes called flags.
Consult the following chart when:
TABLE 2. Special Keys and Control Sequences ------------------------------------------------------------------------------------------------ You Want To: Do This: ------------------------------------------------------------------------------------------------ Erase the last character you typed DELETE or BACKSPACE Erase the last line you typed ^u Erase the last word you typed ^w Stop or interrupt a program currently running ^c Signal the end of a file to a program waiting for input (e.g., in sending ^d mail) Freeze the program's output scrolling on the screen, although the pro ^s gram may continue to run Unfreeze the output suspended by ^s ^q ------------------------------------------------------------------------------------------------
The following illustrates the procedure for establishing a dial-in connection to vesta03, one of our UNIX interactive hosts. Once the login prompt has been obtained, login can continue as shown in "Using a Workstation" on page 8:
Unauthorized access is strictly prohibited!
SLAC Terminal Server
To connect to a host, type:
telnet hostname (or just hostname)
switch to connect to the Micom switch (until September 1997)
Logoff and drop the phone connection:
logout
Escape to Terminal Server's xremote1> prompt:
ctrl-^,x (ctrl-shift-6 followed by `x')
Notes:
(1) This service is restricted to connecting to SLAC hosts only. To reach other machines, first login to a SLAC host and telnet from there.
(2) The Micom switch service is scheduled to end September 1997.
(3) Xremote support is frozen.
xremote1> vesta
Translating "VESTA03"...domain server (134.79.16.9) [OK]
Trying VESTA03.SLAC.STANFORD.EDU (134.79.17.13)... Open
telnet (vesta03)
WARNING: Unauthorized access to this computer system is prohibited.
Violators are subject to criminal and civil penalties.
All activities may be monitored and recorded and these records
provided to law enforcement officials; by using this
system you expressly consent to such monitoring.
login:
Passwords are not displayed on the screen. This is just added protection provided by the UNIX system so that curious eyes behind you cannot read your password. By providing your username and password, you have completed the log in.
If you make a mistake, type your login name and password again. Once you successfully log in, the system displays its prompt and waits for your commands
------------------------------------------------------------------------------------------------
login: meb Enter userid and press CR
Enter password for meb: Enter password and press CR
User meb kerberos-authenticated via AFS 3.2.
IBM AIX Version 3.2 These messages will vary.
WARNING: Unauthorized access to this computer system is prohibited.
Violators are subject to criminal and civil penalties.
Last unsuccessful login: Mon Aug 16 12:40:04 PDT 1993 on pts/55
Last login: Wed Sep 1 12:16:10 PDT 1993 on pts/26
meb@ganymede $ Normal command prompt
------------------------------------------------------------------------------------------------
Several window systems are available for each type of workstation. The most popular is X Windows, some variant of which is available for every workstation at SLAC. There are others, however, and your particular needs may require a different window system. Again, the best advice may come from someone in your group.
Each time you begin a new computer session, you should set the terminal type. To make setting the terminal occur automatically at the beginning of every work session, follow procedures detailed in "Customizing the Session: Defining the Shell Environment" on page 30.
At SLAC, chances are that vt100 is the terminal type to specify. There are exceptions, so if you are not sure what kind of terminal you are using, ask your computer support coordinator or the Help Desk at 415-926-4357. To set your terminal type, use the command set with the arguments term=terminal type.
----------------------------------------------------------- $ set term=vt100 Type set term=terminal type RETURN. $ In this example, the terminal is a vt100. -----------------------------------------------------------
In changing your password, the new password should not be any word found in the English dictionary, your username, or any permutation of your name or initials. Helpful do's and don'ts and ways of constructing passwords are given in the file /usr/local/doc/policies/password. Printing of files is described section "Printing" on page 43.
--------------------------------------------------------------------- $ login unixhub Login to the UNIX host unixhub, RETURN. $ password Command to change your password, RETURN. Changing password for ilse. Old password: Type your old password, RETURN. New password: Type your new password, RETURN. Retype new password: Type your new password again, RETURN. ---------------------------------------------------------------------The password command changes your UNIX login password as well as your AFS password. If you do not have an AFS account, the password command creates one for you and sets the password to your UNIX login password. Remember that, while changes to your AFS password are immediate, changes to your UNIX login password do not go into effect for up to one hour.
------------------------------------ $ logout Type logout, press RETURN. ------------------------------------
The Club originally met once a month but no longer meets regularly. Announcements of upcoming meetings are physically posted around SLAC and electronically in the Netnews group slac.users.unix (see "NetNews" on page 54) and in VM News announcements. Handouts and lecture notes of past UNIX Journal Club meetings are available at the Help Desk in the Computer Building Lobby.
To access the Web you use a program called a browser. Browsers are available for all UNIX platforms (as well as non-UNIX platforms). The Web presents information in the form of hypertext, which are small documents that contain links to related documents. It is particularly suitable for High Energy Physics, where rapid sharing of up-to-date information among widely spread collaborations is essential.
At SLAC most of the SPIRES databases, such as the HEP publications database, BINLIST, HEPNAMES (email addresses of physicists worldwide), SLAC seminars and many more are accessible. Information on specific experiments is also available, including SLD and BES. In addition, many departments, including Slac Computing Services, now provide much of their documentation, news, and other communications on Web pages. We suggest that you learn how to access information on the Web as soon as you can.
To access the Web on a UNIX workstation or X-terminal, enter the command netscape & after you have started X-windows. From an ASCII terminal or a terminal window, enter the command lynx to invoke a character-mode Web browser. Lynx will provide usable access to most of the important documents on SLAC's Web pages.
For questions and suggestions about the Web, contact the WWW Support Coordinator (WSC) for your group or Division.
The locally written aid command lets you search for online information and/or pointers to information about UNIX or SLAC in general. To use the command, type aid keyword ... keyword.
$ aid unix
Matching `unix'
-> Suggestions from /usr/local/lib/aid/unix:
See /usr/local/doc/FAQ/unix/intro for beginner's questions about UNIX.
Try the /usr/local/doc/intro directory.
BSD - Berkeley Software Distribution (UC Berkeley's version of UNIX).
> BSD UNIX is the basis for Sun's and NeXT's versions of UNIX.
> (Although Sun is moving toward System V UNIX.)
Print SLAC Computer Account form from the Web; its URL is http://www.slac.stanford.edu/comp/form/account/account.html.
See /usr/local/doc/usc-names for list of UNIX Support Coordinators.
See /usr/local/doc/usc-job for a description of USC duties.
See /usr/local/doc/xcg for information about the XCG.
`xCG' stands for `experimental UNIX Group.'
`/usr/man' contains online version of the UNIX reference manual.
$
You can contact the Help Desk at 415-926-HELP (4357) for questions that neither the aid command nor the man pages can answer.
_____________________________________________________________________________________________
Table of Contents
Next Chapter