Sending output to file
Submitted by hagar on Thu, 03/10/2005 - 09:26.
One can now send output from a command that implements org.jnode.shell.Command to a file.
As example try using the echo command like "echo jnode rules>/jnode/out.txt" and run the cat command on the file /jnode/out.txt file.
Regards,
Martin
- Login to post comments
Append mode
Hi Martin,
now the append operator lacks ( >> ), useful for example to append info to a log file, without creation any time the file (as with the > operator).
Good work,
Sandro