Input and Output Redirection Assignment Help

Assignment Help: >> Working with Pipes and Filters - Input and Output Redirection

Input and Output Redirection

The input and the output of a command can be concurrently redirected.

Practice 1

The following instance describes the concurrent redirection of both the input and the output.

# sort < names >          sort_names

# cat sort_names        

ajay      pts/3    May     17        11:27   (80.0.0.98)

oracle   pts/2    May     17        11:27   (80.0.0.98)

root      pts/0    May     17        11:27   (80.0.0.98)

sunil     pts/1    May     17        11:27   (80.0.0.98)

In this above example, the sort command takes its input from the file names and its output is redirected to the file sort_names.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd