UNIX and X Windows Primer

Contents


Shells

The shell is the program you use to run and manage other programs. When you open a new "Terminal" (xterm/dtterm/etc) the prompt you see is generated by your shell. When you type in a command, the shell interprets it and runs any programs that you told it to.

The shells are very powerful programs that let you do a lot more than just running programs. Here are a few items that you should know about:

Hosts and Domains

Every computer is refered to a host. Each host belongs to a domain. Each host has a name, such as nyquist, hp20, or cad01. This uniquely identifies the computer in it's own domain. Each computer also has a fully qualified name, which is the host name followed by the domain, such as hp20.ee.ualberta.ca When specifying a host between domains, you typically must use the full name (You do not always have to type the full name, since some machines search a set of domains when you don't specify one; if the domain you want is in the search list, then you don't need to type it.)

Here is a list of some useful domains to know:

Network Hosts Domain
Nyquist computers (CEB 540) nyquist, poisson, hp01 to hp30 ee.ualberta.ca
Sun Workstations (CEB 531) cad01 to cad34 labs.ualberta.ca
Hinton (CAB 311) hinton-2 to hinton-5, hinton-a to hinton-l cs.ualberta.ca

Remote X Windows

X Windows is a standard between UNIX computers for graphical displays. Each computer has an X server, which is what manages the different windows and the UI interaction. Normally, you run programs locally; for example, if you type netscape, then the netscape program runs on your computer, and the window is displayed on your computer. The X server also has the ability to display the windows of programs that are running on remote machines. There are a number of ways to do this.

Some Special Examples


Written by Paul Somogyi. All comments and suggestions are welcome.