000-103

25
IBM 000-103 000-103 AIX 6.1 Basic Operations Practice Test Version 3.0

description

AIX

Transcript of 000-103

IBM 000-103

000-103 AIX 6.1 Basic Operations

Practice TestVersion 3.0

Actu

alTe

sts.

com

QUESTION NO: 1

An operator needs to schedule the script '/usr/scripts/listall.ksh' to run at 19:00 on the current day.

What is the correct form of the 'at' command to accomplish this task?

A. at 7 /usr/scripts/listall.ksh

B. at 7 P /usr/scripts/listall.ksh

C. at now + 7 /usr/scripts/listall.ksh

D. at today + 7 p /usr/scripts/listall.ksh

Answer: B

QUESTION NO: 2

Which of the following commands will display what space is used in /tmp filesystem?

A. df -Ik /tmp

B. df -fk /tmp

C. df -Uk /tmp

D. df -Fk /tmp

Answer: A

QUESTION NO: 3

After performing a modification on the /etc/ssh/sshd_config file the operator needs to reinitialize

the secure shell daemon to enable the new settings. Which of the following is the correct way to

achieve this?

A. Use refresh -ssshd

B. Useinit.sshd /etc/rc.ssh

C. Use /usr/sbin/sshd -restart

D. Usestopsrc -s sshd and then startsrc -s sshd

Answer: D

QUESTION NO: 4

The printer associated with the hp5_queue is down for maintenance. Which of the following

commands will move the remaining print jobs from hp5_queue to the hp7_queue?

A. export $LPDEST=hp7_queue

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 2

Actu

alTe

sts.

com

B. qmov -m hp7_queue -P hp5_queue

C. lpmov -s hp5_queue -d hp7_queue

D. redirect -q hp5_queue hp7_queue

Answer: B

QUESTION NO: 5

An operator needs to change from the /usr/bin to the/var/spool directory. Which of the following

commands will accomplish this?

A. cd /var/spool

B. lcd /var/spool

C. cd /usr/bin /var/spool

D. lcd /usr/bin /var/spool

Answer: A

QUESTION NO: 6

Which of the following will rename dir1 as dir2?

A. mv dir1 dir2

B. ren dir1 dir2

C. cp -R dir1 dir2

D. mv -R dir1 dir2

Answer: A

QUESTION NO: 7

An operator has been asked if a system was rebooted.Which of the following commands should

be used to determine if a reboot has occurred?

A. Thename?command.The ?name?command.

B. Theptime?command.The ?ptime?command.

C. Thehutdown ast?command.The ?hutdown ?ast?command.

D. The ?etc/rc.shutdown?command.

Answer: B

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 3

Actu

alTe

sts.

com

QUESTION NO: 8

Which of the following is the correct command to list the filesystems in datavg?

A. lsvg -p datavg

B. lsvg -l datavg

C. lsvg -L datavg

D. lsvg -o datavg

Answer: B

QUESTION NO: 9

Which of the following will cancel only job 123 from printer lp01?

A. lpstat -d 123 lp01

B. enq -d 123 -p lp01

C. qcan -x 123 -P lp01

D. lpcan -j 123 -p lp01

Answer: C

QUESTION NO: 10

Which of the following will permit an operator to retrieve console log output from the command

line?

A. lscons -l

B. cat /var/conslog

C. alog -t console -o

D. lslog /var/adm/conslog

Answer: C

QUESTION NO: 11

How can an operator make sure a shell script will run in 'ksh93'?

A. add #! /usr/bin/ksh93 to the first line of the script.

B. add ## /usr/bin/ksh93 to the first line of the script.

C. add #+ /usr/bin/ksh93 to the first line of the script.

D. add #? /usr/bin/ksh93 to the first line of the script.

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 4

Actu

alTe

sts.

com

Answer: A

QUESTION NO: 12

An operator needs to run a script which will write standard output and standard error to different

files. Which of the following commands will successfully perform this task?

A. myscript.ksh 1>/tmp/log/script.log 2>/tmp/log/script.err

B. myscript.ksh $1>/tmp/log/script.log $2>/tmp/log/script.err

C. myscript.ksh 1>/tmp/log/script.log 2>1 /tmp/log/script/err

D. myscript.ksh 2>1 /tmp/log/script.log 2> /tmp/log/script.err

Answer: A

QUESTION NO: 13

