how to cancel a grep search

I was trying to find a word on my PLESK server’s linux backend using the grep command.

The trouble was, i accidentally told it to search all files and folders on the system.

It seemed like i was going to wait a long time to get control of the SSH command line again.

Luckily a little bit of googling gave me the answer.

To stop a grep search: type: CTRL + C

Grep stops what it was doing and gives control back to you.

Leave a Reply