neulab/tldr huggingface dataset:
-d, --debug Enable socket level debugging (when the Linux kernel supports it)
-F, --dont-fragment Do not fragment probe packets. (For IPv4 it also sets DF bit, which tells intermediate routers not to fragment remotely as well).
Varying the size of the probing packet by the packet_len command line parameter, you can manually obtain information about the MTU of individual network hops. The --mtu option (see below) tries to do this automatically.
Note, that non-fragmented features (like -F or --mtu) work properly since the Linux kernel 2.6.22 only.  Before that version, IPv6 was always fragmented, IPv4 could use the once the discovered final mtu only (from the route cache), which can be less than the actual mtu of a device.
-f first_ttl, --first=first_ttl Specifies with what TTL to start. Defaults to 1.
-g gateway, --gateway=gateway Tells traceroute to add an IP source routing option to the outgoing packet that tells the network to route the packet through the specified gateway (most routers have disabled source routing for security reasons).  In general, several gateway's is allowed (comma separated). For IPv6, the form of num,addr,addr...  is allowed, where num is a route header type (default is type 2). Note the type 0 route header is now deprecated (rfc5095).
-i interface, --interface=interface Specifies the interface through which traceroute should send packets. By default, the interface is selected according to the routing table.
-m max_ttl, --max-hops=max_ttl Specifies the maximum number of hops (max time-to-live value) traceroute will probe. The default is 30.
-N squeries, --sim-queries=squeries Specifies the number of probe packets sent out simultaneously. Sending several probes concurrently can speed up traceroute considerably. The default value is 16. Note that some routers and hosts can use ICMP rate throttling. In such a situation specifying too large number can lead to loss of some responses.
-n     Do not try to map IP addresses to host names when displaying them.
-p port, --port=port For UDP tracing, specifies the destination port base traceroute will use (the destination port number will be incremented by each probe). For ICMP tracing, specifies the initial ICMP sequence value (incremented by each probe too). For TCP and others specifies just the (constant) destination port to connect.
-t tos, --tos=tos For IPv4, set the Type of Service (TOS) and Precedence value. Useful values are 16 (low delay) and 8 (high throughput). Note that in order to use some TOS precedence values, you have to be super user. For IPv6, set the Traffic Control value.
-l flow_label, --flowlabel=flow_label Use specified flow_label for IPv6 packets.
-w max[,here,near], --wait=max[,here,near] Determines how long to wait for a response to a probe.
There are three (in general) float values separated by a comma (or a slash).  Max specifies the maximum time (in seconds, default 5.0) to wait, in any case.
Traditional traceroute implementation always waited whole max seconds for any probe. But if we already have some replies from the same hop, or even from some next hop, we can use the round trip time of such a reply as a hint to determine the actual reasonable amount of time to wait.
The optional here (default 3.0) specifies a factor to multiply the round trip time of an already received response from the same hop. The resulting value is used as a timeout for the probe, instead of (but no more than) max.  The optional near (default 10.0) specifies a similar factor for a response from some next hop. (The time of the first found result is used in both cases).
First, we look for the same hop (of the probe which will be printed first from now).  If nothing found, then look for some next hop. If nothing found, use max.  If here and/or near have zero values, the corresponding computation is skipped. Here and near are always set to zero if only max is specified (for compatibility with previous versions).
-q nqueries, --queries=nqueries Sets the number of probe packets per hop. The default is 3.
-r     Bypass the normal routing tables and send directly to a host on an attached network.  If the host is not on a directly-attached network, an error is returned.  This option can be used to ping a local host through an interface that has no route through it.
-s source_addr, --source=source_addr Chooses an alternative source address. Note that you must select the address of one of the interfaces.  By default, the address of the outgoing interface is used.
-z sendwait, --sendwait=sendwait Minimal time interval between probes (default 0).  If the value is more than 10, then it specifies a number in milliseconds, else it is a number of seconds (float point values allowed too).  Useful when some routers use rate-limit for ICMP messages.
-e, --extensions Show ICMP extensions (rfc4884). The general form is CLASS/TYPE: followed by a hexadecimal dump.  The MPLS (rfc4950) is shown parsed, in a form: MPLS:L=label,E=exp_use,S=stack_bottom,T=TTL (more objects separated by / ).
-A, --as-path-lookups Perform AS path lookups in routing registries and print results directly after the corresponding addresses.
There are additional options intended for advanced usage (such as alternate trace methods etc.):
--sport=port Chooses the source port to use. Implies -N 1 -w 5 .  Normally source ports (if applicable) are chosen by the system.
--fwmark=mark Set the firewall mark for outgoing packets (since the Linux kernel 2.6.25).
-M method, --module=name Use specified method for traceroute operations. Default traditional udp method has name default, icmp (-I) and tcp (-T) have names icmp and tcp respectively. Method-specific options can be passed by -O .  Most methods have their simple shortcuts, (-I means -M icmp, etc).
-O option, --options=options Specifies some method-specific option. Several options are separated by comma (or use several -O on cmdline).  Each method may have its own specific options, or many not have them at all. To print information about available options, use -O help.
-U, --udp Use UDP to particular destination port for tracerouting (instead of increasing the port per each probe). Default port is 53 (dns).
-UL    Use UDPLITE for tracerouting (default port is 53).
-D, --dccp Use DCCP Requests for probes.
-P protocol, --protocol=protocol Use raw packet of specified protocol for tracerouting. Default protocol is 253 (rfc3692).
--mtu  Discover MTU along the path being traced. Implies -F -N 1.  New mtu is printed once in a form of F=NUM at the first probe of a hop which requires such mtu to be reached. (Actually, the correspond "frag needed" icmp message normally is sent by the previous hop).
Note, that some routers might cache once the seen information on a fragmentation. Thus you can receive the final mtu from a closer hop.  Try to specify an unusual tos by -t , this can help for one attempt (then it can be cached there as well). See -F option for more info.
--back Print the number of backward hops when it seems different with the forward direction. This number is guessed in assumption that remote hops send reply packets with initial ttl set to either 64, or 128 or 255 (which seems a common practice). It is printed as a negate value in a form of '-NUM' .
In general, a particular traceroute method may have to be chosen by -M name, but most of the methods have their simple cmdline switches (you can see them after the method name, if present).
default The traditional, ancient method of tracerouting. Used by default.
Probe packets are udp datagrams with so-called "unlikely" destination ports.  The "unlikely" port of the first probe is 33434, then for each next probe it is incremented by one. Since the ports are expected to be unused, the destination host normally returns "icmp unreach port" as a final response.  (Nobody knows what happens when some application listens for such ports, though).
This method is allowed for unprivileged users.
icmp       -I Most usual method for now, which uses icmp echo packets for probes. If you can ping(8) the destination host, icmp tracerouting is applicable as well.
This method may be allowed for unprivileged users since the kernel 3.0 (IPv4, for IPv6 since 3.11), which supports new dgram icmp (or "ping") sockets. To allow such sockets, sysadmin should provide net/ipv4/ping_group_range sysctl range to match any group of the user. Options:
raw    Use only raw sockets (the traditional way). This way is tried first by default (for compatibility reasons), then new dgram icmp sockets as fallback.
dgram  Use only dgram icmp sockets.
tcp        -T Well-known modern method, intended to bypass firewalls. Uses the constant destination port (default is 80, http).
If some filters are present in the network path, then most probably any "unlikely" udp ports (as for default method) or even icmp echoes (as for icmp) are filtered, and whole tracerouting will just stop at such a firewall.  To bypass a network filter, we have to use only allowed protocol/port combinations. If we trace for some, say, mailserver, then more likely -T -p 25 can reach it, even when -I can not.
This method uses well-known "half-open technique", which prevents applications on the destination host from seeing our probes at all. Normally, a tcp syn is sent. For non-listened ports we receive tcp reset, and all is done. For active listening ports we receive tcp syn+ack, but answer by tcp reset (instead of expected tcp ack), this way the remote tcp session is dropped even without the application ever taking notice.
There is a couple of options for tcp method:
syn,ack,fin,rst,psh,urg,ece,cwr Sets specified tcp flags for probe packet, in any combination.
flags=num Sets the flags field in the tcp header exactly to num.
ecn    Send syn packet with tcp flags ECE and CWR (for Explicit Congestion Notification, rfc3168).
sack,timestamps,window_scaling Use the corresponding tcp header option in the outgoing probe packet.
sysctl Use current sysctl (/proc/sys/net/*) setting for the tcp header options above and ecn.  Always set by default, if nothing else specified.
mss=num Use value of num for maxseg tcp header option (when syn).
info   Print tcp flags of final tcp replies when the target host is reached.  Allows to determine whether an application listens the port and other useful things.
Default options is syn,sysctl.
tcpconn An initial implementation of tcp method, simple using connect(2) call, which does full tcp session opening. Not recommended for normal use, because a destination application is always affected (and can be confused).
udp        -U Use udp datagram with constant destination port (default 53, dns). Intended to bypass firewall as well.
Note, that unlike in tcp method, the correspond application on the destination host always receive our probes (with random data), and most can easily be confused by them. Most cases it will not respond to our packets though, so we will never see the final hop in the trace. (Fortunately, it seems that at least dns servers replies with something angry).
udplite    -UL Use udplite datagram for probes (with constant destination port, default 53).
This method is allowed for unprivileged users. Options:
coverage=num Set udplite send coverage to num.
dccp    -D Use DCCP Request packets for probes (rfc4340).
This method uses the same "half-open technique" as used for TCP.  The default destination port is 33434.
service=num Set DCCP service code to num (default is 1885957735).
raw        -P proto Send raw packet of protocol proto. No protocol-specific headers are used, just IP header only. Implies -N 1 -w 5 . Options:
protocol=proto Use IP protocol proto (default 253).
To speed up work, normally several probes are sent simultaneously.  On the other hand, it creates a "storm of packages", especially in the reply direction. Routers can throttle the rate of icmp responses, and some of replies can be lost. To avoid this, decrease the number of simultaneous probes, or even set it to 1 (like in initial traceroute implementation), i.e.  -N 1
The final (target) host can drop some of the simultaneous probes, and might even answer only the latest ones. It can lead to extra "looks like expired" hops near the final hop. We use a smart algorithm to auto-detect such a situation, but if it cannot help in your case, just use -N 1 too.
For even greater stability you can slow down the program's work by -z option, for example use -z 0.5 for half-second pause between probes.
To avoid an extra waiting, we use adaptive algorithm for timeouts (see -w option for more info). It can lead to premature expiry (especially when response times differ at times) and printing "*" instead of a time. In such a case, switch this algorithm off, by specifying -w with the desired timeout only (for example, -w 5).
If some hops report nothing for every method, the last chance to obtain something is to use ping -R command (IPv4, and for nearest 8 hops only).
ping(8), ping6(8), tcpdump(8), netstat(8)
OPENSCAD(1)                  General Commands Manual                 OPENSCAD(1)
openscad - script file based graphical CAD environment
openscad [options] [file]
This manual page documents briefly the openscad command.
openscad is a software for creating solid 3D CAD objects. It focuses on CAD aspects rather than artistic ones.
OpenSCAD will start as a graphical program unless export options are given (see below). For the usage of the GUI and a description of the OpenSCAD language see the OpenSCAD user manual at https://en.wikibooks.org/wiki/OpenSCAD_User_Manual.  A tutorial can be found at https://en.wikibooks.org/wiki/OpenSCAD_Tutorial.
-o outputfile Export the given file to outputfile in STL, OFF, AMF, 3MF, DXF, SVG, or PNG format, depending on file extension of outputfile. If this option is given, the GUI will not be started.
Known extensions: stl, off, amf, 3mf, csg, dxf, svg, png, echo, ast, term, nef3, nefdbg.
Additional formats, which are mainly used for debugging and testing (but can also be used in automation), are AST (the input file as parsed and serialized again), CSG (an OpenSCAD language representation of the input file with calculations done and module calls applied), TERM (the constructive solid geometry expression passed to OpenCSG).  If outputfile is null, no output file will be written, but the file will still be evaluated and all echo commands will be written to the standard error output. (The rendering process will still take place if the --render option is given.)
--export-format Overrides format of exported scad file when using option -o, arg can be any of its supported file extensions.
-q     Quiet mode (don't print anything except errors)
-d file.deps If the -d option is given, all files accessed while exporting are written to the given deps file in the syntax of a Makefile.
-m make_command If a nonexisting file is accessed during OpenSCAD's operation, it will try to invoke make_command missing_file to create the missing file, and then read it again.
-D var=val This option can be used to assign constant values to OpenSCAD variables. The variable's value is an expression, so if this mechanism is used to assign strings, care has to be taken that the shell does not consume quotation marks.  More than one -D option can be given.
-p     Customizer parameter file.
-p     Customizer parameter set.
-v     Print version.
--render If exporting an image, render the model fully. (Default is preview)
--preview[=throwntogether] If exporting an image, use an OpenCSG preview (optionally in throwntogether mode for quicker rendering).
--animate[=N] Export N animated frames as PNG images.
--view[=axes|crosshairs|edges|scales|wireframe] View options
--csglimit=limit If exporting an image as an OpenCSG preview, stop rendering after encountering limit elements to avoid runaway resource usage.
--camera=transx,transy,transz,rotx,roty,rotz,distance If exporting an image, use a Gimbal camera with the given parameters.  Rot is rotation around the x, y, and z axis, trans is the distance to move the object in the x, y, and z directions, and distance is the distance between the camera and the center of the object.
--camera=eyex,eyey,eyez,centerx,centery,centerz If exporting an image, use a Vector camera with the given parameters.  The first three are for the Eye position, while the next three are for the Center (or target) that the camera will look at. The 'up' vector is not currently supported.
--viewall If exporting an image, adjust camera distance to fit the whole design in the frame
--autocenter If exporting an image, center the design in the frame
--imgsize=width,height If exporting an image, specify the pixel width and height
--projection=[o|ortho|p|perspective] If exporting an image, specify whether to use orthographic or perspective projection
--colorscheme=scheme If exporting an image, use the specified color scheme for the rendering.  scheme can be any of Cornfield, Sunset, Metallic, Starnight, BeforeDawn, Nature or DeepOcean Solarized, Tomorrow, Tomorrow 2, Tomorrow Night, Monotone.
--hardwarnings Stop on the first warning
--check-parameters=[true|false] Configure the parameter check for user modules and functions
--check-parameter-ranges=[true|false] Configure the parameter range check for builtin modules
--info Show which versions of libraries were used to compile the program, and which OpenGL details are discovered.
Render example001.scad into the .stl format (raw triangle data):
openscad -o example001.stl examples/example001.scad
Compile a 2d image using a camera rotated 25 degrees in x and 35 in z, distance 500, with orthographic projection:
openscad -o o.png o.scad --camera=0,0,0,25,0,35,500 --projection=ortho
Set the 'mode' variable in example017 so that it will render only the parts of the shape. Export to a .dxf file.
openscad -o example017.dxf -D'mode="parts"' examples/example017.scad
OpenSCAD was written by Claire 'Clifford' Wolf, Marius Kintel, and others.
This manual page was written by chrysn <chrysn@fsfe.org>, for the Debian project (and may be used by others). Updated by the OpenSCAD team.
MDP(1)                       General Commands Manual                      MDP(1)
mdp - A command-line based markdown presentation tool
mdp [OPTION]... [FILE]
mdp is a command-line program that allows you to make elegant presentations from markdown formatted FILEs.
It is as easy as write your presentation content in the text editor of your preference and launch the presentation from the command-line.
Input Control FILE   The input file from which the presentation is read. If no file is specified, or if the file name is -, the presentation is read from standard input.
Output Control -e, --expand Enable character entity expansion (e.g. '&gt;' becomes '>').
-f, --nofade Disable color fading in 256 color mode.
-i, --invert Swap black and white color.
-t, --notrans Disable transparency in transparent terminal.
Miscellaneous Options -d, --debug Enable debug messages on STDERR. Add multiple times to increases debug level.
-h, --help Display usage message and exit.
-v, --version Display version and license information.
Output Control MDP_LIST_HEAD[1-3], MDP_LIST_OPEN[1-3] Controls the list characters of unordered lists.
The default is equivalent to: MDP_LIST_OPEN1=' |  ' MDP_LIST_OPEN2=' |  ' MDP_LIST_OPEN3=' |  ' MDP_LIST_HEAD1=' +- ' MDP_LIST_HEAD2=' +- ' MDP_LIST_HEAD3=' +- '
For a complete list of supported markups, refer the sample presentation (sample.md) provided alongside mdp, or online available at https://github.com/visit1985/mdp.
Slides The input FILE is split into multiple slides by horizontal rules. Each consisting of at least 3 --- or *** characters on a single line.  This line must be prefixed by an completely empty line.  It can also contain spaces but no other characters.
If any slide is too large to fit into your current screen, an error message will be displayed at the moment the presentation is launched.
Line-by-Line Mode Block-by-Block Mode A single <br>, <BR> or ^ on an otherwise empty line signals mdp to stop output of the current slide (stop point) and wait for a key-press by the user.
This enables the user to display bullet points or list items one by one (line by line) or block by block.
Headers mdp supports header lines in the format of @[DESCRIPTION] [VALUE] The first two header lines are displayed as title and author in top and bottom bar.
Headers are only recognized at the top of the input FILE.
Line spanning markup Supported are headlines, code blocks, quotes and unordered lists.
In-line markup As well as bold text, underlined text and in-line code.
Most terminals are able to display 256 colors these days. But some of them enable only 16 colors by default. To enjoy mdp's full capabilities, these terminals need to be signaled to enable 256 color mode. This is usually done by setting the TERM environment variable.
h, j, k, l, Arrow keys, Space, Enter, Backspace, Page Up, Page Down Display next/previous slide or continue after a stop point.
g, Home Jump to first slide.
G, End Jump to last slide.
1..N   Jump to Nth slide.
r      Reload the input FILE. This key is disabled if input was read from standard input.
q      Exit mdp.
Written by Michael Goehler and others, see https://github.com/visit1985/mdp/blob/master/AUTHORS.
Copyright (C) 2018 Michael Goehler
SHA256SUM(1)                      User Commands                     SHA256SUM(1)
sha256sum - compute and check SHA256 message digest
sha256sum [OPTION]... [FILE]...
Print or check SHA256 (256-bit) checksums.
Full documentation <https://www.gnu.org/software/coreutils/sha256sum> or available locally via: info '(coreutils) sha2 utilities'
ARIA2C(1)                             aria2                            ARIA2C(1)
aria2c - The ultra fast download utility
aria2c [<OPTIONS>] [<URI>|<MAGNET>|<TORRENT_FILE>|<METALINK_FILE>] ...
aria2 is a utility for downloading files. The supported protocols are HTTP(S), FTP, SFTP, BitTorrent, and Metalink. aria2 can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth. It supports downloading a file from HTTP(S)/FTP /SFTP and BitTorrent at the same time, while the data downloaded from HTTP(S)/FTP/SFTP is uploaded to the BitTorrent swarm. Using Metalink chunk checksums, aria2 automatically validates chunks of data while downloading a file.
NOTE: Most FTP related options are applicable to SFTP as well.  Some options are not effective against SFTP (e.g., --ftp-pasv)
Basic Options -d, --dir=<DIR> The directory to store the downloaded file.
-i, --input-file=<FILE> Downloads the URIs listed in FILE. You can specify multiple sources for a single entity by putting multiple URIs on a single line separated by the TAB character.  Additionally, options can be specified after each URI line. Option lines must start with one or more white space characters (SPACE or TAB) and must only contain one option per line.  Input files can use gzip compression.  When FILE is specified as -, aria2 will read the input from stdin.  See the Input File subsection for details.  See also the --deferred-input option.  See also the --save-session option.
-l, --log=<LOG> The file name of the log file. If - is specified, log is written to stdout. If empty string("") is specified, or this option is omitted, no log is written to disk at all.
-j, --max-concurrent-downloads=<N> Set the maximum number of parallel downloads for every queue item. See also the --split option.  Default: 5
NOTE: --max-concurrent-downloads limits the number of items which are downloaded concurrently.  --split and --min-split-size affect the number of connections inside each item.  Imagine that you have an input file (see --input-file option) like this:
http://example.com/foo http://example.com/bar
Here is 2 download items.  aria2 can download these items concurrently if the value more than or equal 2 is given to --max-concurrent-downloads.  In each download item, you can configure the number of connections using --split and/or --min-split-size, etc.
-V, --check-integrity [true|false] Check file integrity by validating piece hashes or a hash of entire file.  This option has effect only in BitTorrent, Metalink downloads with checksums or HTTP(S)/FTP downloads with --checksum option.  If piece hashes are provided, this option can detect damaged portions of a file and re-download them.  If a hash of entire file is provided, hash check is only done when file has been already download. This is determined by file length. If hash check fails, file is re-downloaded from scratch.  If both piece hashes and a hash of entire file are provided, only piece hashes are used. Default: false
-c, --continue [true|false] Continue downloading a partially downloaded file.  Use this option to resume a download started by a web browser or another program which downloads files sequentially from the beginning.  Currently this option is only applicable to HTTP(S)/FTP downloads.
-h, --help[=<TAG>|<KEYWORD>] The help messages are classified with tags. A tag starts with #. For example, type --help=#http to get the usage for the options tagged with #http. If non-tag word is given, print the usage for the options whose name includes that word.  Available Values: #basic, #advanced, #http, #https, #ftp, #metalink, #bittorrent, #cookie, #hook, #file, #rpc, #checksum, #experimental, #deprecated, #help, #all Default: #basic
HTTP/FTP/SFTP Options --all-proxy=<PROXY> Use a proxy server for all protocols.  To override a previously defined proxy, use "".  You also can override this setting and specify a proxy server for a particular protocol using --http-proxy, --https-proxy and --ftp-proxy options.  This affects all downloads.  The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT].  See also ENVIRONMENT section.
NOTE: If user and password are embedded in proxy URI and they are also specified by --{http,https,ftp,all}-proxy-{user,passwd} options, those specified later override prior options. For example, if you specified http-proxy-user=myname, http-proxy-passwd=mypass in aria2.conf and you specified --http-proxy="http://proxy" on the command-line, then you'd get HTTP proxy http://proxy with user myname and password mypass.
Another example: if you specified on the command-line --http-proxy="http://user:pass@proxy" --http-proxy-user="myname" --http-proxy-passwd="mypass", then you'd get HTTP proxy http://proxy with user myname and password mypass.
One more example: if you specified in command-line --http-proxy-user="myname" --http-proxy-passwd="mypass" --http-proxy="http://user:pass@proxy", then you'd get HTTP proxy http://proxy with user user and password pass.
--all-proxy-passwd=<PASSWD> Set password for --all-proxy option.
--all-proxy-user=<USER> Set user for --all-proxy option.
--checksum=<TYPE>=<DIGEST> Set checksum. TYPE is hash type. The supported hash type is listed in Hash Algorithms in aria2c -v. DIGEST is hex digest.  For example, setting sha-1 digest looks like this: sha-1=0192ba11326fe2298c8cb4de616f4d4140213838 This option applies only to HTTP(S)/FTP downloads.
--connect-timeout=<SEC> Set the connect timeout in seconds to establish connection to HTTP/FTP/proxy server. After the connection is established, this option makes no effect and --timeout option is used instead. Default: 60
--dry-run [true|false] If true is given, aria2 just checks whether the remote file is available and doesn't download data. This option has effect on HTTP/FTP download.  BitTorrent downloads are canceled if true is specified.  Default: false
--lowest-speed-limit=<SPEED> Close connection if download speed is lower than or equal to this value(bytes per sec).  0 means aria2 does not have a lowest speed limit.  You can append K or M (1K = 1024, 1M = 1024K).  This option does not affect BitTorrent downloads.  Default: 0
-x, --max-connection-per-server=<NUM> The maximum number of connections to one server for each download. Default: 1
--max-file-not-found=<NUM> If aria2 receives "file not found" status from the remote HTTP/FTP servers NUM times without getting a single byte, then force the download to fail. Specify 0 to disable this option. This options is effective only when using HTTP/FTP servers.  The number of retry attempt is counted toward --max-tries, so it should be configured too.
-m, --max-tries=<N> Set number of tries. 0 means unlimited.  See also --retry-wait. Default: 5
-k, --min-split-size=<SIZE> aria2 does not split less than 2*SIZE byte range.  For example, let's consider downloading 20MiB file. If SIZE is 10M, aria2 can split file into 2 range [0-10MiB) and [10MiB-20MiB) and download it using 2 sources(if --split >= 2, of course).  If SIZE is 15M, since 2*15M > 20MiB, aria2 does not split file and download it using 1 source.  You can append K or M (1K = 1024, 1M = 1024K). Possible Values: 1M -1024M Default: 20M
--netrc-path=<FILE> Specify the path to the netrc file.  Default: $(HOME)/.netrc
NOTE: Permission of the .netrc file must be 600.  Otherwise, the file will be ignored.
-n, --no-netrc [true|false] Disables netrc support. netrc support is enabled by default.
NOTE: netrc file is only read at the startup if --no-netrc is false. So if --no-netrc is true at the startup, no netrc is available throughout the session.  You cannot get netrc enabled even if you send --no-netrc=false using aria2.changeGlobalOption().
--no-proxy=<DOMAINS> Specify a comma separated list of host names, domains and network addresses with or without a subnet mask where no proxy should be used.
NOTE: For network addresses with a subnet mask, both IPv4 and IPv6 addresses work.  The current implementation does not resolve the host name in an URI to compare network addresses specified in --no-proxy. So it is only effective if URI has numeric IP addresses.
-o, --out=<FILE> The file name of the downloaded file.  It is always relative to the directory given in --dir option.  When the --force-sequential option is used, this option is ignored.
NOTE: You cannot specify a file name for Metalink or BitTorrent downloads.  The file name specified here is only used when the URIs fed to aria2 are given on the command line directly, but not when using --input-file, --force-sequential option.
$ aria2c -o myfile.zip "http://mirror1/file.zip" "http://mirror2/file.zip"
--proxy-method=<METHOD> Set the method to use in proxy request.  METHOD is either get or tunnel. HTTPS downloads always use tunnel regardless of this option.  Default: get
-R, --remote-time [true|false] Retrieve timestamp of the remote file from the remote HTTP/FTP server and if it is available, apply it to the local file. Default: false
--reuse-uri [true|false] Reuse already used URIs if no unused URIs are left.  Default: true
--retry-wait=<SEC> Set the seconds to wait between retries. When SEC > 0, aria2 will retry downloads when the HTTP server returns a 503 response. Default: 0
--server-stat-of=<FILE> Specify the file name to which performance profile of the servers is saved. You can load saved data using --server-stat-if option. See Server Performance Profile subsection below for file format.
--server-stat-if=<FILE> Specify the file name to load performance profile of the servers. The loaded data will be used in some URI selector such as feedback.  See also --uri-selector option. See Server Performance Profile subsection below for file format.
--server-stat-timeout=<SEC> Specifies timeout in seconds to invalidate performance profile of the servers since the last contact to them.  Default: 86400 (24hours)
-s, --split=<N> Download a file using N connections.  If more than N URIs are given, first N URIs are used and remaining URIs are used for backup.  If less than N URIs are given, those URIs are used more than once so that N connections total are made simultaneously. The number of connections to the same host is restricted by the --max-connection-per-server option.  See also the --min-split-size option.  Default: 5
NOTE: Some Metalinks regulate the number of servers to connect. aria2 strictly respects them.  This means that if Metalink defines the maxconnections attribute lower than N, then aria2 uses the value of this lower value instead of N.
--stream-piece-selector=<SELECTOR> Specify piece selection algorithm used in HTTP/FTP download. Piece means fixed length segment which is downloaded in parallel in segmented download. If default is given, aria2 selects piece so that it reduces the number of establishing connection. This is reasonable default behavior because establishing connection is an expensive operation.  If inorder is given, aria2 selects piece which has minimum index. Index=0 means first of the file. This will be useful to view movie while downloading it. --enable-http-pipelining option may be useful to reduce re-connection overhead.  Please note that aria2 honors --min-split-size option, so it will be necessary to specify a reasonable value to --min-split-size option.  If random is given, aria2 selects piece randomly. Like inorder, --min-split-size option is honored.  If geom is given, at the beginning aria2 selects piece which has minimum index like inorder, but it exponentially increasingly keeps space from previously selected piece. This will reduce the number of establishing connection and at the same time it will download the beginning part of the file first. This will be useful to view movie while downloading it. Default: default
-t, --timeout=<SEC> Set timeout in seconds.  Default: 60
--uri-selector=<SELECTOR> Specify URI selection algorithm. The possible values are inorder, feedback and adaptive.  If inorder is given, URI is tried in the order appeared in the URI list.  If feedback is given, aria2 uses download speed observed in the previous downloads and choose fastest server in the URI list. This also effectively skips dead mirrors. The observed download speed is a part of performance profile of servers mentioned in --server-stat-of and --server-stat-if options.  If adaptive is given, selects one of the best mirrors for the first and reserved connections.  For supplementary ones, it returns mirrors which has not been tested yet, and if each of them has already been tested, returns mirrors which has to be tested again. Otherwise, it doesn't select anymore mirrors. Like feedback, it uses a performance profile of servers. Default: feedback
HTTP Specific Options --ca-certificate=<FILE> Use the certificate authorities in FILE to verify the peers.  The certificate file must be in PEM format and can contain multiple CA certificates.  Use --check-certificate option to enable verification.
NOTE: If you build with OpenSSL or the recent version of GnuTLS which has gnutls_certificate_set_x509_system_trust() function and the library is properly configured to locate the system-wide CA certificates store, aria2 will automatically load those certificates at the startup.
NOTE: WinTLS and AppleTLS do not support this option. Instead you will have to import the certificate into the OS trust store.
--certificate=<FILE> Use the client certificate in FILE. The certificate must be either in PKCS12 (.p12, .pfx) or in PEM format.
PKCS12 files must contain the certificate, a key and optionally a chain of additional certificates. Only PKCS12 files with a blank import password can be opened!
When using PEM, you have to specify the private key via --private-key as well.
NOTE: WinTLS does not support PEM files at the moment. Users have to use PKCS12 files.
NOTE: AppleTLS users should use the KeyChain Access utility to import the client certificate and get the SHA-1 fingerprint from the Information dialog corresponding to that certificate.  To start aria2c use --certificate=<SHA-1>.  Alternatively PKCS12 files are also supported. PEM files, however, are not supported.
--check-certificate [true|false] Verify the peer using certificates specified in --ca-certificate option.  Default: true
--http-accept-gzip [true|false] Send Accept: deflate, gzip request header and inflate response if remote server responds with Content-Encoding: gzip or Content-Encoding: deflate.  Default: false
NOTE: Some server responds with Content-Encoding: gzip for files which itself is gzipped file. aria2 inflates them anyway because of the response header.
--http-auth-challenge [true|false] Send HTTP authorization header only when it is requested by the server. If false is set, then authorization header is always sent to the server.  There is an exception: if user name and password are embedded in URI, authorization header is always sent to the server regardless of this option.  Default: false
--http-no-cache [true|false] Send Cache-Control: no-cache and Pragma: no-cache header to avoid cached content.  If false is given, these headers are not sent and you can add Cache-Control header with a directive you like using --header option. Default: false
--http-user=<USER> Set HTTP user. This affects all URIs.
--http-passwd=<PASSWD> Set HTTP password. This affects all URIs.
--http-proxy=<PROXY> Use a proxy server for HTTP.  To override a previously defined proxy, use "".  See also the --all-proxy option.  This affects all http downloads.  The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT]
--http-proxy-passwd=<PASSWD> Set password for --http-proxy.
--http-proxy-user=<USER> Set user for --http-proxy.
--https-proxy=<PROXY> Use a proxy server for HTTPS. To override a previously defined proxy, use "".  See also the --all-proxy option.  This affects all https download.  The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT]
--https-proxy-passwd=<PASSWD> Set password for --https-proxy.
--https-proxy-user=<USER> Set user for --https-proxy.
--private-key=<FILE> Use the private key in FILE.  The private key must be decrypted and in PEM format.  The behavior when encrypted one is given is undefined.  See also --certificate option.
--referer=<REFERER> Set an http referrer (Referer). This affects all http/https downloads.  If * is given, the download URI is also used as the referrer.  This may be useful when used together with the --parameterized-uri option.
--enable-http-keep-alive [true|false] Enable HTTP/1.1 persistent connection.  Default: true
--enable-http-pipelining [true|false] Enable HTTP/1.1 pipelining.  Default: false
NOTE: In performance perspective, there is usually no advantage to enable this option.
--header=<HEADER> Append HEADER to HTTP request header.  You can use this option repeatedly to specify more than one header:
$ aria2c --header="X-A: b78" --header="X-B: 9J1" "http://host/file"
--load-cookies=<FILE> Load Cookies from FILE using the Firefox3 format (SQLite3), Chromium/Google Chrome (SQLite3) and the Mozilla/Firefox(1.x/2.x)/Netscape format.
NOTE: If aria2 is built without libsqlite3, then it doesn't support Firefox3 and Chromium/Google Chrome cookie format.
--save-cookies=<FILE> Save Cookies to FILE in Mozilla/Firefox(1.x/2.x)/ Netscape format. If FILE already exists, it is overwritten. Session Cookies are also saved and their expiry values are treated as 0.  Possible Values: /path/to/file
--use-head [true|false] Use HEAD method for the first request to the HTTP server. Default: false
-U, --user-agent=<USER_AGENT> Set user agent for HTTP(S) downloads.  Default: aria2/$VERSION, $VERSION is replaced by package version.
FTP/SFTP Specific Options --ftp-user=<USER> Set FTP user. This affects all URIs.  Default: anonymous
--ftp-passwd=<PASSWD> Set FTP password. This affects all URIs.  If user name is embedded but password is missing in URI, aria2 tries to resolve password using .netrc. If password is found in .netrc, then use it as password. If not, use the password specified in this option. Default: ARIA2USER@
-p, --ftp-pasv [true|false] Use the passive mode in FTP.  If false is given, the active mode will be used.  Default: true
NOTE: This option is ignored for SFTP transfer.
--ftp-proxy=<PROXY> Use a proxy server for FTP.  To override a previously defined proxy, use "".  See also the --all-proxy option.  This affects all ftp downloads.  The format of PROXY is [http://][USER:PASSWORD@]HOST[:PORT]
--ftp-proxy-passwd=<PASSWD> Set password for --ftp-proxy option.
--ftp-proxy-user=<USER> Set user for --ftp-proxy option.
--ftp-type=<TYPE> Set FTP transfer type. TYPE is either binary or ascii.  Default: binary
--ftp-reuse-connection [true|false] Reuse connection in FTP.  Default: true
--ssh-host-key-md=<TYPE>=<DIGEST> Set checksum for SSH host public key. TYPE is hash type. The supported hash type is sha-1 or md5. DIGEST is hex digest. For example: sha-1=b030503d4de4539dc7885e6f0f5e256704edf4c3.  This option can be used to validate server's public key when SFTP is used. If this option is not set, which is default, no validation takes place.
BitTorrent/Metalink Options --select-file=<INDEX>... Set file to download by specifying its index.  You can find the file index using the --show-files option.  Multiple indexes can be specified by using ,, for example: 3,6.  You can also use - to specify a range: 1-5.  , and - can be used together: 1-5,8,9. When used with the -M option, index may vary depending on the query (see --metalink-* options).
NOTE: In multi file torrent, the adjacent files specified by this option may also be downloaded. This is by design, not a bug.  A single piece may include several files or part of files, and aria2 writes the piece to the appropriate files.
-S, --show-files [true|false] Print file listing of ".torrent", ".meta4" and ".metalink" file and exit.  In case of ".torrent" file, additional information (infohash, piece length, etc) is also printed.
BitTorrent Specific Options --bt-detach-seed-only [true|false] Exclude seed only downloads when counting concurrent active downloads (See -j option).  This means that if -j3 is given and this option is turned on and 3 downloads are active and one of those enters seed mode, then it is excluded from active download count (thus it becomes 2), and the next download waiting in queue gets started. But be aware that seeding item is still recognized as active download in RPC method.  Default: false
--bt-enable-hook-after-hash-check [true|false] Allow hook command invocation after hash check (see -V option) in BitTorrent download. By default, when hash check succeeds, the command given by --on-bt-download-complete is executed. To disable this action, give false to this option.  Default: true
--bt-enable-lpd [true|false] Enable Local Peer Discovery.  If a private flag is set in a torrent, aria2 doesn't use this feature for that download even if true is given.  Default: false
--bt-exclude-tracker=<URI>[,...] Comma separated list of BitTorrent tracker's announce URI to remove. You can use special value * which matches all URIs, thus removes all announce URIs. When specifying * in shell command-line, don't forget to escape or quote it.  See also --bt-tracker option.
--bt-external-ip=<IPADDRESS> Specify the external IP address to use in BitTorrent download and DHT.  It may be sent to BitTorrent tracker. For DHT, this option should be set to report that local node is downloading a particular torrent.  This is critical to use DHT in a private network. Although this function is named external, it can accept any kind of IP addresses.
--bt-force-encryption [true|false] Requires BitTorrent message payload encryption with arc4.  This is a shorthand of --bt-require-crypto --bt-min-crypto-level=arc4. This option does not change the option value of those options.  If true is given, deny legacy BitTorrent handshake and only use Obfuscation handshake and always encrypt message payload. Default: false
--bt-hash-check-seed [true|false] If true is given, after hash check using --check-integrity option and file is complete, continue to seed file. If you want to check file and download it only when it is damaged or incomplete, set this option to false.  This option has effect only on BitTorrent download.  Default: true
--bt-load-saved-metadata [true|false] Before getting torrent metadata from DHT when downloading with magnet link, first try to read file saved by --bt-save-metadata option.  If it is successful, then skip downloading metadata from DHT.  Default: false
--bt-lpd-interface=<INTERFACE> Use given interface for Local Peer Discovery. If this option is not specified, the default interface is chosen. You can specify interface name and IP address.  Possible Values: interface, IP address
--bt-max-open-files=<NUM> Specify maximum number of files to open in multi-file BitTorrent/Metalink download globally.  Default: 100
--bt-max-peers=<NUM> Specify the maximum number of peers per torrent.  0 means unlimited.  See also --bt-request-peer-speed-limit option. Default: 55
--bt-metadata-only [true|false] Download meta data only. The file(s) described in meta data will not be downloaded. This option has effect only when BitTorrent Magnet URI is used. See also --bt-save-metadata option.  Default: false
--bt-min-crypto-level=plain|arc4 Set minimum level of encryption method.  If several encryption methods are provided by a peer, aria2 chooses the lowest one which satisfies the given level.  Default: plain
--bt-prioritize-piece=head[=<SIZE>],tail[=<SIZE>] Try to download first and last pieces of each file first. This is useful for previewing files. The argument can contain 2 keywords: head and tail. To include both keywords, they must be separated by comma. These keywords can take one parameter, SIZE. For example, if head=<SIZE> is specified, pieces in the range of first SIZE bytes of each file get higher priority.  tail=<SIZE> means the range of last SIZE bytes of each file. SIZE can include K or M (1K = 1024, 1M = 1024K). If SIZE is omitted, SIZE=1M is used.
--bt-remove-unselected-file [true|false] Removes the unselected files when download is completed in BitTorrent. To select files, use --select-file option. If it is not used, all files are assumed to be selected. Please use this option with care because it will actually remove files from your disk.  Default: false
--bt-require-crypto [true|false] If true is given, aria2 doesn't accept and establish connection with legacy BitTorrent handshake(\19BitTorrent protocol).  Thus aria2 always uses Obfuscation handshake.  Default: false
--bt-request-peer-speed-limit=<SPEED> If the whole download speed of every torrent is lower than SPEED, aria2 temporarily increases the number of peers to try for more download speed. Configuring this option with your preferred download speed can increase your download speed in some cases. You can append K or M (1K = 1024, 1M = 1024K).  Default: 50K
--bt-save-metadata [true|false] Save meta data as ".torrent" file. This option has effect only when BitTorrent Magnet URI is used.  The file name is hex encoded info hash with suffix ".torrent". The directory to be saved is the same directory where download file is saved. If the same file already exists, meta data is not saved. See also --bt-metadata-only option. Default: false
--bt-seed-unverified [true|false] Seed previously downloaded files without verifying piece hashes. Default: false
--bt-stop-timeout=<SEC> Stop BitTorrent download if download speed is 0 in consecutive SEC seconds. If 0 is given, this feature is disabled.  Default: 0
--bt-tracker=<URI>[,...] Comma separated list of additional BitTorrent tracker's announce URI. These URIs are not affected by --bt-exclude-tracker option because they are added after URIs in --bt-exclude-tracker option are removed.
--bt-tracker-connect-timeout=<SEC> Set the connect timeout in seconds to establish connection to tracker. After the connection is established, this option makes no effect and --bt-tracker-timeout option is used instead.  Default: 60
--bt-tracker-interval=<SEC> Set the interval in seconds between tracker requests. This completely overrides interval value and aria2 just uses this value and ignores the min interval and interval value in the response of tracker. If 0 is set, aria2 determines interval based on the response of tracker and the download progress.  Default: 0
--bt-tracker-timeout=<SEC> Set timeout in seconds. Default: 60
--dht-entry-point=<HOST>:<PORT> Set host and port as an entry point to IPv4 DHT network.
--dht-entry-point6=<HOST>:<PORT> Set host and port as an entry point to IPv6 DHT network.
--dht-file-path=<PATH> Change the IPv4 DHT routing table file to PATH.  Default: $HOME/.aria2/dht.dat if present, otherwise $XDG_CACHE_HOME/aria2/dht.dat.
--dht-file-path6=<PATH> Change the IPv6 DHT routing table file to PATH.  Default: $HOME/.aria2/dht6.dat if present, otherwise $XDG_CACHE_HOME/aria2/dht6.dat.
--dht-listen-addr6=<ADDR> Specify address to bind socket for IPv6 DHT.  It should be a global unicast IPv6 address of the host.
--dht-listen-port=<PORT>... Set UDP listening port used by DHT(IPv4, IPv6) and UDP tracker. Multiple ports can be specified by using ,, for example: 6881,6885.  You can also use - to specify a range: 6881-6999. , and - can be used together.  Default: 6881-6999
NOTE: Make sure that the specified ports are open for incoming UDP traffic.