pkginfo - test for presents of package.
pkgadd -d //Solaris_2.3
- add missing packages
pkgrm - remove packages.
pkgchk -q - test for existance of package
pkgchk [pkg] - check installed packages for
integrity.
Let's say your Solaris2 workstation is called "sol" and the
4.1.x server is called "bertha" and you want the printer name
to be "printer" (imaginative, eh?).
sol# lpsystem -t bsd bertha # says bertha is a bsd system
sol# lpadmin -p printer -s bertha # creates "printer" on "sol"
# to be printed on "bertha"
sol# accept printer # allow queuing
sol# enable printer # allow printing
sol# lpstat -t # check the status
sol# lpadmin -d printer # default
To get transparent mode, try this:
lpadmin -I any -p printer
Популярность: 1, Last-modified: Tue, 13 Jan 1998 16:22:19 GmT