Explore

Loading

Wednesday, February 15, 2012

Unix commands for redirection,pipes,filters


2.1. Command-line Special Characters
Quotes and Escape
Join Words ""
Suppress Filename, Variable Substitution ''
Escape Character \
Separation, Continuation
Command Separation ;
Command-Line Continuation (at end of line) \
2.2. I/O Redirection and Pipes
Standard Output >
(overwrite if exists) >!
Appending to Standard Output >>
Standard Input <
Standard Error and Output >&
Standard Error Separately
( command > output ) >& errorfile
Pipes/ Pipelines command | filter [ | filter]
Filters
Word/Line Count wc [-l]
Last n Lines tail [-n]
Sort lines sort [-n]
Multicolumn Output pr -t
List Spelling Errors ispell

No comments:

Post a Comment