*BSD News Article 49331


Return to BSD News archive

Newsgroups: comp.unix.bsd.bsdi.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!caen!hookup!solaris.cc.vt.edu!news.mathworks.com!uunet!in1.uu.net!spool.mu.edu!torn!nott!cunews!freenet.carleton.ca!FreeNet.Carleton.CA!ae263
From: ae263@FreeNet.Carleton.CA (Tom Hill)
Subject: Shell Programming
Message-ID: <DDtHw6.IC2@freenet.carleton.ca>
Sender: ae263@freenet3.carleton.ca (Tom Hill)
Organization: The National Capital FreeNet, Ottawa, Ontario, Canada
Date: Thu, 24 Aug 1995 13:38:30 GMT
Lines: 9

I am new to UNIX and BSD, although I have set up several systems using Linux.
Now I want to set up two more servers using BSDI's BSD Version 2.0.1, but am having trouble with shell scripting.
I want to write scripts to automate tape backup and server mirroring, but am unable to get any scripts - even those that work under Linux - to execute.
For example, the followign test script clears the screen under Linux:
#!/bin/bash
clear
But under BSD, the same script produces only the message "command not found".
I'd appreciate hearing from anyone who can tell me what's happening here, and give me any other pointers on shell scripting with BSD.
Thank-you