smb_check.sh is not working as expected: # echo "$(mount | egrep $1 | wc -l)" Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. 0
smb_check.sh is not working as expected:
echo "$(mount | egrep $1 | wc -l)"
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
0