I am on arch linux, accessing an account on a server over SSH. I have run a bash script containing recursion that results in an infinite loop of \"no such file or directory\" wh
Run ps faux (you might need to run it from other user or with sudo) and search for the offending process (may look like a big branch of the tree)
ps faux
sudo
If needed, kill the process via its PID