SunOS release 4 |
Solaris 7 |
Comments |
---|---|---|
Basic default print command |
||
lp -d printer |
Specifying a printer with the print command |
|
Check the print queue of the default printer |
||
lpstat -o printer |
Check the status of a specific printer and list print IDs |
|
lpstat -a |
Determine which printers are available (in the SunOS release 4 software, you would check the /etc/printcap file) |
|
Cancel a print job |
||
cancel printer |
Alternate method for canceling a currently active print job |
|
ps -ef |
Process status is the same but some of the options have changed |
|
Prints information about swap space |
Table F-2 Advanced Commands
SunOS release 4 |
Solaris 7 |
Comments |
---|---|---|
For backing up file systems or specified files |
||
Used to make specified resource listed in user's /etc/dfs/dfstab available for remote mount |
||
exportfs -a |
Option to make all resources listed in user's /etc/dfs/dfstab available for mounting |
|
exportfs -u |
Used to make resources unavailable |
|
Mount all file systems specified in /etc/vfstab, where the mountall option is set |
||
Lists mounted NFS file systems where option specifies machine name |
||
Lists shared (exported) NFS file systems |
||
Unmount all file systems in /etc/vfstab, other than root, /proc, /var, and /usr |
Table F-3 Files and Directories
Table F-4 Daemons and Standard Processes
SunOS release 4 |
Solaris 7 |
Comments |
---|---|---|
Print daemon |
||
Network lock daemon |
||
NFS mount request server |
||
NIS binder process |
||
NFS daemon |
||
No longer exists |
Block I/O daemon Capability implemented in the kernel |
|
Table F-5 File and Command Differences
SunOS release 4 |
Solaris 7 |
---|---|
ac |
sar |
add_services |
pkgadd |
arch |
uname -m |
bar |
Use cpio -H bar to retrieve |
biff -n |
chmod -o-x /dev/tty |
biff -y |
chmod -o+x /dev/tty |
cc |
Not available |
dbxtool |
debugger |
df |
df -k |
dketl |
Not available |
dkinfo |
prtvtoc |
du |
du -k |
dump |
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 -0 |
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 |
mount -a |
mount |
mount -F fstype [options] |
mountall |
modinfo |
mount_tfs |
mount -F fstype |
pax |
cpio |
paxcpio |
cpio |
portmap |
rpcbind |
printenv |
env |
ps -a |
ps -e |
ps -aux |
ps -el |
pstat |
sar |
pstat -s |
swap -s |
rdump |
ufsdump |
restore |
ufsrestore |
rm_client |
admintool |
rm_services |
Not available |
rpc.etherd |
Not available |
rpc.lockd |
lockd |
rpc.mountd |
mountd |
rpc.read |
Not available |
rpc.rquotad |
Not available |
rpc.statd |
statd |
rpc.user_agentd |
Not available |
rpc.yppasswdd |
Not available |
rpc.ypupdated |
ypupdated |
rrestore |
ufsrestore |
rusage |
Not available |
startup |
Not available |
swapon |
swap -a |
sys-config |
admintool |
umountall |
umount -a |
umount-tfs |
umount -F fstype |
unload |
pkgrm |
update |
fsflush |
uptime |
who -b |
users |
who -q |
vipw |
Not available |
wall |
Not available |
whereis |
Not available |
whoami |
id |
ypbatchupd |
Not available |
yppasswd |
Use nispasswd for NIS+ |
ypserv |
Not available |