Sorry for posting it here, but Google does a very bad job when searching for symbols.
What does the “|” mean in:
"some string" | someexecutable.py
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is the pipe symbol. It separates two programs on a command line (see
Pipelinesin thebashmanual), and the standard output of the first program (on the LHS of the pipe) is connected to the standard input of the second program (on the RHS of the pipe).For example:
gives you a count of the number of people or sessions connected to your computer (plus one for the header line from
who). To discount the header line:The input to
sedcomes fromwho, and the output ofsedgoes towc.The underlying system call is
pipe(2)used in conjunction withfork(),dup2()and theexec*()system calls.