Linux command equivalents in opensolaris (and vice versa)? [closed]

So we just recently moved to a host that is based on opensolaris rather than a variant of linux. I've found that there are a bunch of commands that don't operate the way I'm used to on linux machines. I'm just wondering what command equivalents others use in linux and opensolaris and vice versa.

Some examples: (linux -> opensolaris)

 ifconfig               -> ifconfig -a
 grep -r "pattern" dir/ -> find dir/. | xargs grep "pattern"

One in particular I'm still trying to figure out:
netstat -tnlp -> ??
(-lnpt shows the listening (-l) process (-p) name, pid and the numerical addresses (-n) of all tcp (-t) connections)


Solution 1:

I use the Rosetta Stone for Unix as my resource for looking up commands on an OS when I know what I want to do but I only know the command on another OS.

It's absolutely brilliant. Select the OSes that you're interested in and click 'Draw table'. It'll cut down the table so all you see is, say, Linux and Solaris.

Solution 2:

Many good links to command translations (Linux -> OpenSolaris) are listed on the Sun wiki. (Check the bottom of the page for links)

Differences between OpenSolaris and Linux