I am running FDS on my Linux machine (or Unix machine) and I cannot stop the diagnostic printout from outputing to the screen. What should I do?
Run the job as follows: fds4 & whatever.err & What is going on is that UNIX/Linux uses two different streams for outputting messages; one is called “standard output” and one called “standard error”. FDS outputs diagnostic messages to the console using the FORTRAN unit 0 which UNIX/Linux sends to the “standard error” stream. The problem occured because “>” only re-directs the “standard output” stream to a file. To re-direct both the “standard output” and “standard error” streams, you need to use the “>&” re-direction symbol. To complicate matters further, the above explanation is only true if you are using the CSH or TCSH command shells. If you are using the Bourne shell then stream re-direction is handled differently and you’ll have to read a man page on the shell you are using (or ask your system administrator to switch you to the CSH or TCSH shells).
Related Questions
- My web application runs fine on my Windows development machine, but when I deploy it to the Unix/Linux production server, it doesn work. What is the problem?
- I am running FDS on my Linux machine (or Unix machine) and I cannot stop the diagnostic printout from outputing to the screen. What should I do?
- How do I use the Linux screen command for running applications or commands from a remote session?