*BSD News Article 67674


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!in-news.erinet.com!bug.rahul.net!rahul.net!a2i!samba.rahul.net!rahul.net!a2i!news.walltech.com!news.aimnet.com!not-for-mail
From: trh@aimnet.com (TRH TRH)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Q: How to create executable files?
Date: 4 May 1996 17:48:25 GMT
Organization: Aimnet Information Services
Lines: 22
Message-ID: <4mg599$clu@news.aimnet.com>
NNTP-Posting-Host: shell1.aimnet.com
X-Newsreader: TIN [UNIX 1.3 950621BETA PL0]


Hello:

I am trying to create small executable files. For example something like



elm -s trh $1 < $1

After typing it into a file and issuing comand chmod +x on that file
I expect it to work with a parameter I supply in lieu of '$1'.

It does not work on a new account that is running BSD. It does
run on SunOS, AIX etc.

I get the error message 'comand not found'.

What am I doing wrong?

Thanks,

Al