Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!tank.news.pipex.net!pipex!news.mathworks.com!news.duke.edu!godot.cc.duq.edu!hudson.lm.com!newsfeed.pitt.edu!dsinc!netnews.upenn.edu!msunews!news.mtu.edu!babucher From: babucher@mtu.edu (Brian A. Bucher) Newsgroups: comp.unix.bsd.bsdi.misc Subject: Re: Shell Programming Date: 25 Aug 1995 01:35:23 GMT Organization: Michigan Technological University Lines: 14 Message-ID: <41j9cr$9on@news.mtu.edu> References: <DDtHw6.IC2@freenet.carleton.ca> NNTP-Posting-Host: pacemaker.cts.mtu.edu X-Newsreader: TIN [version 1.2 PL1] Tom Hill (ae263@FreeNet.Carleton.CA) wrote: : 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 try using a full pathname for clear, such as /usr/ucb/clear the path might not include the location of 'clear' Boo