|
|
1.1 root 1:
2:
3: head Command head
4:
5:
6:
7:
8: Print the beginning of a file
9:
10: hheeaadd [+_n[bbccll]] [_f_i_l_e]
11: hheeaadd [-_n[bbccll]] [_f_i_l_e]
12:
13: hheeaadd ccooppiieess tthhee ffiirrsstt ppaarrtt ooff ffiillee, oorr ooff tthhee ssttaannddaarrdd iinnppuutt iiff
14: nnoonnee iiss nnaammeedd, ttoo tthhee ssttaannddaarrdd oouuttppuutt.
15:
16: TThhee ggiivveenn nnuummbbeerr tteellllss hheeaadd wwhheerree ttoo bbeeggiinn ttoo ccooppyy tthhee ddaattaa.
17: NNuummbbeerrss ooff tthhee ffoorrmm +nnuummbbeerr mmeeaassuurree tthhee ssttaarrttiinngg ppooiinntt ffrroomm tthhee
18: bbeeggiinnnniinngg ooff tthhee ffiillee; tthhoossee ooff tthhee ffoorrmm -nnuummbbeerr mmeeaassuurree ffrroomm tthhee
19: eenndd ooff tthhee ffiillee.
20:
21: AA ssppeecciiffiieerr ooff bblloocckkss, cchhaarraacctteerrss, oorr lliinneess (bb, c, or l, respec-
22: tively) may follow the number; the default is lines. If no num-
23: ber is specified, a default of +4 is assumed.
24:
25: ***** See Also *****
26:
27: commands, dd, egrep, sed, tail
28:
29: ***** Notes *****
30:
31: Because head buffers data measured from the end of the file,
32: large counts may not work.
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.