O'Reilly logo

Introduction to Unix and Shell Programming by M. G. Venkateshmurthy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4

STANDARD I/O, REDIRECTION PIPES AND FILTERS

Chapter Objectives
  • The concept of standard I/O
  • Redirecting the input and output
  • Connecting commands using pipe
  • The meaning of a filter
  • Getting multiple copies of the output using the tee command
  • Terminal and trash special files
  • Splitting the files vertically and joining files vertically
  • Sorting files on different basis
  • Handling duplicate entries using the uniq command
  • Translation of characters using the tr command

Unix has quite a large number of commands. Initially beginners will be working mostly with individual commands for most of the time. Although every command is effective and efficient, nothing useful can be done with just individual commands. Any meaningful task needs more than one ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required