RHEL-to-Solaris Transition Reference
10 Mar '06 - 16:38 by benrRed Hat Enterprise Linux is a horrible platform, but a lot of people use it and know it. To help ease you into the transition I though a little this-to-that reference might be handy. This is what I came up with offhand, I'll expand it as I think of more. Feel free to post suggestions in the comments.
Shutdown
| RHEL | Solaris |
| shutdown -h now (or) poweroff | shutdown -y -g0 -i5 |
| reboot | reboot (or) shutdown -y -g0 -i6 |
| halt | halt |
Kernel
| RHEL | Solaris |
| /sbin/lsmod | modinfo |
| /sbin/insmod | modload |
| /sbin/rmmod | modunload |
| scanpci | /usr/X11/bin/scanpci (or) prtconf -v |
Printing
| RHEL | Solaris |
| lp (or) lpr | lp (or /usr/ucb/lpr) |
| lpstat (or) lpq | lpstat (or /usr/ucb/lpq) |
Services
| RHEL | Solaris |
| /sbin/service --status-all | svcs -a |
| /sbin/service sendmail stop | svcadm disable sendmail |
| /sbin/service sendmail start | svcadm enable sendmail |
| /sbin/service sendmail status | svcs sendmail |
| /sbin/chkconfig --list | svcs -a |
| /sbin/chkconfig --add /etc/rc3.d/f00 | svccfg import f00.xml |
| /sbin/chkconfig sendmail on | svcadm enable sendmail |
Monitoring
| RHEL | Solaris |
| top | prstat |
| cat /proc/cpuinfo | psrinfo -v |
| cat /proc/meminfo | prtconf |
NFS
| RHEL | Solaris |
| exportfs | exportfs (or) share |
| (edit /etc/exports) | share /home |
| (edit /etc/exports) | unshare /home |
Networking
| RHEL | Solaris |
| /sbin/mii-tool | ndd (or) /sbin/dladm show-dev |
| ifconfig | ifconfig |
| /sbin/ethtool | ndd |
| /sbin/dhclient | dhcpagent |
| iptables | ipfilter |
Storage
| RHEL | Solaris |
| fdisk | fdisk (and) format |
| parted | format |
| mkfs -t ext3 /dev/hda1 | mkfs -F ufs /dev/rdsk/c0t0d0s0 |
| cdrecord dev=2,0 f00.iso | cdrw -i f00.iso |
| tar xfvj f00.tar.bz2 | /usr/sfw/bin/gtar xfvj f00.tar.bz2 |
| lvm/pv*/lv*/vg* | meta* |
Dev
| RHEL | Solaris |
| (edit /etc/ld.so.conf) | crle |
| gcc | /usr/sfw/bin/gcc |
| ld | /usr/ccs/bin/ld |
It looks like you really had a nice time.
sonia (Email) (URL) - 12 June '06 - 13:20
This is very interesting sitejim (Email) (URL) - 12 June '06 - 15:19
Hi you have a nice homepageyanira (Email) (URL) - 13 June '06 - 01:00
This site is a lot of fun very well designed.shaunda (Email) (URL) - 13 June '06 - 02:55
Very interesting & professional site. You done great work.Taly (Email) (URL) - 13 June '06 - 03:01
Hello! Very interesting and professional site.marcella (Email) (URL) - 13 June '06 - 18:04
Hey man…sorry I missed the party.tommye (Email) (URL) - 13 June '06 - 22:08
Follow your dreams, you can reach your goals.