home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!mimbres.cs.unm.edu!unmvax!cs.sandia.gov!jhgreen
- From: jhgreen@cs.sandia.gov (Jethro H. Greene)
- Newsgroups: comp.unix.questions
- Subject: How do I run command-line shell-scripts in the background?
- Message-ID: <1992Nov5.033059.17605@cs.sandia.gov>
- Date: 5 Nov 92 03:30:59 GMT
- Article-I.D.: cs.1992Nov5.033059.17605
- Sender: jhgreen@cs.sandia.gov
- Followup-To: jhgreen@cs.sandia.gov
- Organization: Sandia National Laboratories, Albuquerque, NM
- Lines: 19
- Originator: jhgreen@cs.sandia.gov
-
- Hi.
-
- Is it possible to run the ksh script in the background without creating and
- executing a program?
-
- #check to see if mngoi is logged on
- while true; do
- if `finger -s mngoi | grep -s On`; then
- echo
- fi
- sleep 10
- done
-
- Thanks in advance.
-
- --------------------------- |\_/| --------------------------------------------
- | Jethro H. Greene (Jed) | \`0.0'/ | Massively Parallel Comp. Research Lab., |
- | jhgreen@cs.sandia.gov | =(_-_)= | Sandia National. Lab., Albuquerque, NM |
- --------------------------- U --------------------------------------------
-