some shell questions
1.[ -f /var/lock/subsys/postfix ] && restart || :
what does : mean
2. . /etc/rc.d/init.d/functions
what does this shell mean
3. echo $"Usage: $0 {start|stop|restart|reload|abort|flush|check|status|condrestart}"
what does $ in echo $"..." mean
4.what does difference between exit 0 and exit 1
5. what does $* $# $? mean in shell
Last edited by cnhawk386; 09-19-2007 at 10:18 PM.
|