Tony Mcneil wrote: > Erik Veenstra wrote: >> See http://www.ruby-doc.org/core/classes/Kernel.html#M006001 : >> >> `cmd` => string >> > > hrm, I've tried looking over the documentation in the link you > provided, but I'm having difficulty understanding it. Could you provide > an example of the code? > > thanks again, > ~Tony This won't work (even when you remove the typo .to_S): f.puts system('ping 192.168.1.74').to_S The ping will be executed, but you are logging if it succeeded, not the output. Erik is pointing to a working solution: f.puts `ping 192.168.1.74` Note these `` are backticks, not single quotes. hth, Siep -- Posted via http://www.ruby-forum.com/.