for i in /etc/profile.d/*.sh ; do
    if [ -r "$i" ]; then
        . $i
    fi
done


10. What innocent action could a system administrator make which cause
an error when this section of script is executed?

A. The administrator could place a file that does not end with .sh in
the /etc/profile.d directory.
 B. The administrator could place a file that does not have executable
permissions in the /etc/profile.d directory.
 C. The administrator could place a file that does not have read
permissions in the /etc/profile.d directory.
  DThe administrator could place a file that does not have write
permissions in the /etc/profile.d directory.
  E.The administrator could place a file titled source me.sh in the
/etc/profile.d directory.

Apparently E is correct. Now I understand  that .$i means source i but....huh?

Dana


--
The most common elements are hydrogen and stupidity - Harlan Ellison

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:182887
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to