2.2 UNIX
ؕؓ2.2.1 Using UNIX Workstations in general:
UNIX is case sensitive, which means don't confuse upper and lower cases. Almost everything uses lower case.
You DO NOT TURN OFF OR RESET THESE MACHINES.
To start using a UNIX system you must identify yourself by entering your login name and your password.. If using telnet you must know the machine name also.
Use the `passwd' command to change your password. If you use a simple password, it will be easy to find, and somebody will break into your account, and wipe out all of your work. A good rule of thumb is that if it could not be found in a dictionary or index of a book it will generally be safer.
Don't be afraid to try something new, you can only wipe out your files, all others are protected.
2.2.2 Directories, Files, Etc.
All of the computers in the lab share disks. Your directory will be available at any computer.
Note: the UNIX slash is `\', not the `/' used on PCs.
You can use standard UNIX commands to look around, and manipulate your directory, and files,
quota -v Check how much quota you have left. Being over quota for a few days will result in your account being cut off automatically.
You can use wildcards when filenames. The characters used are,
Some examples of valid wildcard strings are,
There are no real limits to file name lengths, but users should be careful with nonalphabetic characters.
Files that begin with `.' are often system files (like `.login'), and should not be deleted, moved, or created unless you are sure that is what you want to do.
2.2.3 Advanced Concepts
Besides the normal keyboard operation, some keys have special meanings. Erasing a character can be done with delete/rubout or backspace /control-h (^h), the actual key varies from machine to machine. Control-s (^s) and control-q (^q) are for flow control, typing a ^s will stop output to the screen, which can then be continued by typing ^q. ^d represents end-of-file, and is used to exit from several programs like mail, or possibly to log off the computer.
Most workstations run the UNIX operating system, which comes in two varieties: 4.3BSD (Sun) and System V (SGI), whose differences are minor for the average user (except for printing). When one logs into a UNIX system, you are actually running a program (shell) this is in some ways similar to DOS. In the standard shell you are given a prompt, where you type your command. If it is not a built-in command, it searches on the disk according to a user-specified search path, for an executable program of that name. Almost all commands are programs that are run in this manner. There are also executable shell scripts, similar to command files on DOS. UNIX is limited to running a program of a size equal to the sum of its memory, and swap space. As the system is multi-tasking, any program (or part thereof) that is not currently being run when extra memory is required, is swapped (moved) out to the disk, until it is ready to run again.