os.version
From ComputerCraft Wiki
| Returns the version of the OS the computer is running. | |
| Syntax | os.version() |
| Returns | the version of the operating system of the Computer |
| Part of | ComputerCraft |
| API | os |
Examples
| prints the Computer OS | |
| Code |
term.write(os.version()) |