[mfx@5av04b5 ha-monitor]$ sed -n 's/check_df/abc/p' cron 0 2 * * * /home/mfx/abc.sh > /dev/null 2>&1[mfx@5av04b5 ha-monitor]$ sed -n 's/check_df/abc &/p' cron 0 2 * * * /home/mfx/abc check_df.sh > /dev/null 2>&1
原文转自:http://www.ltesting.net