where is the best location in a system to install software globally for users to use. asuming your the sys admin. i know it might not matter, but just wondering. (2 Replies)
I have a bit of javascript
function hasSpaces(name)
{
if(name.search(/^\s*/) != -1){
alert(name);
name.replace((/^\s*/, "~"))
alert(name);
}
return name;
} ... (2 Replies)
Hi,
I am new to scripting. I need a script to sort and the records in a file and then split them into different files.
For example, the file is:
H1......................
H2......................
D2....................
D2....................
H1........................... (15 Replies)
Data on my input file :
Ac1n1s1c2n2s2XPd1r1e1t1d2r2e2t2d3r3e3t3d4r4e4t4RT
Bh1k1p1h2k2p2NTq1y1f1m1q2y2f2m2q3y3f3m3q4y4f4m4ZN
and i want the output to be:
Ac1n1s1XPd1r1e1t1RT
Ac1n1s1XPd2r2e2t2RT
Ac1n1s1XPd3r3e3t3RT
Ac1n1s1XPd4r4e4t4RT
Ac2n2s2XPd1r1e1t1RT
Ac2n2s2XPd2r2e2t2RT... (6 Replies)
I am attempting to use a shell script to append the string "AAA" to the beginning of over 400 files and I am just missing that little piece to finish.
I am still a newbie and I am still learning scripting. This is what I have so far:
#!/usr/bin/ksh
find /home/vedder191/AAA_revised -type... (4 Replies)
Hi,
I'm trying to update the last two characters coming in a string globally in a file.
Here is the sample data:
file1
In file1, I want to have all instances replace where _o is appearing in the end of a word with _g. If _o is appearing in the middle or any other position except the... (2 Replies)
Hi Gurus,
I need to cut single record in the file(asdf) to multile records based on the number of bytes..(44 characters). So every record will have 44 characters. All the records should be in the same file..to each of these lines I need to add the folder(<date>) name.
I have a dir. in which... (20 Replies)
One of our email recipients has 17 mx records, and our emailing program postfix on linux does not retrieve these records. When using dig, the same thing happens.
This command returns no mx records
>dig mx fnb.co.za
But when using +trace, the records get returned
>dig mx fnb.co.za +trace
... (4 Replies)
Hi Experts,
I have csv file with 30, 40 columns
Pasting just 2 column for problem description.
Need to print error if below combination is not present in file
check for column-1 (DocumentNumber) and filter columns where value in DocumentNumber field is same.
For all such rows, the field... (7 Replies)
Discussion started by: as7951
7 Replies
LEARN ABOUT SUSE
whois
WHOIS(1) Debian GNU/Linux WHOIS(1)NAME
whois - client for the whois directory service
SYNOPSIS
whois [ -h HOST ] [ -p PORT ] [ -aCFHlLMmrRSVx ] [ -g SOURCE:FIRST-LAST ] [ -i ATTR ] [ -S SOURCE ] [ -T TYPE ] object
whois [ -t ] [ -v ] template whois [ -q ] keyword
DESCRIPTION
whois searches for an object in a RFC 3912 database.
This version of the whois client tries to guess the right server to ask for the specified object. If no guess can be made it will connect
to whois.networksolutions.com for NIC handles or whois.arin.net for IPv4 addresses and network names.
OPTIONS -h HOST Connect to HOST.
-H Do not display the legal disclaimers some registries like to show you.
-p PORT Connect to PORT.
--verbose
Be verbose.
--help Display online help.
Other options are flags understood by RIPE-like servers.
NOTES
Please remember that whois.networksolutions.com by default will only search in the domains database. If you want to search for NIC handles
you have to prepend a ! character. When you do this, the default server becomes whois.networksolutions.com.
When querying whois.arin.net for IPv4 or IPv6 networks, the CIDR netmask length will be automatically removed from the query string.
When querying whois.nic.ad.jp for AS numbers, the program will automatically convert the request in the appropriate format, inserting a
space after the string AS.
When querying whois.denic.de for domain names and no other flags have been specified, the program will automatically add the flag -T dn.
When querying whois.dk-hostmaster.dk for domain names and no other flags have been specified, the program will automatically add the flag
--show-handles.
RIPE-specific command line options are ignored when querying non-RIPE servers. This may or may not be the behaviour intended by the user.
When querying a non-standard server, command line options which are not to be interpreted by the client should always follow the -- separa-
tor (which marks the beginning of the query string).
If the /etc/whois.conf config file exists, it will be consulted to find a server before applying the normal rules. Each line of the file
should contain a regular expression to be matched against the query text and the whois server to use, separated by white space.
The whois protocol does not specify an encoding for characters which cannot be represented by ASCII and implementations vary wildly. If
the program knows that a specific server uses a certain encoding, if needed it will transcode the server output to the encoding specified
by the current system locale.
Command line arguments will always be interpreted accordingly to the current system locale and converted to the IDN ASCII Compatible Encod-
ing.
Files
/etc/whois.conf
ENVIRONMENT
LANG When querying whois.nic.ad.jp and whois.jprs.jp english text is requested unless the LANG or LC_MESSAGES environment variables spec-
ify a Japanese locale.
WHOIS_OPTIONS
A list of options which will be evalued before the ones specified on the command line.
WHOIS_SERVER
This server will be queried if the program cannot guess where some kind of objects are located. If the variable does not exist then
whois.arin.net will be queried.
SEE ALSO
RFC 3912: WHOIS Protocol Specification
RIPE-223: RIPE NCC Database Documentation
Detailed help on available flags can be found in RIPE-223 or in the help file which can be obtained with the command:
whois -h whois.ripe.net HELP
BUGS
The program may have buffer overflows in the command line parser: be sure to not pass untrusted data to it. It should be rewritten to use
a dynamics strings library.
HISTORY
This program closely tracks the user interface of the whois client developed at RIPE by Ambrose Magee and others on the base of the origi-
nal BSD client. I also added support for the protocol extensions developed by David Kessens of QWest for the 6bone server.
AUTHOR
Whois and this man page were written by Marco d'Itri <md@linux.it> and are licensed under the terms of the GNU General Public License, ver-
sion 2 or higher.
Marco d'Itri 20 December 2009 WHOIS(1)