I would like to grep the word “s a i” (which has spaces in it) in a xyz.txt
file which is saved in another directory. I tried to find an answer but I didn’t manage to find any. I have to use the grep
command only.
You can escape the space with a backslash:
grep My\ Documents
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With