“Toy Story 2” almost didn’t exist, thanks to one string of code that deleted the entire movie. “Toy Story” is a massively successful franchise. Its fifth installment, “Toy Story 5,” premiered Friday. But in 1998, Pixar nearly lost “Toy Story 2” when an employee accidentally erased it from the company’s servers, according to The Wall Street Journal. The code culprit was a short command: /bin/rm-r-f*. That command directed the chosen server to del…