Okay, so I made a really stupid mistake.
I made a shell script that runs
nodemon /path/to/nodejs/file and added it to the boot process via
update-rc.d mystartup.sh defaults 99, thinking I could use this to automatically start my Node.js server on boot in case/when I restart my server.
nodemon are commands that, when run, change the command context so that I can run Node-related commands. I can then exit out of the process by pressing
Ctrl + C.
But when I boot, it's like the machine hasn't registered my I/O devices and I can't type, so I can't quit (or execute any other command). Nodemon just runs.
Is there some other way I can remove this startup command? It's farfetched, but I really screwed it up and I am not sure how to proceed.