Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ head(1) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                                  head(1)



        _________________________________________________________________
        head                                                      Command
        give first few lines
        _________________________________________________________________


        SYNTAX

        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



        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)





                                                                  head(1)



        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
        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)































        DG/UX 4.00                                                 Page 2
               Licensed material--property of copyright holder(s)



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