Linux basic diagnostic script