2 shell questions before the new year
Jerry Peek
jerryp at tektools.UUCP
Sun Jan 6 07:31:56 AEST 1985
In article <450 at ukma.UUCP> david at ukma.UUCP (David Herron, NPR Lover) writes:
>The "#!" form has other uses as well. Please peruse our phones command.
>
> #! /bin/grep ^[^#]
> The phone numbers to dial to reach the VAX-11/750 are:
>
> ttyh8 257-1474
.
.
This also works well with "more +2"... to make a self-contained help program
that paginates itself (don't even bother flaming about "more", please):
#! /usr/ucb/more +2
For help with UNIX, call the Tek UNIXhelp hotlines: 627-5245 or 629-1630.
UNIX classes are available at Tek: Call 627-1602 for information.
The "sysinfo" command will give you a menu of tektools system information.
The commands:
apropos topic lists commands relevant to the topic
man command shows the manual for a command
.
.
.
.
--Jerry Peek, UNIX Training Instructor, Tektronix, Inc.
US Mail: MS 76-036, P.O. Box 500, Beaverton, OR 97077
uucp: {allegra,decvax,hplabs,ihnp4,ucbvax}!tektronix!tektools!jerryp
CS,ARPAnet: jerryp%tektools at tektronix.csnet
Phone: 503/627-1603
More information about the Comp.unix
mailing list