Useful tutorial on Pipes and Filters
jeffd
Status: Assistant
Joined: 04 Oct 2003
Posts: 594
Reply Quote
Newsforge has a tutorial on pipes and filters in case you're wanting to actually start using Linux / Unix type systems the way they were built to be used.

As usual, your imagination [ and patience ] is the limit here in terms of what you can do.

:: Code ::
ls -l  ~ |
grep -v "^d" |
awk '{print $5, $8, $3, $6, $7}'  |
only_big_files |
sort -nr  |
awk '{print $2 "\t" $3 "\t" $4, $5 "\t" $1}' |
mail -s "File List" you@yourdomain.com
}

Fun fun.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours