Linux Shell Scripting Cookbook(Third Edition)
上QQ阅读APP看书,第一时间看更新

Redirection from a file to a command

We can read data from a file as stdin with the less-than symbol (<):

$ cmd < file