Page is a not externally linkable
- Hardware and OS Related Technologies
-- Linux, Unix, and *nix like Operating Systems
---- Bash conditional syntax error (Mac OS X)
nalin - 3:31 am on Jun 14, 2009 (gmt 0)
You need your conditional to be inside your for loop
for user in $(ls /Users)
do
if [ "$user" != 'administrator' ] ; then
...snip...
Thread source:: http://www.webmasterworld.com/linux/3918650.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com