How do I do this in perl? Perfect! Thank you both!if [ `grep /home /etc/mtab | grep -c nfs` -eq 0 ] then Do something else DO something different endif
In reply to using grep to test a partition by aewhale
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |