×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Unix/Usefull Commands

    Revision as of 04:28, 8 January 2007 by imported>DrOwl (first draft.)
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

    just a quick dump of some usefull unix commands

    List the top ten largest files

    du -sk * | sort -rn | head -10

    nslookup

    nslookup will return infomation about domain names.

    nslookup

    nslookup -d {server}
    


    Host

    host will return infomation about domain names.

    host domain name


    -t querytype

                    Allows you to specify a particular querytype of information
                    to be looked up.  The arguments are defined in the man page
                    for named(8).  Currently-supported types include: ``a,
                    ``ns, ``md, ``mf, ``cname, ``soa, ``mb, ``mg,
                    ``mr, ``null, ``wks, ``ptr, ``hinfo, ``minfo,
                    ``mx, ``uinfo, ``uid, ``gid, ``unspec. Additional-
                    ly, the wildcard, which may be written as either ``any or
                    ``*, can be used to specify any (all) of the above types.
                    Types must be given in lower case.  Note that the default is
                    to look first for ``a, and then ``mx, except that if the
                    verbose option is turned on, the default is only ``a. The
                    ``-t option is particularly useful for filtering informa-
                    tion returned by host; see the explanation of the ``-l op-
                    tion, below, for more information.
    

    dig

    Dig gets infomations from DNS

    dig @{servers NS} {server} [axfr|MX|NS|all]

    axfr is a full zone tranfeer

    all will retreave every thing it can

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.