Ctrl + C alternative in shell

I used cat to read a file in a root shell and it is just hanging. What can I use instead of ctrl + c so that I don't kill my shell?

Also, why does cat do this? Should I be using less instead?



Sign In to comment.