Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2001 18:54:27 -0400 (EDT)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-questions@freebsd.org
Subject:   command script file
Message-ID:  <Pine.SOL.4.21.0104171851150.21471-100000@onyx>

next in thread | raw e-mail | index | archive | help

If I have the following file named doit:

# cat doit
pwd 
ls -al
# chmod u+x doit.
# ./doit

It runs OK even if there is no #!/bin/sh at its first line. Is this
feature implemented in the shell or kernel? If in shell, how does it
implement it?   Thanks.

-Zhihui


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?Pine.SOL.4.21.0104171851150.21471-100000>