I'm new to Linux and so far I've been playing around with some utilities, specifically the grep utility. I decided to create a new file (aptly called 'newfile') with the following content:
Lady of the night,
I hold you close to me,
And everything is out of sight,
I think I'll be alright.
When I try to run it through grep by entering 'grep .* newfile' I was expecting only the lines of the file to show up; however, it printed several results, starting with:
grep: ..: Is a directory
And following up with the entirety of .bash_history (which I'll leave out for the sake of keeping this post short), and then the contents of newfile. Why is this so? Is there a way I can fix this? Do I have to alter my regular expression?