CentOS Linux Server Guide

Centos Linux Command Line Operation

Using Pipe "|" Symbol

 

Pipe is an useful operation symbol, where it will redirect the stdout to another stdin. This is an useful command to let you delal with complex operations

 

SYNOPSIS

command | command

 
cat /etc/passwd | grep root
 

root:x:0:0:root:/root:/bin/bash
operator:x:11:0:operator:/root:/sbin/nologin

 

 

Back to Command Line Operation



Copyright 2011 http://www.1a-centosserver.com All Rights Reserved

All trademarks are the property of their respective owners.

Contact Us | Terms of Use | Privacy Policy