Operator needs to remove all leading comments ??from shell.script file. Which of the following vi

sub-command can achieve this?

A. :r/^#//g

B. :1,$ s/^#//g

C. :sed s/^#//g

D. :sub s/^#//g

Answer: D

QUESTION NO: 14

Which of the following commands will list available paging space on a system?

A. lsps

B. lsps -a

C. lsps -pg

D. lsps ALL

Answer: B

QUESTION NO: 15

What command would an operator use to verify that user ID 'train2' is locked?

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 5

Actu

alTe

sts.

com

A. lsuser locked train2

B. lsuser -a locked train2

C. lsuser account_locked train2

D. lsuser -a account_locked train2

Answer: D

QUESTION NO: 16

Users are reporting server connectivity issues. Theoperator must check if the physical Ethernet

adapter 'ent1' has an active link. Which of the following commands will display the following

output? Link Status : Unknown

A. entstat -d ent1 | grep Link

B. netstat -I ent1 | grep Link

C. ifconfig -a ent1 | grep link

D. lsattr -dev ent1 | grep link

Answer: A

QUESTION NO: 17

An operator wants to move all files inside the directory/home/operator to the current directory.

Which of the following commands will complete the task?

A. mv /home/operator .

B. mv /home/operator/* .

C. mv /home/operator ../..

D. mv /home/operator/all ../home/operator

Answer: B

QUESTION NO: 18

An operator wants to view all the scheduled jobs on asystem. Which of the following locations

would house scheduled jobs?

A. /etc/var/spool

B. /var/spool/cron

C. /var/sched/jobs

D. /usr/sched/crontabs

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 6

Actu

alTe

sts.

com

Answer: C

QUESTION NO: 19

A system does not have a nameserver defined for IP address resolution. What file does AIX use to

determine the IP address of a remote system?

A. /etc/hosts

B. /etc/names

C. /etc/rc.tcpip

D. /etc/resolv.conf

Answer: A

QUESTION NO: 20

Which command while in a vi session will change the currently selected word?

A. ec

B. wc

C. ew

D. cw

Answer: D

QUESTION NO: 21

A database process is running under user 'dbuser'. An operator logs in as dbuser and wants to

stop all the processes running under thatuser immediately. Which of the following should be used?

A. kill -1

B. kill -9 -1

C. kill dbuser

D. kill -u dbuser

Answer: B

QUESTION NO: 22

Which of the following procedures will allow an operator to access an LPAR console session?

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 7

Actu

alTe

sts.

com

A. Open avterm from the VIO graphical interface to get the partition console.

B. Open avterm from the ASMI graphical interface to get the partition console.

C. Start anssh session to the HMC.Use the vtmenu command to select the desired LPAR.

D. Start anssh session to the VIO. Use the vtmenu command to select the desired LPAR.

Answer: C

QUESTION NO: 23

An operator is in the middle of a file using 'more'. What subcommand can be used to go to

previous page in the file?

A. b

B. p

C. r

D. v

Answer: A

QUESTION NO: 24

What command show how much space is assigned to the 'rootvg' volume group?

A. lspv

B. lsvg rootvg

C. lsvg -l rootvg

D. lsfs -s rootvg

Answer: B

QUESTION NO: 25

An Operator is in /var/tmp and needs to go to /var/adm. Which of the following is correct?

A. cd /adm

B. cd ./adm

C. cd ../adm

D. cd /../adm

Answer: C

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 8

Actu

alTe

sts.

com

QUESTION NO: 26

Which of the following commands will show the users that are logged on a system ?

A. id

B. who

C. whois

D. lsuser

Answer: B

QUESTION NO: 27

What command would an operator use to move a file from the /old_dir directory to the /new_dir

directory without changing the file name?

A. mv /old_dir/file /new_dir

B. mv -p /old_dir/file /new_dir

C. mv -k /old_dir/file /new_dir

D. mv /old_dir/file /new_dir/new_file

Answer: A

QUESTION NO: 28

An operator is asked to verify the exact location of the default JRE binary. The following

commands were run: $ which java /usr/bin/java $ ls -l /usr/bin/java lrwxrwxrwx 1 root other 23 Jan

272006 /usr/bin/java -> ../jre1.5.0_06/bin/java Based on the command outputs above, what is the

path to the java executable file?

A. /usr/bin/java

B. /usr/jre1.5.0_06/bin/java

C. /usr/bin/jre1.5.0_06/bin/java

D. /usr/bin/java/jre1.5.0_06/bin/java

Answer: B

QUESTION NO: 29

What is the default configuration file used by the sendmail command?

A. /etc/rc/rc.mail

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 9

Actu

alTe

sts.

com

B. /etc/mail.config

C. /etc/sendmail.config

D. /etc/mail/sendmail.cf

Answer: D

QUESTION NO: 30

An operator needs to transfer several files in the same directory using ftp without being prompted.

Which of the following ftp subcommands must be used?

A. int

put *

B. int

mput *

C. prompt

put *

D. prompt

mput *

Answer: D

QUESTION NO: 31

An operator needs to create a bootable system image to tape drive 'rmt0'. Which command will

give the desired result?

A. mksysb -i /dev/rmt0

B. sysimg -i /dev/rmt0

C. mksysb -i /tape/rmt0

D. sysimg -i /tape/rmt0

Answer: A

QUESTION NO: 32

The operator needs to execute a long-running shell script. How can the script be executed so the

operator does not have to wait until it is complete to access the command prompt?

A. ./script.ksh

B. nohup ./script.ksh

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 10

Actu

alTe

sts.

com

C. run -b ./script.ksh

D. ./script.ksh >nohup.out

Answer: A

QUESTION NO: 33

The operator needs to change the /test filesystem in the testvg volume group so that it mounts

automatically following a system reboot. Which of the following commands is correct?

A. chvg -a y testvg

B. chfs -A yes /test

C. mount /test -auto=yes

D. chlv -a automount=y testlv

Answer: B

QUESTION NO: 34

A user is complaining that their display does not look correct. When the operator has the user run

the command 'echo $TERM' the resultis 'ascii', however, the /etc/environment file contains the line

'export TERM=vt100'. What is the likely cause of this difference?

A. The user is not using a VT100 terminal

B. The user's login shell is set tosh instead of ksh

C. The user's .profile resets the TERM environment variable

D. The /etc/profile file sets the TERM environment variable to 'ascii'

Answer: C

QUESTION NO: 35

An application owner wants to grant write permission to all users for all the files and directories in

the application directory. Which of the following is the correct command?

A. chmod -R u+rw /application

B. chmod -r u+rw /application

C. chmod -R o+rw /application

D. chmod -r o+rw /application

Answer: C

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 11

Actu

alTe

sts.

com

QUESTION NO: 36

What is the purpose of the 'who -d' command?

A. Show currently logged on users on the system

B. Display the last time a system dump happened

C. Display all the devices available and they current ownership

D. Show the processes that were not re-spawned by init and their exit state value

Answer: D

QUESTION NO: 37

When an operator is trying to log off the system displays this message: ou have running jobs. You

have running jobs What does this mean?

A. One or more processes are running in the background, preventing logoff

B. One or more processes are paused, requiring operator input prior to logging off.

C. At least one process is running in the background and it will keep running after the operator

logs off

D. At least one process is running in the background usingnohup and it will terminate when the

operator logs off

Answer: C

QUESTION NO: 38

An operator is asked to rewind and eject a tape from asystem. Which command will accomplish

this without touching the tape drive?

A. tctl reset

B. tctl rewind

C. tctl return

D. tctl rewoffl

Answer: A

QUESTION NO: 39

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 12

Actu

alTe

sts.

com

Which of the following can be used to insert a new line below the current line inside a vi session?

A. o

B. a

C. p

D. A

Answer: A

QUESTION NO: 40

An operator needs to get lines in /etc/filesystems ending with ':'. Which of the following commands

will achieve this?

A. grep $: /etc/filesystems

B. grep *: /etc/filesystems

C. grep :$ /etc/filesystems

D. grep ""\:\$"" /etc/filesystems

Answer: C

QUESTION NO: 41

After making changes to the profile for an LPAR, the administrator asks the operator to bring the

LPAR back up into a running state with the new changes. Which of the following is the correct way

to do this?

A. Shutdown and activate the partition profile

B. Reboot the partition using the reboot command

C. Reboot the partition using the 'shutdown -r' command

D. Right click on the partition profile and select the 'apply changes' option

Answer: A

QUESTION NO: 42

User2 is complaining that he is unable to list the contents of a directory. What is the most likely

cause?

A. User2 needs write permission to the directory.

B. User2 needs both read and write permissions to the directory.

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 13

Actu

alTe

sts.

com

C. User2 needs both read and execute permissions to the directory.

D. User2 needs both write and execute permissions to the directory.

Answer: C

QUESTION NO: 43

Which of the following is required for a user to have theauthority to change another user's

password?

A. Must have the user's current password

B. Must have write authority for the /etc/passwd file

C. Must be logged in as root or a member of the security group

D. Must be logged in as root or a member of the same primary group as the user

Answer: C

QUESTION NO: 44

Which of the following commands will show the optionsavailable for the 'ls' command together with

an explanation of each?

A. ls ?

B. ls -h

C. manls

D. help ls

Answer: C

QUESTION NO: 45

Which command enables a user to exit the vi editor, overwriting the existing file without prompting

for confirmation?

A. :w

B. :qw

C. :x!

D. :we!

Answer: C

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 14

Actu

alTe

sts.

com

QUESTION NO: 46

An operator notices that a job on the system is causing poor performance. The job is a root

process and the administrator has concluded itis not important and can be stopped. Shortly after

stopping the process, it starts again. Which of the following commands will list repeating

scheduled tasks?

A. at -l

B. jobs -l

C. sched -l

D. crontab -l

Answer: D

QUESTION NO: 47

What command will an operator use to check if the system has NFS3 filesystems currently

defined?

A. lsnfs3

B. lsnfs -v 3

C. lsfs -v nfs3

D. lsfs -t nfs3

Answer: C

QUESTION NO: 48

Which of the following commands will show how manyphysical partitions are available on active

hdisk1?

A. lspv hdisk1

B. lsvg -p hdisk1

C. lsattr -p hdisk1

D. lsdev -E -l hdisk1

Answer: A

QUESTION NO: 49

An existing directory '/history_logs' contains too manyfiles, so the 'ls' command fails. How can the

operator determine the number of files in the directory?

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 15

Actu

alTe

sts.

com

A. df -k /history_logs | wc

B. find /history_logs | wc -n

C. cat /history_logs | ls -l | wc -l

D. find /history_logs -type f | wc -l

Answer: D

QUESTION NO: 50

An operator must check the status of print queues on a regular basis. Which of the following

commands can be used to check on all the print queues?

A. lslp -a

B. qchk -A

C. enq -s ALL

D. lpstat -p ALL

Answer: B

QUESTION NO: 51

What is the correct command to display the current working directory?

A. echo $PWD

B. echo $pwd

C. echo $CWD

D. echo $cwd

Answer: A

QUESTION NO: 52

Which of the following AIX storage concepts is correct?

A. Afilesystem can span multiple physical volumes.

B. A physical volume can belong to more than 1 volume group.

C. A logical volume can have up to 2 copies in each of 2 volume groups.

D. The size of afilesystem is always the same size as its logical volume.

Answer: A

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 16

Actu

alTe

sts.

com

QUESTION NO: 53

A user created a file name '.newfile' in the /save directory, but doesn't see the file when listing the

directory contents. Which command will verify the file is in the directory?

A. ls -a /save

B. ls -e /save

C. lsdir -E /save

D. lsdir -A /save

Answer: A

QUESTION NO: 54

An operator is editing a file using a keyboard without arrow keys. What key can be used to move

the cursor one character to the right?

A. n

B. j

C. k

D. l

Answer: D

QUESTION NO: 55

The man page for ommand?shows the following syntax: The man page for command shows the

following syntax: command [ -a | -b ] Which of the following statements is true regarding this entry?

A. Either the or flag may be used, but notboth.Either the ? or ? flag may be used, but not both.

B. If the flag is used then the flag also must beusedIf the ? flag is used then the ? flag also must

be used

C. One of the -a or -b flags must be used, but not both at the same time.

D. Both the and flags may be used together, but neither aremandatoryBoth the ? and ? flags may

be used together, but neither are mandatory

Answer: D

QUESTION NO: 56

An operator is trying to perform an immediate power down of an AIX LPAR using the 'shutdown -k'

command. The cursor has returned to the command prompt, but no shutdown activities are

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 17

Actu

alTe

sts.

com

showing on the screen after more than one minute. Which of the following is the most likely cause

of the problem?

A. The /etc/rc.shutdown script is missing.

B. Thebos.rte.control fileset has become corrupted.

C. The operator UID is not a member of the shutdown group.

D. The -k flag against the shutdown command only broadcast the shutdown message.

Answer: D

QUESTION NO: 57

Which of the following will list only the JFS2 filesystemsthat are mounted?

A. lsfs -t jfs2

B. mount -v jfs2

C. df | grep jfs2

D. mount |grep jfs2

Answer: D

QUESTION NO: 58

Which of the following will occur if an operator types the command i file.out?Which of the following

will occur if an operator types the command ?i file.out?

A. If the file exists it will be opened for editing. If the file does not exist an error message will be

displayed.

B. If the file exists it will be opened for editing. If the file does not exist a new file with the

namefile.out will be created and opened for editing.

C. If the file exists an error message will be displayed. If the file does not exist anewfile with the

name file.out will be created and opened for editing.

D. If the file exists the operator will be asked whether to open the file or overwritethefile. If the file

does not exist a new file with the namefile.out will be created and opened for editing.

Answer: B

QUESTION NO: 59

An operator wants to make sure stdout and stderr of the ls command are redirected to the pg

command via the pipe. Which syntax is correct?

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 18

Actu

alTe

sts.

com

A. ls 2>1|pg

B. ls 2&1|pg

C. ls 2>>1|pg

D. ls 2>1>|pg

Answer: A

QUESTION NO: 60

What command can be used to make all mountable filesystems available for use?

A. mount -a

B. automount all

C. varyonvg -m -a

D. run the /etc/filesystems script

Answer: A

QUESTION NO: 61

An operator is asked to shutdown the telnet service forsecurity reasons. What are the appropriate

commands to achieve this?

A. comment outtelnetd in /etc/servicesrefresh -s inetd

B. comment outtelnetd in /etc/inetd.conf refresh -s inetd

C. comment outtelnetd in /etc/rc.tcpip refresh -s telnetd

D. comment outtelnetd in /etc/inetd.conf refresh -s telnetd

Answer: B

QUESTION NO: 62

How can an operator list all its history of commands in one step?

A. Run c -l 0?from the command line.Run ?c -l 0?from the command line.

B. Invoke SMIT for the shell environment.

C. Run the SC +H?combination at the command prompt.Run the ?SC + H?combinationat the

command prompt.

D. Use arep?command with its UID against the /var/log/history_cmds file.Use a ?rep?command

with its UID against the /var/log/history_cmds file.

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 19

Actu

alTe

sts.

com

Answer: A

QUESTION NO: 63

Which of the following commands would an operator use to give all group members executable

permission for the file 'script.sh'?

A. chmod +e script.sh

B. chmod g+x script.sh

C. chmod e+g script.sh

D. chmod g+660 script.sh

Answer: B

QUESTION NO: 64

An operator is in /usr/bin running the command 'ls ../lpp/*/bosinst'. What output directory will be

