Lua
For a project I'm working on, I'm learning Lua and I need to strengthen my Linux fu. The "Hello World" that I use for new languages is a count to a million. I use this because I have to have an output and a loop and it shows the speed of the language. In this case, I also included os.clock() which returns the time in seconds since the script started. Here is the script: for n=1,1000000 do print(n,os.clock()) end I named it script.lua in Windows you just double click it(assuming you have Lua already installed) It opens in what looks like a command prompt, after the script is done the window shuts immediately so you don't have time to read all the magical numbers. I added another loop and variable to keep it on the screen long enough for me to ogle it. That looks like this: x=os.clock() for o=1,10000000 do print(x,os.clock()) end In Linux it's a bit more complicated to run it. You type this into a terminal: lua -i script.lua and it runs right in ...