2002.02.05ÀÏ
1. What key-sequence moves the cursor one character to the Up and Down in vi? (choose two.) bc
a. h b. j c. k d. l
2. Which file would you check to determine whether a file system is mounted with the UFS logging option enabled? a
a. /etc/vfstab b. /etc/mnttab c. /etc/inittab d. /etc/dfs/dfstab
3. command to list files and file types in a directory. c
a. dir * b. ls * c. file * d. ls -T *
4. drag and drop. Match the commands (Table A)with associated file types(Table B)
Table A Table B
------- --------
Format regular files
Mount character device
ln -S block device
more symbolic link
5. Name the utility having similar syntax as tar utility , which compresses the files before archiving them ________ (ÁÖ°ü½Ä)
Answer : jar
jarÀÇ Æ¯Â¡¿¡ ÁÖÀÇ!! Archive + compress À̹®Á¦ °´°ü½ÄÀ¸·Î ³ª¿ÔÀ½. tar¿Í ºñ½ÁÇÑ ¸í·É¾î
6. init consults __________ file before going to /sbin/rc2. (ÁÖ°ü½Ä) Answer : /etc/inittab
ÁÖ°ü½Ä Á¤´ä ¾²½Ç¶§¿¡, °æ·Î¸í±îÁö °°ÀÌ Àû¾îÁÖ´Â°Ô ¹Ù¶÷Á÷ÇÒ°Å °°À½.
7. In format utility name the option to list the version name & vendor of disk Answer : current
8. What key-sequence changes the command mode to Above the line edit mode in vi? f
a. A b. a c. I d. I e. o f. O
9. ¼Ö¶ó¸®½º ¼¹ö¸¦ ¹æ±Ý ÀνºÅçÇß´Ù. ³×Æ®¿öÅ© ¼³Á¤À» À§ÇØ ÇÊ¿äÇÑ °ÍÀ» ¼±ÅÃÇϼ¼¿ä. (choose two.) ab
a. hostname b. IP address
c. Ethernet address d. Subnet mask
e. Geographic region f. Language support
g. Name service
10. To view installed patches on a system, the command ______ or ______ is used. (choose two) bd
a. patchinfo -p b. patchadd -p c. patchls -p d. showrev -p
11. The command ______ is used to set a file ACL. b
a. setacl b. setfacl c. aclset d. aclfset
12. The default signal associated with the pkill command is ______. c
a. SIGHUP (1) b. SIGINT (2)
c. SIGTERM (15) d. SIGSTOP (23)
13. Which sub-command will list disk partition information in the format menu: b
a. partition b. print c. label d. verify
14. 40. File permissions 2666 indicates: (choose three.) bcd
a. ÀÌ ÆÄÀÏÀº stiky bit ¸¦ °¡Áö°í ÀÖ´Ù.
b. ÀÌ ÆÄÀÏÀº setgid bit ¸¦ °¡Áö°í ÀÖ´Ù
c. The file not excutable by any user.
d. Assosiated groups has read and write.
e. Assosiated groups has read and write and excutable.
15. How can you get online information for /etc/vfstab? (choose two) ab
a. man vfstab b. man -s4 vfstab
c. man vfstab(5) d. man /etc/vfstab
16. Which of the following statements for Solaris 8 is correct? b
a. C programming uses C shell
b. The default shell is Bourne shell
c. Korn shell is default for root
d. The Solaris 8 operating system has 3 shells by default.
17. What type of files are located in /usr?(choose two.) de
a. User home directories b. NFS configuration files
c. System configuration files d. Common user executables
e. Standard system library files
18. How can you change directories from /export/home/user1 to /export/home/user2 by relative path? b
a. mv /user2 b. cd ../user2 c. cd ../../user2 d. cd ~/../user2
19. 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/
20. After rebooting the system without any intervention, the system is waiting at the OK prompt. What is the current run level? a
a. 0 b. 1 c. 2 d. 3 e. 4 f. 5 g. 6 h. S or s
21. How do you use ufsdump command to create and verify an incremental level 5 backup of /dev/rdsk/c0t1d0s4? c
a. ufsdump 0f /dev/rmt/0 b. ufsdump 5f /dev/rmt/0
c. ufsdump 5vf /dev/rmt/0 d. ufsdump 5xvf /dev/rmt/0
22. List all files and directories that start with a, b, c and end in "1". c
a. ls [a-c*1] b. ls [abc+1] c. ls [abc]*1 d. ls [a-c]+1
½ÇÁ¦, Å×½ºÆ® °á°ú [abc]*1 ¶Ç´Â [a-c]*1 ÀÌ Á¤´ä
23. Which command is used for interactive file restoration: c
a. ufsrestore b. ufsrestore 0f
c. ufsrestore ivf d. ufsrestore rvf
e. ufsrestore tvf
24. What command will create a device file in the /devices dir and a symbolic link in the /dev dir when it is used? a
a. devfsadm b. lsdev c. fsadm d. prtconf
25. What command is used to limit damage after the system is forced down? c
a. repair b. reset c. sync d. fixall
26. What file can alter the use of the cancel command on the keyboard? d
a. /etc/default/kd b. /etc/kbd
c. /etc/default/keyboard d. /etc/default/kbd
27. What utilities will display information for active processes on the system? (choose two) bd
a. who b. prstat c. prtconf d. sdtprocess e. dmesg
28. Which two programs are used to compress files? (choose two) ba
a. jar b. compress c. tar d. cpio
29. Which table keeps track of mounted devices in real-time? a
a. /etc/mnttab b. /etc/vfstab
c. /etc/dfs/sharetab d. /etc/mounted
¸®¾ó ŸÀÓÀ̶ó´Â ¸»¿¡ ÁÖÀÇ.~
30. What vi command will find all instances of "Solaris" and replace them with "Solaris Operating Environment"? b
a. s/Solaris/Solaris Operating Environment/g
b. %s/Solaris/Solaris Operating Environment/g
c. %s/Solaris/Solaris Operating Environment/
d. %s/Solaris/Solaris Operating Environment/all
31. 27. How do you use chmod to add the SGID bit? c
a. chmod 4644 b. chmod 1644
c. chmod g+s d. chmod 2644
ÁÖÀÇ.! setgid´Â ¿ÁÅ» ¸ðµå¿¡¼¸¸ ¼³Á¤ °¡´É.
32. A power outage is schedule. Which command sequences are valid ways to shutdown so the system will not be damaged? (choose three) acd
a. init 0 b. init 1 c. init 5 d. shutdown -i 0 e. shutdown -i 3
33. What command do you use to show the current run level? c
a. runlevel b. who -u c. who -r d. who -H
34. What kind of information is stored in /export? a
a. user Home Directory b. configuration files
c. system binaries d. system libraries
35. In Bourne shell, when a user logs in, what is the order of initialization files executed? c
a. /etc/login then $HOME/.login b. /etc/.login then $HOME/.login
c. /etc/profile then $HOME/.profile
d. /etc/environment then $HOME/.profile
36. In Korn shell, when a user logs in, what is the order of initialization files executed? b
a. /etc/profile -> $HOME/.kshrc
b. /etc/profile -> $HOME/.profile -> $HOME/.kshrc
c. /etc/profile -> $HOME/.profile -> $HOME/.login
d. /etc/profile -> $HOME/.kshrc -> $HOME/.profile
Á¤È®ÇÑ ¼ø¼°¡ Áß¿ä.
37. Which of the following commands use option -o? (choose four) abde
a. useradd b. usermod c. userdel d. groupadd
e. groupmod f. groupdel
38. What command will mount a High Sierra file system? d
a. mount -F cdfs -o ro /dev/rdsk/c0t0d0s1 /cdrom/cdrom0
b. mount -f -o ro /dev/rdsk/c0t0d0s1 /cdrom/cdrom0
c. mount -f hsfs -o ro /dev/rdsk/c0t0d0s1 /cdrom/cdrom0
d. mount -F hsfs -o ro /dev/rdsk/c0t0d0s1 /cdrom/cdrom0
39. 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
40. What is the problem of the password "Mississippi3"? a
a. You must have at least one special character or a number in the first 8 digits
b. It is too long
c. It is a dictionary word
d. It has too many repeated characters
¼Ö¶ó¸®½º´Â ¾ÏÈ£¸¦ 8ÀÚÀÌ»ó ±â¾ïÇÏÁö ¾Ê´Â´Ù.
Áï, Mississi ¿ä±â±îÁö üũÇÏÁö¿ä.~
41. Which the usermod command can allow a duplicate user ID? (ÁÖ°ü½Ä) Answer : -o
42. which command will preserve changes even after power on reset. c
a. devalias b. setdevalias c. nvalias d. nvunalias
43. test.tar ÆÄÀÏ¿¡¼ Install.log¶õ ÆÄÀϸ¸À» extractÇÏ°íÀÚ ÇÑ´Ù ¸Â´Â°ÍÀº? a
a. tar xvf test.tar Install.log b. tar xvf Install.log test.tar
c. tar tvf test.tar Install.log d. tar cvf Install.log test.tar
44. tar ¸í·É¾îÁß retrieve¸¦ ÇÏÁö ¾Ê°í archived µÈ ÆÄÀÏÀÇ ³»¿ëÀ» º¼ ¼ö ÀÖ´Â ¸í·ÉÀº? b
a. tar tf /dev/rmt/0 b. tar tvf /dev/rmt/0
c. tar xvf /dev/rmt/0 d. tar cvf /dev/rmt/0
45. command to add a SUNWman package from /export/pkg spool directory. b
a. pkgadd -s /export/pkg SUNWman
b. pkgadd -d /export/pkg SUNWman
c. pkgadd -d SUNWman /export/pkg
d. pkgadd -s spool /export/pkg SUNWman
-s ¿É¼ÇÀº Á¦°ÅÇÏ´Â ¿É¼ÇÀÓ.
46 ´ÙÀ½ÀÇ ±×¸²¿¡¼ Á×¾îÀÖ´Â smbd µ¥¸óÀ» ÁßÁö½ÃÅ°´Â ¸í·É Áß¿¡ ¸Â´Â °ÍÀº?
Answer : kill -9 (in.smbd ÇÁ·Î¼¼½º ID)
À̹®Á¦°¡ °´°ü½ÄÀ¸·Î ±×¸²ÀÌ ÁÖ¾îÁö´Âµ¥, ±×¸²¿¡¼ smbd µ¥¸óÀÇ PID¸¦ ã¾Æ³»´Â°Ô Áß¿äÇÏ´Ù.
ÀÚÇÁ·Î¼¼½º¿Í ¸ðÇÁ·Î¼¼½º¸¦ Çò°¥¸®Áö ¸» °Í.
47. (from host A to host B) fileÀ» rcpÇÏ°íÀÚ ÇÒ ¶§ ´ÙÀ½ Áß ¸Â´Â ¼³¸íÀ» °ñ¶ó¶ó47.
Answer : host BÀÇ $HOME/.rhosts ÆÄÀÏ¿¡ host AÀÇ °èÁ¤ÀÌ µé¾î°¡ ÀÖ¾î¾ß ÇÑ´Ù.
48. chmod 1755 file¿¡¼ ´ÙÀ½ÀÇ ¼³¸í Áß ¸Â´Â °ÍÀ» °ñ¶ó¶ó.
Answer : sticky bit
49. ÆÄÀÏÀÇ Primary groupÀ» º¯°æÇÏ°íÀÚ ÇÒ ¶§ »ç¿ëÇÏ´Â ¸í·É¾î´Â ?
Answer : usermod -g or chgrp
À̹®Á¦ ¾ÆÁÖ Çò°¥¸°´Ù.
¸¸¾à¿¡, ÆÄÀÏÀÇ ÇÁ¶óÀ̸Ӹ® ±×·ìÀ» ¹Ù²Ù°íÀÚ ÇÑ´Ù¸é..chgrp°¡ µÉ°ÍÀÌ°í »ç¿ëÀÚÀÇ ±×·ìÀ» ÀüºÎ ´Ù ¹Ù²Ù°íÀÚÇÑ´Ù¸é, usermod -g °¡ Á¤´äÀÌ µÉ °ÍÀÌ´Ù.
ÁÖÀÇÇؼ Áö¹®À» Àо¼¼¿ä. ^^;;
50. ÆÄÀϽýºÅÛÀ» ¸¸µé ¶§ »ç¿ëµÇ´Â ¸í·É¾î·Î ¸Â´Â °ÍÀº
Answer: newfs /dev/rdsk/c0t1d0s0
°´°ü½ÄÀ̾ú´Âµ¥..Á¤È®ÇÑ ¹®Á¦ Áö¹®ÀÌ »ý°¢ÀÌ ¾È³ª³×¿±..rdsk ¿ä°Å¸¸ ÁÖÀÇÇÏ¸é µÉ°Å¿¡¿±.
51. hashÀÇ Á¤È®ÇÑ Àǹ̸¦ ¹¯´Â ¹®Á¦..?
Answer : ÆÄÀÏÀ» Àü¼ÛÇÒ ¶§, ƯÁ¤ÇÑ ¹®ÀڷΠǥ½ÃÇØÁØ´Ù.. ¸Ó ÀÌ·±½ÄÀÇ º¸±â°¡ ÀÖÀ½.
52. format ¸í·É¾îÁß¿¡...¾î¶² nameÀ» ÁÖ¾î¶ó ¸Ó ÀÌ·±½ÄÀÇ ¹®Á¦..Áö±Ýµµ Á¤È®ÇÑ ´äÀ» ¸ð¸§. ¤Ñ.¤Ñ;;
(ÁÖ°ü½Ä)
Àú´Â ´äÀ» nameÀ̶ó°í ½è´Âµ¥..¾Æ¹«·¡µµ Ʋ¸°°Å °°¾Æ¿±..À½...label, save
±× ¾î¶²°Íµµ ¾Æ´Ñ°Å °°¾Ò´Âµð.....ÂÁ..¹®Á¦º¸¸é ¾Ë°ÍÀÓ
Æ÷¸Ë¿¡¼ ¼¼¹®Á¦ ³ª¿Ô´Âµ¥...Æ÷¸Ë¸í·É¾î Á÷Á¢ Å×½ºÆ® Çغ¼ ÇÊ¿ä°¡ ÀÖÀ½.
53. ÆÄÀÏ ÆÛ¹Ì¼Ç ¹®Á¦...umask 000À¸·Î º¯°æÇß´Ù.ÈÀÏÀÇ ±âº» Æ۹̼ÇÀº ¹«¾ùÀΰ¡?
Answer : rw-rw-rw-
54. /etc/rc3.d/S ·Î ½ÃÀÛÇÏ´Â ½ºÅ©¸³Æ®¿¡ °üÇÑ ¹®Á¦
S17xxx, REDME, S88, S37xxx
ÀÌ·¯ÇÑ S ´ÙÀ½¿¡ ¿À´Â two digit°¡ ÀǹÌÇÏ´Â °ÍÀÌ ¹«¾ùÀ̳Ķó´Â ¹®Á¦..
Àü º¸±â¿¡¼ 4¹ø °ñ¶ù½¿.
º¸±âÁß¿¡ 2¹ø°ú 4¹ø ¹«Áö Çò°¥¸².
2¹ø º¸±â´Â Dependancy....¾îÂî°í ÀúÂî°í..
4¹ø º¸±â´Â ·±·¹º§ÀÌ º¯°æµÉ ¶§, ½ÇÇàµÇ´Â ¼ø¼.
55. grep ¹®Á¦...ù±ÛÀÚ°¡ A·Î ½ÃÀÛÇÏ´Â ÆÐÅÏÀ» ÇöÀç µð·ºÅ丮¿¡¼ ¸ðµÎ ã¾Æ¶ó.
Answer : grep '^A' *
56. rcp ¹®Á¦...HostA¿¡¼ Host B´ø°¡...±â¾ïÀÌ °¡¹°°¡¹°
|