Would Windows robotframework code work in LINUX?

Have a code which was developed in WINDOWS… would that work in LINUX?

Short answer: Yes! You just need to install python, RF and same libraries under Linux and verify. If you find OS specific stuff you can add condition based on OS to fix that.