zkl: System.cmd("date >foo.txt") 0 // date return code zkl: File("foo.txt").read().text Wed Aug 20 00:28:55 PDT 2014