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?

TIA

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

Happy Hacking!

https://www.hackthebox.eu/home/users/profile/135164

Comments

Sign In to comment.