1. Basic Concepts
A, I/O redirection is usually related to FD, Shell FD is usually 10, namely 0~9;
b, commonly used FD has 3, for 0 (stdin, standard input), 1 (stdout, standard output), 2 (stderr, standard error Output), the default and keyboard,
This article mainly introduces how to learn the communication between parent and child processes from the child_process module of Node. js, which has some reference value. If you are interested, you can refer to it. This article mainly introduces #
> and when it comes to I/O redirection, let's get to know file descriptor (FD) first. The operation of the program, in most cases, is the processing of data (data), which is read from where? And where to send it? This is the function of file
Directory
Directory preface software Environment Knowledge Subprocess Popen Constructor constructor Class Popen parameter args calling program call shell instruction Stdinstdoutstderr real-time fetch subroutine output one time get all output of
1. Basic concepts (this is the prerequisite for understanding the following knowledge. please be sure to understand it)
A, I/O redirection is usually related to fd, and shell FD is usually 10, that is, 0 ~ 9;
B. There are three commonly used FD
Article Title: Linux redirection details. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I/O redirection
This article mainly introduces Node. create and manage external processes in js. This article describes how to execute External commands and sub-processes, for more information about how to use Node to efficiently process I/O operations, you should
Discuss the implementation principle of & gt;/dev/null2 & gt; & amp; 1 in shell commands. first, standard input, standard output, and standard error: standard input is the location where the program can read its input. By default, the process reads
Ganymed SSH-2 for Java is a pure Java implementation of the SHH2 Library, the official website for http://www.ganymed.ethz.ch/ssh2/, the latest update time for October 2006, before using, please take a closer look at the FAQ, Can really avoid a lot
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.