Far single-line mode
Using far in single-line mode allows you to execute one and only one far sub-command at a time. It is very useful in batch jobs, when you want to retrieve a file before you begin program execution, or store the output of a job.
To use far in single-line mode, type
far sub-command
You are returned to the machine prompt immediately after the command executes.
There are many far sub-commands available.
I/O redirection is available in single-line mode, but functions a little differently than you might expect.
Error codes
In single-line mode, you can trap the exit code returned by far, and act upon any errors you'd like. We recommend that you always check the error return code to see if your far command succeeded.
These are the error codes returned by far:
0 - Successful 1 - Failure, retry necessary. 2 - Unknown far command, don't retry. 3 - Far command argument problem. 4 - File doesn't exit. 5 - Unknown machine type.