displayed?

A. /usr/lpp/bosinst

B. /usr/bin/bosinst

C. /usr/lpp/bos/bosinst

D. /usr/bin/lpp/bos/bosinst

Answer: C

QUESTION NO: 65

An operator needs to create /dir1/dir2/dir3. The /dir1 does not exist. What command can be used

to create dir2 and dir3?

Page 14 of 17

A. mkdir /dir1/dir2/dir3

B. mkdir -R dir1/dir2/dir3

C. mkdir -p /dir1/dir2/dir3

D. mkdir -r /dir1/dir2/dir3

Answer: C

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 20

Actu

alTe

sts.

com

QUESTION NO: 66

Which of the following will allow an operator to do abackup of '/var' in relative path using the

'backup' command?

A. backup -p /var -ivf /dev/rmt0

B. find /var|backup -ivf /dev/rmt0

C. cd /var; backup -p . -ivf /dev/rmt0

D. cd /var;find .|backup -ivf /dev/rmt0

Answer: D

QUESTION NO: 67

During heavy system resources usage, and administrator detects that the top processes are from

the user 'webapp'. The operator needs to check all the running processes from that user to

analyzethem. Which command can retrieve that information in a single step?

A. puser webapp

B. ps -fu webapp

C. proc -uid webapp

D. fuser /dev/webapp

