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?


Don't forget to +respect if I have helped you out at all.

Happy Hacking!



Sign In to comment.