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)