chmod executable
Baurjan Ismagulov
ibr@ata.cs.hun.edu.tr
Fri Dec 12 15:03:00 GMT 2003
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/
More information about the Cygwin
mailing list