Date: Mon, 28 Aug 2000 01:41:54 -0400 From: Claude Cormier <techsupport@devises-or.com> To: freebsd-questions@FreeBSD.ORG Subject: Newbie need help to execute a shell script Message-ID: <39A9FBA2.6CE94BED@devises-or.com>
next in thread | raw e-mail | index | archive | help
Hi!, I signed up with a hosting service whihc has FreeBSD 2.2.8 with a lot of goodies like PHP, MysQL and others. I am trying to execute a small shell script and always received the "command not found" error. This is the "display" shell script: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # This script displays the date, time, username and # current directory. echo "Date and time is:" date echo echo "Your username is: `whoami` \\n" echo "Your current directory is: \\c" pwd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I am trying this from a tcsh shell. When I start a Bourne shell and type the same "display" command, I get "no such file or directory". The "display" script is in my path and it has "rwx" permissions. I even try ./display while sitting in the directory where the script is, but to know avail. Any suggestions... this is probably very basic... but remember I am a newbie with Unix. Claude Cormier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39A9FBA2.6CE94BED>