Friday, 5 January 2018

HP-Ux Questions Collections




Interesting HP-UX Questions, for learning and Exam point of view as well.




1. Which command will kill all active processes ? 

killall


2. Which command will generate a formatted message catalog file ? 

gencat


3.What is the command used to display the audit information as requested by the parameters ? 

audisp

4.What is the command used to copy to or from LIF files ? 

lifcp


5.What is the name of the EISA configuration tool ? 

eisa_config


6.What command displays host-based controller log entries for a disk array ? 

amlog


7.Which command will read one line from user input ? 

line


8.What is the command used to process electronic mail through a screen ? 

elm


9.What is the command used to display the results of disk testing, or cancel the test. ?

dteststat


10.What command is used to invoke Internal RAID Manager ?

irm


11.Which command will display LAN device configuration and status ? 

lanscan


12.The 'at' command uses queue (?) by default. 

Answer: a

13.Which command will create logical volume in LVM volume group ? 

lvcreate

14.Which command will report I/O statistics ?

 iostat


15.What is the name of the network based system recovery archive creation ? 

make_net_recovery


16.What is the command used to prevent LP printer queuing requests ? 

reject

17.What command is used to invoke HP DDE debugger ?

dde


18.Which command will set terminal type, modes, speed, and line discipline ? 

getty


19.What command is used to invoke DHCP client database converter ? 

dhcpdb2conf


20.What is the command used to get special attributes for group ?

getprivgrp


21.Which command will change the delta commentary of an SCCS delta ? 

cdc


22. What command is the command line tool for DHCP elements of bootpd ? 

dhcptools


23.What is the command used to report status of interprocess communication facilities ? 

ipcs


24.Which command will get login name ?

logname

25.What is the name of the DARPA Internet File Transfer Protocol server ? 

ftpd

26.Which command will recover disk space ? 

freedisk


27.What is the command used to determine file system type ?

fstyp


28.What is the command used to determine file system type ? 

lvremove


29.What command is used to invoke the bootstrap process ? 

boot

30.What is the command used to remove a LIF file ? 

lifrm


31.What command is used to invoke a dynamic resource editor for X Toolkit applications ? 

editres

32. Which command will prepare an incomplete executable for faster program start ?

fastbind

33.What is the command used to configure the LP spooling system ? 

lpadmin

34.What command removes the global server entry from the cell profile ? 

unadvertise ==> check it out , doubt is there.


35.What is the command used to convert a termcap description into a terminfo description ? 

captoinfo

36.Which command will list a special file ? 

lssf


37.Which command will verify LAN connectivity with link ? 

linkloop

38.What command runs incremental file system dump, local ? 

dump

39.What is the command used to increase space, increase mirrors for LVM logical volume ? 

lvextend

40.Which command will factor a number, generate large primes ? 

factor , primes

41.Which command will get system configuration values ? 

getconf

42.What is the command used to load an ITE (Internal Terminal Emulator) keyboard mapping. ? 

itemap


43.What is the command used to change file owner or group ? 

chown


44.Which command will report number of free CDFS, HFS, or NFS file system disk blocks ? 

df

45. What is the name of the Support Tools Manager logging daemon ? 

diaglogd

46. Which command will report number of free file system disk blocks ? 

df

47. When an 'at' job is created, which of the following pieces of information are stored in a script in /var/spool/cron/atjobs? 

umask , ulimit

48. What is the command used to mark changes between two different versions of a file ? 

diffmk


49. What is the name of the EMS Kernel Resource Monitor daemon ? 

krmond


50. What is the name of the local area network administration program ? 

lanadmin

51. Which command will install object files in binary directories ? 

cpset

53. What is the command used to manipulate crash dump data ? 

crashutil


54. What is the command used to create and maintain portable archives and libraries ? 

ar


55. Which command will list file names and statistics for HFS file system ? 

ff


56. What command extracts window ids of user processes from /etc/services.window ? 

getmemwindow


57. What is the command used to display the audit information as requested by the parameters ? 

audisp


58 .Which command will combine a LIF file and file system for use on CD-ROM ? 

instl_combine


59. What is the command used to call another (UNIX) system; terminal emulator ? 

cu


60. Which command will search a file for a pattern ?

grep , egrep , fgrep


61. Which command will download firmware to an HP SCSI disk array ? 

dlf


62. What is the command used to remind you when you have to leave ?

