EnglishFrenchSpanish

OnWorks favicon

checklinkp - Online in the Cloud

Run checklinkp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command checklinkp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


checklink - check the validity of links in an HTML or XHTML document

SYNOPSIS


checklink [ options ] uri ...

DESCRIPTION


This manual page documents briefly the checklink command, a.k.a. the W3CX Link Checker.

checklink is a program that reads an HTML or XHTML document, extracts a list of anchors
and links and checks that no anchor is defined twice and that all the links are
dereferenceable, including the fragments. It warns about HTTP redirects, including
directory redirects, and can check recursively a part of a web site.

The program can be used either as a command line tool or as a CGI script.

OPTIONS


This program follow the usual GNU command line syntax, with long options starting with two
dashes (`-'). A summary of options is included below.

-?, -h, --help
Show summary of options.

-V, --version
Output version information.

-s, --summary
Show result summary only.

-b, --broken
Show only the broken links, not the redirects.

-e, --directory
Hide directory redirects - e.g. <http://www.w3.org/TR> -> <http://www.w3.org/TR/>.

-r, --recursive
Check the documents linked from the first one.

-D, --depth n
Check the documents linked from the first one to depth n (implies --recursive).

-l, --location uri
Scope of the documents checked (implies --recursive). Can be specified multiple
times in order to specify multiple recursion bases. If the URI of a candidate
document is downwards relative to any of the bases, it is considered to be within the
scope. If not specified, the default is the base URI of the initial document, for
example for <http://www.w3.org/TR/html4/Overview.html> it would be
<http://www.w3.org/TR/html4/>.

-X, --exclude regexp
Do not check links whose full, canonical URIs match regexp. Note that this option
limits recursion the same way as --exclude-docs with the same regular expression
would.

--exclude-docs regexp
In recursive mode, do not check links in documents whose full, canonical URIs match
regexp. This option may be specified multiple times.

--suppress-redirect URI->URI
Do not report a redirect from the first to the second URI. The "->" is literal text.
This option may be specified multiple times. Whitespace may be used instead of "->"
to separate the URIs.

--suppress-redirect-prefix URI->URI
Do not report a redirect from a child of the first URI to the same child of the
second URI. The \"->\" is literal text. This option may be specified multiple
times. Whitespace may be used instead of "->" to separate the URIs.

--suppress-temp-redirects
Do not report warnings about temporary redirects.

--suppress-broken CODE:URI
Do not report a broken link with the given CODE. CODE is the HTTP response, or -1
for robots exclusion. The ":" is literal text. This option may be specified
multiple times. Whitespace may be used instead of ":" to separate the CODE and the
URI.

--suppress-fragment URI
Do not report the given broken fragment URI. A fragment URI contains "#". This
option may be specified multiple times.

-L, --languages accept-language
The "Accept-Language" HTTP header to send. In command line mode, this header is not
sent by default. The special value "auto" causes a value to be detected from the
"LANG" environment variable, and sent if found. In CGI mode, the default is to send
the value received from the client as is.

-c, --cookies cookie-file
Use cookies, load/save them in cookie-file. The special value "tmp" causes non-
persistent use of cookies, i.e. they are used but only stored in memory for the
duration of this link checker run.

-R, --no-referer
Do not send the "Referer" HTTP header.

-q, --quiet
No output if no errors are found. Implies --summary.

-v, --verbose
Verbose mode.

-i, --indicator
Show progress while parsing as percentage of lines processed. No indicator is shown
for documents containing no linefeeds.

-u, --user username
Specify a username for authentication.

-p, --password password
Specify a password for authentication.

--hide-same-realm
Hide 401's that are in the same realm as the document checked.

-S, --sleep secs
Sleep the specified number of seconds between requests to each server. Defaults to 1
second, which is also the minimum allowed.

-t, --timeout secs
Timeout for requests, in seconds. The default is 30.

-C, --connection-cache number
Maximum number of cached connections. Using this option overrides the
"Connection_Cache_Size" configuration file parameter, see its documentation below for
the default value and more information.

-d, --domain domain
Perl regular expression describing the domain to which the authentication information
(if present) will be sent. The default value can be specified in the configuration
file. See the "Trusted" entry in the configuration file description below for more
information.

--masquerade "real-prefix surrogate-prefix"
Perform a simple string substitution: URIs which begin with the string "real-prefix"
are rewritten using the "surrogate-prefix" before being dereferenced. Useful for
making a local directory masquerade as a remote one. For example:

--masquerade "http://example.com/x/y/z/ file:///my/local/dir/"

If the document being checked contains a link to http://example.com/x/y/z/foo.html,
then the local file system will be checked for file:///my/local/dir/foo.html.

--masquerade takes a single argument consisting of two URIs, separated by whitespace.
The quote marks are not part of the argument, but one usual way of providing a value
with embedded whitespace is to enclose it in quotes.

-H, --html
HTML output.

Use checklinkp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 3
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 5
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands

Ad