Answer: B

QUESTION NO: 68

How would an operator determine if the System Activity Report has been scheduled?

A. Login asadm and run crontab Login as adm and run crontab ?

B. Login asadm and run crontab Login as adm and run crontab ?

C. Login as root and runcrontab Login as root and run crontab ?

D. Login as root and runcrontab Login as root and run crontab ?

Answer: B

QUESTION NO: 69

Which of the following commands can be used to show all disks configured on the system?

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 21

Actu

alTe

sts.

com

A. lsdev -C disk

B. lsdev -P disk

C. lsdev -Cc disk

D. lsdev -Pc disk

Answer: C

QUESTION NO: 70

What command will allow the operator to add the current working directory to the command search

path?

A. export PATH=pwd

B. export PATH=$PWD

C. export PATH=$PATH:pwd

D. export PATH=$PATH:$PWD

Answer: C

QUESTION NO: 71

Which of the following is a correct statement about howthe user environment is configured at

login?

A. If present, the settings in the $HOME/.profile file will override the settings in the /etc/profile file.

B. If both $HOME/.profile and $HOME/.env files are present, the settings in the$HOME/.profile file

will take precedence.

C. The settings in the /etc/environment file are system-wide and will override user customized

settings in the $HOME/.profile.

D. The settings in the /etc/profile file will override settings in the $HOME/.profile file unless the

