Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ head(1) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

tail(1)



     head(1)                    DG/UX 4.30                     head(1)



     NAME
          head - give first few lines

     SYNOPSIS
          head [ -count ] [ file ...  ]

     DESCRIPTION
          This filter gives the first count lines of each of the
          specified files, or of the standard input.  If count is
          omitted it defaults to 10.


     EXAMPLES
          $ cat example.txt

          Bob Jackson     533-5645
          Terry Johnson   443-9845
          Mary Stanley    243-4837
          Paul Davis      441-9384
          Mary Wadsworth  435-5832
          Karen Hoopes    564-6345
          Susan Walbridge 352-5353
          Claudine Dumont 463-8383
          Carla Nespole   535-4325
          Max Thompson    334-8453
          Jennnifer Mas   334-3522
          Melanie Jones   394-4857

          The above example shows the contents of the example file.

          $ head example.txt

          Bob Jackson      533-5645
          Terry Johnson    443-9845
          Mary Stanley     243-4837
          Paul Davis       441-9384
          Mary Wadsworth   462-5832
          Karen Hoopes     564-6345
          Susan Walbridge  352-5353
          Claudine Dumont  463-8383
          Carla Nespole    535-4325
          Max Thompson     334-8453

          The above example of the command with no switches displays
          the first ten lines of the example file.


          $ head -8 example.txt

          Bob Jackson      533-5645
          Terry Johnson    443-9845
          Mary Stanley     243-4837



     Licensed material--property of copyright holder(s)         Page 1





     head(1)                    DG/UX 4.30                     head(1)



          Paul Davis       441-9384
          Mary Wadsworth   462-5832
          Karen Hoopes     564-6345
          Susan Walbridge  352-5353
          Claudine Dumont  463-8383

          The above example of the command with the switch displays
          the desired number of lines from the example file.

     SEE ALSO
          tail(1)












































     Licensed material--property of copyright holder(s)         Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026