leave


63. To keep users from running at jobs, enter their names in the file (?).
 a. /var/cron/at/at.deny
 b. /usr/lib/cron/at.deny
 c. /usr/tmp/spool/at.deny
 d. /var/adm/cron/at.deny
 e. /var/adm/spool/at/at.deny 


Answer: b


64. What command accesses and clears disk array logs. ? 

arraylog


65. Which command will summarize disk usage ? 

du


66. What is the command used to create shutdown message file to shut down the ftp servers at a given time ? 

ftpshut


67. What is the name of the media changer manipulation utility ? 

mc

68. Which command will send BOOTREQUEST to BOOTP server ? 

bootpquery


69. The 'as' command creates a relocatable object file that must be processed by (?) before it can be successfully executed.

 a. cc
 b. ccp
 c. cpp
 d. ld
 e. lnk 

Answer: d


70. Which command will convert, reblock, translate, and copy a (tape) file ? 

dd


71. What is the command used to display or set the date and time ? 

date


72. Which command will report number of free disk blocks on a VxFS file system ? 

df

73. What command is used to invoke the absolute debugger (32bit) ? 

adb

74. An archive symbol table is created and maintained by ar only when (?).

 a. the archive is created with the '-s' option.
 b. the archive is a static link.
 c. the archive is an archive of archives.
 d. one or more objects files are in the archive.
 e. any of the above 

Answer: d

75. Which command will install random inode generation numbers ? 

fsirand


76. What is the command used to lists owners of outgoing network connections ? 

/usr/sbin/owners


77. What command reconstructs data mapping and array configuration in the event of the loss of NVRAM contents. ? 


arrayrecover


78. Which command will display system and user login data ? 

logins

79. The (?) command is a simple text formatter for filling, centering, left and right justifying, or only right justifying text paragraphs.

 a. adjust
 b. ed
 c. format
 d. redit
 e. ztext 


Answer: a


80. What is the command used to construct a VxFS file system ? 

mkfs ,  but check it out , doubt is there.


81. The default EOF character for 'at' command lines is (?).

 a. ctrl-C
 b. ctrl-D
 c. ctrl-E
 d. ctrl-T
 e. ctrl-Z 

Answer: b

82. What command runs incremental file system dump, across network ? 


dump , rdump


83. What command prints the mail queue ? 

mailq


84. What is the command used to extract portions of path names ?

basename , dirname



85.What is the name of the EMS Kernel Resource Monitor daemon ? 

krmond


86. Which command will get extent attributes ? 


getext  checkout, doubt there.


87. What is the name of the SNMP subAgent that services Event Monitoring Services Notification. ? 

emsagent


88. Which command will report number of free disk clusters ? 

dosdf


89. Which command will change the working directory ?

cd


90. What is the name of the Support Tools Manager memory logging daemon ? 

memlogd


91. What is the name of the server for storing private encryption keys ? 

keyserv


92. The default EOF character for 'batch' command lines is (?).

 a. ctrl-C
 b. ctrl-D
 c. ctrl-E
 d. ctrl-T
 e. ctrl-Z 


Answer: b

93. Which command will make FIFO (named pipe) special files ? 


mkfifo


94. To use adjust to generate a smooth right margin (ragged left margin), use the '(?)' option.
 a. -a
 b. -g
 c. -m
 d. -s
 e. -r 


Answer: -r

95. Which command will mount and unmount an LOFS file system ? 

mount


96. The 'as' command invokes cpp to perform macro processing.

FALSE


97. What is the name of the tool for faster tape I/O ?

ftio


98. What command is used to invoke HP DDE debugger ? 

dde


99. Which command will check nroff/troff files ? 

checknr


100. What is the command used to find manual information by keywords; print out a manual entry ? 

man

101. If a string is passed to the basename command that only contains slashes (/), what is displayed?

 a. '.' (the current directory)
 b. '..' (the parent directory)
 c. '/' (a single slash character)
 d. '' (the NULL character)
 e. an error is returned 


Answer: c


102. Which command will show group memberships ? 

groups


103. Which command will compress executable files in place ? 

gzexe


104. What is the command used to test a disk in the array. ? 

drivetest


105. What command perform process control initialization ? 

init


106. What is the name of the Chassis Log logging daemon ? 

cclogd


107. What is the command used to fold long lines for finite width output device ? 

fold


