Contenues dans
Trouver plus de documentation
Ressources d'assistance comprises
| Télécharger cet ouvrage au format PDF
Quick Reference for Basic Changes
F
- This appendix is a quick reference for changes in common commands, files and directories, and daemons and standard processes.
-
Table F-1
| Basic Commands |
|
| SunOS Release 4.x | Solaris 2.5 | Comments |
| lpr | lp | Basic default print command |
| lpr -P<printer> | lp -d<printer> | Specifying a printer with the print command |
| lpq | lpstat -o | Check the print queue of the default printer |
| lpq -P<printer> | lpstat -o<printer> | Check the status of a specific printer and list print IDs |
| lpstat -a | Determine which printers are available (in SunOS release 4.x, you would check the /etc/printcap file) |
| lprm <print job#> | cancel <request ID> | Cancel a print job |
| cancel <printer> | Alternate method for canceling a currently active print job |
| ps -ax | ps -ef | Process status is the same, but some of the options have changed |
| pstat -s | swap -s | Prints information about swap space |
-
Table F-2
| Advanced Commands |
|
| SunOS Release 4.x | Solaris 2.5 | Comments |
| exportfs | share <resource> | Used to make specified resource listed in user's /etc/dfs/dfstab available for remote mount |
| exportfs -a | shareall | Option to make all resources listed in user's /etc/dfs/dfstab available for mounting |
| exportfs -u | unshare <resource> | Used to make resources unavailable |
| mount -a | mountall | Mount all file systems specified in /etc/vfstab, where the mountall option is set |
| umount -a | umountall | Unmount all file systems in /etc/vfstab, other than root, /proc, /var, and /usr |
| showmount -d | dfmounts <option> | Lists mounted NFS file systems where option specifies machine name |
| showmount -e | dfshares <option> | Lists shared (exported) NFS file systems |
| dump | ufsdump | For backing up file systems or specified files |
| restore | ufsrestore | For restoring files dumped to backup media |
-
Table F-3
| Files and Directories |
|
| SunOS Release 4.x | Solaris 2.5 | Comments |
| /var/spool/mail | /var/mail | Location for incoming mail |
| /etc/fstab | /etc/vfstab | File system mount table |
| /etc/exports | /etc/dfs/dfstab | Lists exported file systems |
| /etc/mtab | /etc/mnttab | List of currently mounted resources read by the /etc/mount command |
| /etc/xtab | /etc/dfs/sharetab | List of shareable resources |
| /usr/bin | /usr/bin and
/usr/sbin | /usr/sbin is available with Solaris executables |
| /etc/aliases | /etc/mail/aliases | New location for local E-mail alias file |
| /etc/printcap | No longer exists | Capability replaced by /usr/share/lib/terminfo and files in /etc/lp |
| /etc/passwd | /etc/passwd
/etc/shadow | Capability is shared with counterpart, the /etc/shadow file,
which stores user's encrypted passwords and other information |
-
Table F-4
| Daemons and Standard Processes |
|
| SunOS Release 4.x | Solaris 2.5 | Comments |
| /usr/lib/lpd | /usr/lib/lp/lpsched | Print daemon |
| /usr/etc/rpc.lockd | /usr/lib/nfs/lockd | Network lock daemon |
| /usr/etc/rpc.mountd | /usr/lib/nfs/mountd | NFS mount request server |
| /usr/etc/ypbind | /usr/lib/netsvc/yp/ypbind | NIS binder process |
| /usr/etc/nfsd | /usr/lib/nfs/nfsd | NFS daemon |
| /usr/etc/biod | No longer exists | Block I/O daemon Capability implemented in the kernel
|
/etc/rc and
/etc/rc.local | /etc/rc[012356S].d | System initialization scripts |
|
|