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 |
Hi,
This has 'homework' written all over it and we at LQ do not do your homework....... (almost) All the answers can be found in bash' man page. Hope this helps. |
other answer?
thank you |
Quote:
|
Thread closed because this appears to be homework.
|
All times are GMT -5. The time now is 04:53 AM. |