OnWorks favicon

asp - Online in the Cloud

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

This is the command asp 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



asp - find an host IP address by its name


asp [-uv] [-f | [-d dir] [-e ext]] [-a addresses] [-r repetitions] [-s send_delay] [-w
wait_time] [-p port] hostname
asp -V


Asp finds the IP address of an Internet connected host. In order to find it, the peer
hostname (not the FQDN), and the range of its possible IP addresses need to be specified.
Those IP addresses could be simple IP addresses as or "metaip" addresses as or 127.0.0.*: the former is a simple way to avoid to type a lot of
consecutive addresses, the latter is short for

In order to simplify the management of the associations between hostnames and addresses,
asp searches in a specified directory a text file containing the possible IP addresses of
the looked for host. The name of the text file has to be formed by the hostname followed
by an optional extension of your choice.

For example to find the author's dynamic IP address, obviously if I am on line, you can
provide my metaip address on standard input with the command:

echo "" | asp -f atomic

or you can put my metaip address in a file called atomic in your ~/.asp directory, like

echo "" > ~/.asp/atomic

and then you can simply do:

asp atomic


-u Update the file /etc/hosts with the IP address of hostname or delete the possible
old entry if the address is not found. Obviously the file have to by writable by
the user.

-v Include more verbiage to make output readable by humans. Default consists only of
dotted quad IP address, which is intended for output substitution in scripts.

-f Force the reading of addresses from standard input instead that from the hostname's

-d dir
Set the directory containing the addresses file referred by hostname to dir.
Default is ~/.asp.

-e ext
Set addresses files extension to ext. Default is no extension.

-a addresses
Set the number of queries to send before make a pause of send_delay seconds.
Default is 12 queries.

-r repetitions
Set the number of times to try the same address. Default is 3 times.

-s send_delay
Delay the sending of the next group of addresses send_delay seconds. Default is 2

-w wait_time
Wait the peer reply for wait_time seconds. Default is 5 seconds.

-p port
Specify an alternative port number. For default the port number is obtained
searching the asp entry in /etc/services.

-V Show version information.


ASPCMD This variable could be used to store your preferred settings. An option set in this
environment variable could be overridden or toggled from command line.

Use asp online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 2
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 3
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 4
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 5
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    Download Dolibarr ERP - CRM
  • 6
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    Download SQuirreL SQL Client
  • More »

Linux commands