Hello, Samuel.

On Fri, Dec 12, 2003 at 06:07:23AM -0800, Yang, Samuel wrote:
> I loaded cygwin on to my NT machine at work and want to create a workable
> executable file which has commnads like: sort, grep, etc.  
> How do you make the file executable like the unix machine?

Do you mean shell script?

cat >aaa.sh <<EOF
echo hello
EOF
chmod 755 aaa.sh
./aaa

Hope this helps,
Baurjan.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to