enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Redirection (computing) - Wikipedia

    en.wikipedia.org/wiki/Redirection_(computing)

    A simplified but non-POSIX conforming form of the command, command > file 2 > & 1 is (not available in Bourne Shell prior to version 4, final release, or in the standard shell Debian Almquist shell used in Debian/Ubuntu): command & >file or command > & file. It is possible to use 2>&1 before ">" but the result is commonly misunderstood. The ...

  3. Process substitution - Wikipedia

    en.wikipedia.org/wiki/Process_substitution

    Process substitution can also be used to capture output that would normally go to a file, and redirect it to the input of a process. The Bash syntax for writing to a process is >(command). Here is an example using the tee, wc and gzip commands that counts the lines in a file with wc -l and compresses it with gzip in one pass:

  4. Bash (Unix shell) - Wikipedia

    en.wikipedia.org/wiki/Bash_(Unix_shell)

    Bash supports process substitution using the <(command) and >(command)syntax, which substitutes the output of (or input to) a command where a filename is normally used. (This is implemented through /proc/fd/ unnamed pipes on systems that support that, or via temporary named pipes where necessary).

  5. Standard streams - Wikipedia

    en.wikipedia.org/wiki/Standard_streams

    Standard output is a stream to which a program writes its output data. The program requests data transfer with the write operation. Not all programs generate output. For example, the file rename command (variously called mv, move, or ren) is silent on success. Unless redirected, standard output is

  6. tee (command) - Wikipedia

    en.wikipedia.org/wiki/Tee_(command)

    /A Append the pipeline content to the output file(s) rather than overwriting them. Note: When tee is used with a pipe, the output of the previous command is written to a temporary file. When that command finishes, tee reads the temporary file, displays the output, and writes it to the file(s) given as command-line argument.

  7. dup (system call) - Wikipedia

    en.wikipedia.org/wiki/Dup_(system_call)

    Unix shells use dup2 for input/output redirection. Along with pipe(), it is a tool on which Unix pipes rely. The following example uses pipe() and dup() in order to connect two separate processes (program1 and program2) using Unix pipes:

  8. Command-line interface - Wikipedia

    en.wikipedia.org/wiki/Command-line_interface

    The > in the third example is a redirection operator, telling the command-line interpreter to send the output of the command not to its own standard output (the screen) but to the named file. This will overwrite the file. Using >> will redirect the output and append it to the file.

  9. Pipeline (Unix) - Wikipedia

    en.wikipedia.org/wiki/Pipeline_(Unix)

    The command ls -l is executed as a process, the output (stdout) of which is piped to the input (stdin) of the process for grep key; and likewise for the process for less. Each process takes input from the previous process and produces output for the next process via standard streams .