hidekiwiki
#!/bin/sh FileNAME=/root/anaconda-ks.cfg echo "$FileNAME" read FileNAME echo "tail file ? [y/n]" read ANSER if [ $ANSER = 'y' -o $ANSER = 'yes' ]; then tail /root/anaconda-ks.cfg fi if [ $ANSER = 'n' -o $ANSER = 'no' ];then echo "finsh!!";exit fi