2¿ù9ÀÏ
4) Command to verify whether ufs logging is enabled on a file system a
a)#mount b)#df c)#du
5) The list of currently mounted file systems is in file ba
a)/etc/vfstab b)/etc/mnttab c)/etc/inittab d)/etc/dfs/dfstab
6) The command to add a device with driver "st" without rebooting a live system #devfsadm -i st
8) The command to be used to suppress confirmation during mget command a
a)prompt b) noscan c) noask d)hash e)bin
11) The files needed for intialization of bourne shell( choose 2 answers)
/etc/profile , $HOME/.profile
12) the files needed for intialization of korn shell( choose 3)
/etc/profile, $HOME/.profile, $HOME/.kshrc
13) The path_to_inst file is present in directory ________ ( free response) /etc
19) which command is used to create a new custom disk
a)banner b)eeprom c)printenv d)alias e)probe-scsi
20) Command to take backup of /home directory on a tape drive shared in a host mars using ufsdump
ufsdump 0uf mars:/dev/rmt/0 /home
22) command to list a tar archive
#tar tf <archivename>
24) The command to change ACL on a file
#setfacl
25) The minimum difference in number of characters between an old password and a new password in solaris is
a)0 b)1 c)3 d)4 e)7
26) init consults __________ file before going to /sbin/rc2 (free response) /etc/inittab
27) In format utility name the command used to preserve disk name for future use label
28) In format utility name the option to list the version name & vendor of disk current
30) List a single command to change directory from /export/home1/user1 to /export/home2/user2
#cd ../../home2/user2 , #cd /export/home2/user2
34) which of the following commands support option -o for duplicating UID"s and GID's ??? ( choose 4) acde
a)usermod b)userdel c)useradd d)groupadd e)groupmod f)gropudel
38) command to show current run level b
a)init 0 b)who -r c)shutdown d)runlevel
39) what is the default signal sent with "kill" command if no signals are specified?? a
a) TERM d)KILL d)INT
40) $ ps -aef|grep in.routed b
root 110 1 0 Jun 27 ? 0:00
/usr/sbin/in.routed -q
Give the command to kill the in.routed process.
a)kill root b)pkill in.routed c)pkill 1 d)pkill 110
41) the command to ensure minimum loss to file system data while performing a system shutdown is c
a)df b) mount c)sync d)fsck
42) The primary function of kernel is to
manage CPU resources
50) The command to be used in vi editor to copy and paste 3 lines of text b
a) yyp3 b) 3yyp c) copy 3 d)3copy
51) command syntax to search the string "solaris" and replace it with "solaris operating system" inside vi editor.
%s/solaris/solaris operating system/g
52) When the command "mkdir -p d1/d2/d3" is performed, which of the following statements is correct? a
a. It will create the following 3 directories: /d1 and /d1/d2 and /d1/d2/d3
b. It will create the following 3 directories: /d1 and /d2 and /d3
c. It will create the following 2 directories: /d1 and /d1/d2/d3
d. It will not work
53) Given the following: d
./ ../ .tst dir1/ file1 file2 file3 file4
How can you copy .tst to dir1?
a. cp * dir1 b. cp .* dir1 c. cp. *.* dir1 d. cp .tst dir1/
54) List all files and directories that start with "abc" and end in "1". c
a. ls [a-c+1] b. ls [abc+1] c. ls [abc]*1 d. ls [abc]+1
58) What option works with mount, fsck, useradd, usermod, groupmod, groupadd? (ÁÖ°ü½Ä) c
a. -x b. -y c. -o d. 1
59. What file do you change to alter the cancel command
(/etc/default/kbdothers listed)
** /etc/default/kbd
62. Which 4 vi commands to get into last line mode?
( : ? / ! )
** ( : ? / ! )
64. Which command is used to remote copy to a foreign host?
**rcp source_file hostname:/destination_file
72. Which file system must be passed to the mount command to mount a DOS formatted floppy disk?
*PCFS
74. Within partition menu of format command which single command should you type to use a predefined label that was previously saved?
** select
75 Which command display access control list for a file?
**getfacl
79. Know how to mount a file system to prevent files larger than 2 Gigabytes
** (-o nolargefile).
Select the command which can list the complete
status of active processes( choose 2) Àú´Â sdtprofcess°¡ ¾È³ª¿À°í ps·Î º¸±â³ª¿ÔÀ½
ans : #prstat and #sdtprocess (in cde mode)
The command to be used in vi editor to copy and
paste 3 lines of text above current line
a)yyp 3 b)3yyp c) copy3 d)3copy
ans: 3yyP
|