108. Which command will execute batched commands immediately or at a later time ? 

at


109. What is the command used to decrease space allocation or the number of mirror copies of logical volumes ? 

lvreduce


110. The default object file for adb is (?).

 a. adb.o
 b. lib.so
 c. vmunix
 d. hpux
 e. a.out 

Answer: e. a.out


111. What is the name of the Support Tools Manager logging daemon ? 

diaglogd


112. What is the command used to enable/disable secure internet services ? 

inetsvcs_sec


113. Which command will copy to or from DOS files ? 

doscp


114. What is the command used to display the results of disk testing, or cancel the test. ? 

dteststat


115. Which command will compare or print out terminfo descriptions ? 


infocmp


116. Which command will download new controller or disk firmware. ? 

download


117. What is the command used to check internal consistency of Authentication database ? 

authck



118. If a core dump is written to multiple files by savecore, then to use adb on those files, you must use the '(?)' option, instead of '-k'.

 a. -c
 b. -d
 c. -f
 d. -m
 e. -s 

Answer: d. -m


119. The default EOF character for 'batch' command lines is (?).

 a. ctrl-C
 b. ctrl-D
 c. ctrl-E
 d. ctrl-T
 e. ctrl-Z 

Answer: b


120. Which key operation would be used to print a table of contents of the archive file?

 a. a
 b. c
 c. k
 d. l
 e. t 

Answer: e


121. The 'batch' command always uses queue (?).

 a. a
 b. b
 c. c
 d. d
 e. y 

Answer: b


122. When an 'at' job is created, which of the following pieces of information are not stored in a script in /var/spool/cron/atjobs?


 a. current shell environment variables
 b. current directory
 c. umask
 d. open file descriptors
 e. traps 


Answer: d,e

123. Which command will show Fibre Channel Light Weight Protocol network status ? 

lwpstat



124. What is the command used to determine file type ? 

file



125. Which command will get system configuration values ? 

getconf



126. What is the command used to create special files ? 

mknod



127. Which command will create dependencies in makefiles ? 


makedepends



128. Batch jobs are executed under which shell by default?


 a. /usr/bin/sh
 b. /usr/bin/ksh
 c. /usr/bin/csh
 d. the shell of the user that submitted the job
 e. the 'at' shell 


Answer: a /usr/ibn/sh


129. Which command will send BOOTREQUEST to BOOTP server ? 

bootpquery


130. What is the command used to get special attributes for group ? 

getprivgrp


131. What is the command used to increase space, increase mirrors for LVM logical volume ? 

lvextend


132. What is the command used to describe general characteristics of a disk array ? 

arrayinfo


133. Which command will mount and unmount multiple file systems ? 

mountall, umountall


134. Which command will list access control lists (ACLs) of files ?

lsacl


135. What command manages LUN (logical drive) configuration on the disk array. ? 

amcfg


136. What is the command used to change file mode access permissions ? 

chmod


137. What is the command used to fix manual pages for faster viewing with man(1) ? 

fixman


138. What command is used to invoke DHCP client database converter ? 

dhcpdb2conf


139. What command is used to invoke DHCP client database converter ?

lvmmigrate


140.What is the command used to list device drivers in the system ?

lsdev


141.What command is the differential file and directory comparator ? 

diff


142.What is the command used to remind you when you have to leave ? 

leave


143.What is the name of the X font server information utility ?


fsinfo


144. What is the command used to configure the LP spooling system ? 

lpadmin


145. Which command will change the delta commentary of an SCCS delta ? 

cdc


146. Which command will gradually adjusts the clock on the local node to the specified time ? 

update


147. What command is used as a user information lookup program ?

finger


148. What is the name of the gateway routing daemon ? 

gated


149. Which command will make a name for a temporary file ? 

mktemp


150. Which command will list contents of a LIF directory ?

lifls


151. What is the name of the ICE authority file utility ? 

iceauth


152. What is the command used to start or halt the auditing system and set or display audit file information ? 

audsys


153. What is the command used to compress or expand files ? 

gzip , zcat , gunzip


154. What is the name of the LicensePower/iFOR server stop tool ? 

i4stop


155. What is the command used to reboot and install systems using Ignite ?

bootsys


156. Which command will read one line from user input ?

line


157. Which command will verify the path names of all the FTP configuration files. ?


ckconfig













No comments:

Post a Comment