From: Wayne on
On 6/15/2010 1:03 AM, dust wrote:
> HI,
>
> I'm porting some scripts from solaris to Linux. As this group is not
> related to both, I need your help in analysing the difference in
> commands. I have stated what I have tried to analise:
>
> Solaris Linux
>
> gzcat Not found. Can be replaced by zcat.
>
>
> cfgadm Not found. hotplug and udev (No idea what are these.
> Can be replaced in Linux ??)
>
> dispadmin Process sceduling. Can be replaced by nice??. Not sure.
>
> lu Live upgrade. No idea about alternative in Linux
>
>
> Please analyse this and let me know about the other alternatives,
>
> --
> Dust

A useful site for porting is <http://bhami.com/rosetta.html>.

--
Wayne
From: Brian Reynolds on
In article <3889def8-cda9-482e-a19b-895deab350df(a)k25g2000prh.googlegroups.com>,
dust <clcfans(a)gmail.com> wrote:
>HI,
>
>I'm porting some scripts from solaris to Linux. As this group is not
>related to both, I need your help in analysing the difference in
>commands. I have stated what I have tried to analise:
>
>Solaris Linux
>
>gzcat Not found. Can be replaced by zcat.

Under Solaris /usr/bin/gzcat is a hard link to /usr/bin/gzip (as is
/usr/bin/gunzip). When called as gzcat, gzip does the equivalent of
'gunzip -c'.

As I recall, back in the days of building from source this was part of
the standard 'make install'.

--
Brian Reynolds | "It's just like flying a spaceship.
reynolds(a)panix.com | You push some buttons and see
http://www.panix.com/~reynolds/ | what happens." -- Zapp Brannigan
NAR# 54438 |