$LOCAL_PROFILE variable is set to 'true'.

Answer: C

QUESTION NO: 72

An operator was contacted by a user who stated that the script mkit.sh seems to be hung and that

the user needs the script stopped. The operator logged in as root and issued the command:

ps-ef | grep mkit.sh The following results were returned: user1 98342 768 0 Sep 14 - 0:00

/bin/ksh /home/user1/mkit.sh Which command would the operator issue to stop the 'mkit.sh'

script?

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 22

Actu

alTe

sts.

com

A. halt 768

B. kill 768

C. halt 98342

D. kill 98342

Answer: D

QUESTION NO: 73

Which of the following commands will display, in MB, the total, used, and free blocks of the

currently mounted file systems?

A. df -m

B. du -m

C. df -vm

D. du -vm

Answer: C

QUESTION NO: 74

How can an operator temporarily gain access to the command line while in a smit session, without

losing the current smit session?

A. F2 key

B. F6 key

C. F8 key

D. F9 key

Answer: D

QUESTION NO: 75

An operator has been asked to display all users which have primary or secondary group set to

'webadmin'. Which of the following commands will retrieve the required information?

A. lsgroup webadmin

B. finger -Gwebadmin

C. who -groupwebadmin

D. grep webadmin /etc/passwd

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 23

