Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quick unix question...



Arek,
Thanks for this. I admit I can follow some of it, but probably not enough. It appeared as though the 2nd script needed to be run first, so I tried it alone as a test:


Tech-Computer-iMac-Lab:~ admin$ sudo /Users/admin/Desktop/space1.command
Note: /Users/admin/Desktop/space1.command must be run as root
/Users/admin/Desktop/space1.command: line 23: syntax error near unexpected token `then'
/Users/admin/Desktop/space1.command: line 23: ` ?? ? ? ? if [ $uid -gt 1024 ]; then '


Do i need to then make it executable and put in /bin/sh? Maybe you can be a little more explicit about what I have to do with it?

-Brian

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Client-management mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/client-management/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.