answersLogoWhite

0

If the perl script outputs to the standard output device, use the I/O redirection operators (>, >>, |) to redirect it somewhere else.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What Windows shell script operator allows you to redirect the output of a command to a text file?

">" redirects all output to a file, overwriting any preexisting content.


How do you redirect a grep output in a file?

Use the > to redirect the output to a file. This will however override the existing content of the file. Use >> if you want to append the result.


Which Linux symbols instructs the shell to redirect the shell to redirect the output of a command to the specified file instead of the screen?

It depends on the shell interpreter you are using, but in general the I/O redirection operators are >, >>, |.


Which command line tool displays an objects properties onscreen by default but can redirect output to a file?

DSGET


Why Linux script does not support comparison using less than or greater than symbols?

The "greater than / less than" symbols, < and >, are used to redirect the output of a command or action somewhere else. For instanceecho "hello" > testwould create a file named test with the word helloin it, rather than simply displaying hello on the console.


How can you make CMD send the ipconfig data to another computer without rewriting it?

Redirect the output to a file on the other computer.


How do you have Linux dump the output of a command to a text file?

This can be done using the logsave command. To save the output of a command to a log file using logsave, type the command using the following syntax:logsave (path and name of log file)'(command)'Notice how there are single quotation marks around the name of the command. Although these are not necessary for all commands, it may be required for commands containing spaces or other special characters. Unlike in Windows, where the output of the command can either be written to standard output or a log file, logsave will write a copy of the output to both.If the command has progress bar output, you may want to use the -s argument to prevent these lines from being written to the log file. Also, by default logsave does not append the log file, but instead overwrites it, so if you are using a bash script or something to write a log of output, the -a argument may be useful to ensure that the previously written text is appended instead of being replaced.


What is standard input and output error file?

The C standard library provides stderr as the standard error file. It is an output file, much like stdout, except it cannot be redirected via the command line. By default, error messages via stderr are output to the console, the same as the undirected stdout. However, the programmer may choose to redirect stderr to a disk file or allow the user to choose a location via command line switches. Although error messages can also be output to stdout (or indeed to any output stream), it is best to keep error messages separate from the standard output stream. For instance, the user may choose to redirect standard output to a disk file or to the input stream of another program, while error messages are directed to the console.


How can print screen output in borland c plus plus?

Redirect the output to a file via the command line. Print the file. For example, if the program is named foo.exe, the output can be redirected to a file named foo.txt with the following command: foo.exe &gt; foo.txt Everything sent to std::cout by the program will now be sent to the file instead. Everything sent to std::cerr will be displayed on screen as normal.


How do you create a tee in unix?

The 'tee' command creates one for you automatically. You would use it to simultaneously look at output from a process and redirect it to a disk file (for example).


What is the Malay-utf-8.inc. php file?

This particular file is a file specific to the PHP program or script you are using. It is not a "php system file".


How could Java classes direct program messages to the system console but error messages say to a file?

Sytem.out amd System.err is used to get the output, and refer to standard output strem and which is by default console ... u can send the output to any other stream or log file either by importing java.io.file and show the output to the console and run time error to any file using exception handling .... or u can give the command while running the program which will redirect this to log file as ... java ClassName 2error.log this will send error message to error.log file and output to console. ... u can send both the output and error to log file as... java ClassName output.log 2 error.log ... here ClassName is the name of the calss file which u wanted to execute