Actu

alTe

sts.

com

Answer: A

QUESTION NO: 76

An operator is editing a file using vi. Which of the following subcommand sequences will copy the

current line plus the next 2 lines to the end of the file?

A. yyE 3p

B. 3yyGp

C. 3yy :e5pp

D. yy :g 3p

Answer: B

QUESTION NO: 77

Which of the following commands can an operator use to view disk performance details?

A. topas -D

B. topas -R

C. topas -C

D. topas -d

Answer: A

QUESTION NO: 78

An operator needs to replace all the occurrences of the string '/home/user1' in the current file

using vi with '/home1/user2'. Which of the following sub-commands will achieve this?

A. :1,$ s:/home/user1:/home1/user2:g

B. :1,$ s\/home/user1\/home1/user2\/g

C. :1,$ s\/\/home\/user1\/\/home1\/user2\/g

D. :1,$ s/\\/home\\/user1/\\/home1\\/user2/g

Answer: A

QUESTION NO: 79

Which of the following commands can be used to locate all occurrences of a file script.sh on a

system?

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 24

Actu

alTe

sts.

com

A. file -l script.sh

B. ls -ar | grep script.sh

C. find . -name script.sh -print

D. find / -name script.sh -print

Answer: D

QUESTION NO: 80

The system administrator has requested that all setuid/setgid bits be removed from executables in

application filesystem. Which command will achieve this?

A. chmod -R o-s /application

B. chmod -R ug-s /application

C. chmod -R -s -o /application

D. chmod -R -s -ug /application

Answer: B

QUESTION NO: 81

The operator is viewing a file using 'more'. What subcommand can be used to exit before reaching

the end of the file?

A. q

B. :w!

C. /quit

D. ctrl X

Answer: A

IBM 000-103: Practice Exam

"Pass Any Exam. Any Time." - www.actualtests.com 25