UNIX Tips for Hydrology Lab users

Here is a list of tips to help users in the UNIX environment, specifically on hydrolab and hl2 workstations. Not all commands work on both machines (ie, the Fortran compiler is only on hl2). The standard UNIX command syntax is:

command_name [optional_arguments] required_arguments


Editors and Mail

Editors
Mail Readers
These mail readers run only on UNIX, so you must log in to read your mail. We also have mail readers which will down load mail to your PC.

Development Tools

Compilers
Type the name of the command by itself to see a list of options. You can find help in the language and compiler guides. InfoExplorer also has the C users and reference guides on line.
Useful compiler options:
-lm - (C only) References the math library. Use this if you get strange compiler error messages about math functions.

-O - optimize. (uppercase oh). Also can use -O2 and -O3 for other levels of optimization

-o filename - (lowercase oh). Specify name of compiled (output) program.

Scripts

Help

Most comands give you syntax help with the -h option.

Printing

Print Queues
on hydrolab: and on hl2:

System Information

Network Information


RMP, May 31, 1995