Friday 31 August 2012

Console Emulation & Installation Commands

Console emulation commands :

lscons                                                     To list the current console

lscons -b                                                To list the console at next boot

chcons /dev/tty3                                  To change the console to tty3

chcons -a login=enable /dev/tty3     Redirect console to tty3 and provide login prompt

swcons /dev/tty3                                 To change system console to tty3 temporarily



Installation specific commands :


lslpp -l                                                    To see the details of installed file sets

lslpp -ha bos.net.*                               To list the installation history of all file set in bos.net packages

lslpp -f bos.rte                                       To list the files in the bos.rte package

lslpp -w /etc/hosts                                To list the file set which contain /etc/hosts file

lslpp -p bos.net.nfs.server                   To list the pre requisites for bos.net.nfs.server file set

installp -L -d /dev/rmt0.1                   To list the installable products on the device rmt0

installp -aX -d /dev/rmt0.1 bos.net  To install all filesets within bos.net and expands file system if it requires

installp -u bos.net                                                To remove bos.net

installp -r                                               To reject the applied software

installp -c -f <product>                       To commit the <product>

installp -C                                              To cleanup an incomplete installation

lppchk -c <product>                            To check the <product>

instfix -k IX9999 -d /dev/rmt0.1      To install the file set associated with fix IX9999 from rmt0

instfix  -ik IX9999                               To verify fix IX9999 installed

No comments:

Post a Comment