I'm learning how to use the shell. In playing around with some basic commands I encountered an issue. This is pretty basic stuff and I apologize if that upsets some folk.
On my desktop there exists a file called "myFirstShellScript.txt". In that file there is a string of text "show system".
So, if upon opening the shell I type
cd desktop and then grep
"show system" myFirstShellScript.txt" the shell returns the sentence where that string appears. Fine.
But I wanted to mess around. I then typed
grep "show system" and hit enter. I wondered if grep would search the entire desktop since that was/is my pwd.
But what appears to have happened is that the terminal has stopped working. At first I thought it may just be busy searching but it's been a while. I then checked if other commands would work - pwd - does nothing, when I hit enter the cursor just moves to a new line.
I then tried to exit. I tried "exit", "end" and "quit". Nothing. The terminal window is not responding as expected.
I know I could easily just open another tab but wanted to ask what it is that I've done to the terminal here?