I'm unable to get this working:-
This is what I get:-
sh: [ping: not found
This, on its own works fine:
There's probably something obviously wrong, but haven't figured it out so far....
Any suggestions?
Bash:
if [ping -c3 `mount | grep net | cut -f 1 -d :`]
then echo 'working...'
fi
This is what I get:-
sh: [ping: not found
This, on its own works fine:
Bash:
ping -c3 `mount | grep net | cut -f 1 -d :
There's probably something obviously wrong, but haven't figured it out so far....
Any suggestions?