Read Bash Script

view full story

http://www.unix.com – I am very new to all these programming languages and really love Linux but have only begun to dive into bash scripting... I am curious what's going on with this script... Code: #!/bin/bash if [ -e /proc/xen/capabilities ]; then         # xen         grep control_d /proc/xen/capabilities >& /dev/null         if [ $? -ne 0 ]; then         # domU -- do not run on xen PV guest         exit 1;         fi fi #safe to run mcelog /usr/sbin/mcelog --ignorenodev --filter (HowTos)