Input Redirection Assignment Help

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

Input Redirection

Just like as the output of a command can be redirected to a file, so can the input of a command be redirected from a file that is the input for a command can be taken from a file alter of taking from the standard input (keyboard).

Syntax

command < filename

In the given case, here less than (<) sign is used to redirect the input of command from the filename. Let consider the following:

# sort < mydata

Whenever the sort command opens the standard input and starts to read, it will read from the file mydata and not from the keyboard.

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