Specifications

Red Hat Enterprise Linux to Oracle Solaris Porting Guide
78
TABLE 8-1. COMMAND DIFFERENCES
RHEL LEGACY COMMANDS ON
ORACLE SOLARIS 11
INCOMPATIBLE OPTIONS
WITH LEGACY COMMAND
EQUIVALENT GNU UTILITY
ON ORACLE SOLARIS 11
PACKAGE NAME ON
ORACLE SOLARIS 11
/usr/bin/xargs /usr/bin/xargs -a -d -P /usr/bin/gxargs:
link to
/usr/gnu/bin/xargs
file/gnu-findutils
/usr/bin/zenity /usr/bin/zenity --no-wrap gnome/zenity
/bin/more /usr/bin/more -num system/xopen/xcu4
/usr/bin/atrm /usr/bin/atrm -d -d is not a necessary
argument; instead of -l,
atrm command can be
used.
system/core-os
/usr/bin/atq /usr/bin/atq -l -d -l is not a necessary
argument; instead of -d,
atrm command can be
used.
system/core-os
/usr/bin/at /usr/bin/at -d -v Instead of –d, atrm can
be used; instead of at -
v in Linux, at -l can be
used in Oracle Solaris to
find execution time.
system/xopen/xcu4
/usr/bin/rup /usr/bin/rup -d -s Instead of the -d and -s
options in Linux, a
combination of options for
the date command can
be used.
network/legacy-
remote-utilities
Managing Services and Daemons on RHEL
A UNIX daemon is a program that runs in the background and is independent of control from a
terminal. Daemons can either be started by a process (such as a system startup script, where there is no
controlling terminal) or by users at a terminal without tying up the terminal.
The init daemon is the system and service manager for RHEL. It is one of the first processes RHEL
starts when it boots. It has a PID of 1 and is the ancestor of all processes. On RHEL, services are
started and stopped through init scripts in the /etc/init.d directory. Many of these services
are launched by the init daemon when the system is booted.
Many System V UNIX variants use scripts in the /etc/rcN.d/ directories to control which services
should be started in the various run levels. Since this model involved having multiple copies of the
same script in many different directories, RHEL adopted the standard of putting all service control
scripts in the /etc/init.d/ directory and using symbolic links to these scripts in the various