What is the difference between wc -1 < mydata.dat and wc -1 < mydata.dat ?
2016-11-04 19:43
555 查看
What is the difference between
wc -1 < mydata.datand [b]
wc -1 < mydata.dat?[/b]To output the number of lines in the
mydata.datfile, we use the
wc -1 mydata.datcommand.By adding
<to create the command
wc -1 < mydata.dat, the program opens and reads from the
mydata.datfile to process the line count. The program sends the contents of
mydata.datto
wc's standard input. This is referred to asredirecting input.
wc -1 < mydata.datThe output of
wc -1 < mydata.datis 48That of
wc -1 < mydata.dat
is
48 config.dat
相关文章推荐
- What is the difference between Simple, Advanced and Parameter data sets?
- What is the difference between angle bracket < > and double quotes " " while including header files
- What is the difference between a = a * (2^3) and a = a << 3?
- What is the difference between CDATA and PCDATA?
- What is the difference between << and += while injecting elements to Hash.new([])?
- Java-What is the difference between <? super E> and <? extends E>?
- What is the difference between data mining and machine learning?
- What is the difference between XML and C or C ?
- What is the difference between '/n' and '/r/n'? /n /r/n的区别是什么
- What is the difference between SMOD and CMOD?
- What is the difference between procedural and nonprocedural language?
- What’s the difference between <system.web> and <system.webServer>?
- What is the difference between User Control and Custom Control?
- What is the difference between Binding and TemplateBinding?
- what is the difference between little-endian and big-endian.
- What is the difference between OCCURS n and INITIAL SIZE n?
- What is the difference between Implicit SSL and Explicit SSL?
- What is the difference between objectForKey and valueForKey?
- What is the difference between Array.Clone and Array.Copy Method
- What is the difference between CollectionView and CollectionViewSource?