Table of Solaris2.x commands and their Solaris1.x equivalents?
SunOS 4.x SunOS 5.x
Command Equivalent
add_services pkgadd
arch uname -m
Note: This returns the kernel architecture.
bar Not available. Use
cpio -H bar to retrieve
4.x archives.
biff -y chmod o+x /dev/tty
biff -n chmod o-x /dev/tty
cc Not available
dbxtool debugger
devinfo prtconf
df df -k
dkctl Not available
dkinfo prtvtoc
du du -k
dump /usr/sbin/ufsdump
dumpfs Not available
etherfind snoop
exportfs share
extract_files Not available
extract_patch Not available
extract_unbundled pkgadd
fastboot reboot or init 6
fasthalt init O
hostid sysdef -h
hostname uname -n
intr Not available
leave Use cron and at
lint Not available
load pkgadd
loadc pkgadd
load_package Not available
lpc lpadmin
lpd lpsched
lpq lpstat
lpr lp
lprm cancel
lptest Not available
mach uname -p
modstat modinfo
mount mount -F [options]
mount -a mountall
mount_tfs mount -F
pax cpio
paxcpio cpio
portmap rpcbind
printenv env
ps -a ps -e
ps -aux ps -el
Note: when ps is invoked without the "-f" flag, the SV
"ps" prints only the first N characters of the name
of the program being run. You have to pass the "-f"
flag to get the full command line. For example, try
ps -fe.
pstat sar
pstat -s swap -s
rdump /usr/sbin/ufsdump
restore /usr/sbin/ufsrestore
rm_client admintool
rm_services Not available
rpc.etherd Not available
rpc.lockd /usr/lib/nfs/lockd
rpc.mountd /usr/lib/nfs/mountd
rpc.rexd /usr/sbin/rpc.rexd
rpc.rquotad /usr/sbin/rpc.rquotad
rpc.showfhd Not available
rpc.statd /usr/lib/nfs/statd
rpc.user_agentd Not available
rpc.yppasswdd Not available
rpc.ypupdated ypupdated
rrestore /usr/sbin/ufsrestore
rusage Not available
trace truss
showmount dfmounts
swapon swap -a
sys-config admintool
umount -a umountall
umount_tfs umount -F
unload pkgrm
update fsflush
uptime who -b
users who -q
vipw Not available
wall /usr/sbin/wall
whereis Not available
whoami id
ypbatchupd Not available
yppasswd Use nispasswd for NIS+
ypserv Not available
Notes: A NIS server is no longer available under Solaris2.x
without purchasing the NSKIT from Sun.
Under Solaris 2.x look in the /usr/sbin and /usr/lib/nfs
for useful programs and commands. Finally, some of
missing commands are in the BSD Compatibility package.
Go to the index
previous
next