Pipelines
Address: http://blog.csdn.net/caroline_wendy/article/details/24249529
Pipeline operator "|", You can setStandard output (stdout)To another commandStandard input (stdin)Medium.
Filter)Is to combine multiple commands to form a pipeline.
Main commands:
Sort:Sort;
Uniq, UNIQueTo output data without duplicate rows. the parameter "-d" can output duplicate rows;
Wc, Word statistics(Word Count); Parameter "-l", only count rows;
Grep, Output matching mode,Global Regular Expression Print, Global Regular expression printing;
:
Head,The first few lines of the output file. the default value is 10. the parameter "-n" specifies the number of rows;
Tail,The end of the output file. the default value is 10. the parameter "-n" specifies the number of rows;"-F", Real-time displays the end information of the file.
Tee, ReadStandard input (stdin)And then outputStandard output (stdout) or file)Medium;