You have or are learning unfortunately for you the hard way that linux is not UNIX...
In other words : What you write that runs on a SOLARIS, has great chances to run an a HP-UX and a AIX if by bad luck it doesnt it is going to be quite easy to correct, but so far I migrate SOLARIS to AIX, AIX to HP-UX, HP-UX to AIX and found very few issues, but scripts coming from linux seem to almost always give trouble...
Your only alternative is to get I suppose to gnu utils installed on your SUN or get the missing package as already mentionned and use ggrep, and dont blame the others they have been quite clear, just to sho you what you are missing:
If I want to do high-end 3d animation, what skell scripting languages, and programming languages shoul I learn?
If you know any good resources for learning these languages they would be appreciated. (1 Reply)
Hi,
I am looking for some books that have examples of both Oracle SQL and Shell script being used together. For example, to insert 500 rows into a table using a script. I already have books that cover Shell scripting or SQL, but as separate subjects. I am looking for books that have both of... (3 Replies)
I have a desk top PC, DSL modem, HP C5180 All-in-One, F5d7230-4 router and a second desk top PC with a wireless card. These all work together fine. I bought an Asus EeePC with Linux as the operating system. I can take the EeePC to a coffee shop or city library and log onto the net with no problems.... (2 Replies)
Hi everyone:
I have a big trouble, I need create a script that must switch user and then must execute
certain commands, sadly neither my user nor the second user have no privileges
for sudo, I've tried everything but seems su doesn't accept input redirection, please help me, it's very... (8 Replies)
I have a file with say 50 columns, each containing a whole lot of data.
Each column contains data from a separate simulation, but each simulation is related to the data in the last (REFERENCE) column $50
I need to calculate the RMS deviation for each data line, i.e. column 1 relative to... (12 Replies)
Discussion started by: chrisjorg
12 Replies
6. Post Here to Contact Site Administrators and Moderators
Hi,
this is regarding my post "ksh: how to extract strings from each line based on a condition" . Its not a home work or an assigment. I actually work in retail domain. The data I handle is very complex and confidential.So I can't divulge the actual patterns. In order to explain my problem, I have... (1 Reply)
Hi All,
I am fairly new to Shell Scripting, however learning fast ;-)
I have been asked to do the below basic shell script :confused:
There are few feed files we are recieving in the server from multiple locations spread out during the day, rite now we are checking manually each file... (2 Replies)
Hi All,
I want to display the distinct values in the file and for each distinct value how may occurance or there.
Test data:
test1.dat
20121105
20121105
20121105
20121105
20121106
20121106
20121106
20121105
I need to display the output like
Output (2 Replies)
Hi everyone:
I need create a script that must switch user and then must execute
certain commands, sadly neither my user nor the second user have no privileges
for su - ,
I've tried everything but seems su doesn't accept input redirection,
please help me,
... (4 Replies)
Discussion started by: ooilinlove
4 Replies
LEARN ABOUT MINIX
irdpd
IRDPD(8) System Manager's Manual IRDPD(8)NAME
irdpd - internet router discovery protocol daemon
SYNOPSIS
irdpd [-bsd] [-U udp-device] [-I ip-device] [-o priority-offset]
DESCRIPTION
Irdpd looks for routers. This should be a simple task, but many routers are hard to find because they do not implement the router discov-
ery protocol. This daemon collects information that routers do send out and makes it available.
At startup irdpd sends out several router solicitation broadcasts. A good router should respond to this with a router advertisement.
If a router advertisement arrives then no more solicitations are sent. The TCP/IP server has filled its routing table with the info from
the advertisement, so it now has at least one router. If the advertisement is sent by a genuine router (the sender is in the table) then
the irdpd daemon goes dormant for the time the advert is valid. Routers send new adverts periodically, keeping the daemon silent.
Otherwise irdpd will listen for RIP (Router Information Protocol) packets. These packets are sent between routers to exchange routing
information. Irdpd uses this information to build a routing table.
Every now and then a router advertisement is sent to the local host to give it router information build from the RIP packets.
Lastly, if a router solicitation arrives and there is no router around that sends advertisements, then irdpd sends an advertisement to the
requestor. Note that this is a direct violation of RFC1256, as no host is supposed to sent those adverts. But alas the world is not
always perfect, and those adverts make booting hosts find routers quickly with this help from their brothers. (Of course, they will lose
the router soon if they don't have an irdpd daemon themselves.)
OPTIONS -b Broadcast advertisements instead of sending them to the local host only. This may be used to keep (non-Minix) hosts alive on a net
without adverts.
-s Be silent, do not send advertisements to hosts that ask for them.
-d Debug mode, tell where info is coming from and where it is sent. Debugging can also be turned on at runtime by sending signal
SIGUSR1 or turned off with SIGUSR2.
-o priority-offset
Offset used to make the gateway's preferences collected from RIP packets look worse than those found in genuine router adverts. By
default -1024.
SEE ALSO set_net_default(8), boot(8), inetd(8), nonamed(8), rarpd(8).
BUGS
Under standard Minix this daemon can't listen to two both IRDP and RIP at the same time, so it starts out with IRDP. It switches over to
RIP if it can't find a router, or if it threatens to lose its router. It does not switch back.
Irdpd may help a host that should not be helped, i.e. if it doesn't have an irdpd daemon with RIP collecting trickery. It will make System
Administrators pull out their remaining hair trying to find out why a host can access outside networks for a some time after boot, but goes
blind afterwards.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
IRDPD(8)