I need to use echo with grep in a shell script. Can I use it?
I tried this, but is incorrect:
echo Linux: grep \"Linux\" ~/workspace/ep-exercicios/m1
Simply you can achieve it by doing slight modification below.
echo "Linux: `grep "Linux" ~/workspace/ep-exercicios/m1/e2/intro-linux.html | wc -w`"