Linux, question on the symbol у
-
For which a sign is used in some consoling teams
|
(vertical)?
-
It's a so-called conway that allows one team to be transferred directly to another entrance. For example,
ls | wc -l
Transfer the team's withdrawal.ls
teamwc -l
and thus there will be a calculation of the number of records in the current catalogue -ls
Issue the text (in fact, a set of byte) consisting of several lines, butwc -l
They'll count. Acat file.txt | grep -i michael
Give the contents a file.txt to the front of the grep team, will find all the lines of entry.michael
♪More detailed reading http://xgu.ru/wiki/%D0%A1%D1%82%D0%B0%D0%BD%D0%B4%D0%B0%D1%80%D1%82%D0%BD%D1%8B%D0%B5_%D0%BF%D0%BE%D1%82%D0%BE%D0%BA%D0%B8_%D0%B2%D0%B2%D0%BE%D0%B4%D0%B0/%D0%B2%D1%8B%D0%B2%D0%BE%D0%B4%D0%B0 ♪