Return to BSD News archive
Xref: sserve comp.unix.bsd:14897 comp.unix.programmer:20113 comp.unix.questions:55074 comp.unix.shell:17771
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!cs.utexas.edu!not-for-mail
From: pzuge@worf.uwsp.edu (Peter Zuge)
Newsgroups: comp.unix.bsd,comp.unix.programmer,comp.unix.questions,comp.unix.shell
Subject: <Q> Is there a script for ...?
Date: 15 Sep 1994 06:21:29 -0500
Organization: UTexas Mail-to-News Gateway
Lines: 41
Sender: nobody@cs.utexas.edu
Message-ID: <Pine.3.89.9409150511.A14429-0100000@worf.uwsp.edu>
Reply-To: Peter Zuge <pzuge@worf.uwsp.edu>
NNTP-Posting-Host: news.cs.utexas.edu
BSD/386:
I was wondering if there are some scripts for the following:
(I am pretty sure that someone else must have wanted these
at some time)
1) A script that will let a user re-edit the last command.
Maybe grabbing it from history and using some editor to modify the
command before executing it? When creating scripts, I end up test-
ing parts of it out on the command line. These command lines get
pretty lengthy and I would like a way to "grab" it and simply change
a parameter then execute it again. ( Like DOSKEY or F3 in DOS? )
2) A script that will make it easy to kill numerous jobs.
( I sometimes make some jim-dandy mistakes )
Coping four or five PIDs down correctly on the command line is
almost more than my typing skills can take.;-)
3) A notify script that will tell me when a certain user logs in.
Maybe even notify me if a certain user logs onto a remote machine?
Thanks in advance!
PS
I do not know of any good sites to ftp to for unix scripts so I thought
this would be the best place to ask. I enjoy creating shell scripts but
between classes and work my unix play-time is almost nil.:-(
<<<<
o(0-0)o
------------------ooO-(_)-Ooo------------
Peter A. Zuge
U of Wisconsin, Stevens Point
Information Technology
-----------------------------------------
Gopher: gopher.uwsp.edu
e-mail: pzuge@worf.uwsp.edu