aix certification

Upload: mahanthkr

Post on 04-Jun-2018

221 views

Category:

Documents


1 download

TRANSCRIPT

  • 8/13/2019 Aix Certification

    1/33

    Exam: 000-190

    Title : AIX Basic Operations V5Ver : 01.24.07

  • 8/13/2019 Aix Certification

    2/33

    000-190

    Actualtests.com - The Power of Knowing

    QUESTION 1What is contained in the .exrc file?

    A. The default crash recovery file name

    B. The list of environmental commandsC. A scratch pad area for temporary dataD. An automatic backup of the text being edited

    Answer: B

    QUESTION 2Which command will cancel the print job number 123 from the Post Script "PS" printqueue?

    A. qcan -P 123

    B. qcan -X PS 123C. qcan -X -P PS 123D. qcan -P PS -x 123

    Answer: D

    QUESTION 3Which command would be used to show the current system host names that have accessto a user's X Server?

    A. xinit

    B. cat /.rhostC. xhostD. xdm -config

    Answer: C

    QUESTION 4What is the correct command to save the output of the command in one file and the errormessages in another?

    A. command 1>file1 2>&1B. command 1>file1 2>file2C. command 1>file1 2>file1D. command 2>file2 1>&2

    Answer: B

    QUESTION 5A directory with files can be deleted with which of the following commands?

  • 8/13/2019 Aix Certification

    3/33

    000-190

    Actualtests.com - The Power of Knowing

    A. rm -rB. mvdirC. touchD. rmdir

    Answer: A

    QUESTION 6Where will the final output be placed after this sequence of piped commands? ls -l |pg

  • 8/13/2019 Aix Certification

    4/33

    000-190

    Actualtests.com - The Power of Knowing

    A. cpB. mvC. mkdirD. rm

    Answer: C

    QUESTION 10Which command will measure the network response time of a remote machine?

    A. ftpB. pingC. traceD. netstat

    Answer: B

    QUESTION 11Which dd command is using a relative path name as the source argument and an absolutepath name as its target argument?

    A. dd if=/home/blue of=/B. dd if=blue of=/dev/rmt0C. dd if=blue of=./dev/fd0D. dd if=/home/green of=/u/blue/green

    Answer: B

    QUESTION 12Which of the following commands will save the file the user is editing and not exit vi?

    A. :wqB. :wC. :xD. ZZ

    Answer: B

    QUESTION 13What file can be used to alter a user's login environment in the Korn shell?

    A. /ENVB. .kshrcC. /etc/.profileD. /home/profile

  • 8/13/2019 Aix Certification

    5/33

    000-190

    Actualtests.com - The Power of Knowing

    Answer: B

    QUESTION 14Which method would be used to cancel the print job number 321 that was submitted to

    the color print queue using the System V printer subsystem commands?

    A. cancel colorB. cancel -u 321C. cancel 321D. cancel -u color

    Answer: C

    QUESTION 15What is necessary to use the contents of a file as input for an AIX command?

    A. Redirect standard input.B. Append standard input.C. Redirect standard output, then standard input.D. Type the contents of the file onto the command line.

    Answer: A

    QUESTION 16Which command should be used to print a file named "colorfile" to the print queuecolor?

    A. enq color_

    fileB. qprt color_fileC. enq -P psc color_fileD. enq -P color color_file

    Answer: D

    QUESTION 17Which command can be used to enter the vi editor and create the file "myfile" withoutgenerating any errors?

    A. vi myfileB. vi -c myfileC. vi -y myfileD. vi -t myfile

    Answer: A

  • 8/13/2019 Aix Certification

    6/33

    000-190

    Actualtests.com - The Power of Knowing

    QUESTION 18Which of the following displays information about the rpc$register library routine usingthe man command?

    A. man -f rpc_$register

    B. man rpc_

    \$registerC. man rpc_$registerD. man -M rpc_\$register

    Answer: B

    QUESTION 19What is the proper command to read a multi-page file one page at a time?

    A. catB. type

    C. showD. more

    Answer: D

    QUESTION 20When ftping, what is the command to send a file to a remote machine?

    A. putB. openC. ntrans

    D. stream

    Answer: A

    QUESTION 21Which of the following vi commands would be used to change the next two words?

    A. c2wB. 2RC. 2cwD. r2

    Answer: A

    QUESTION 22Which keystroke sequence can be used to suspend a process in the Korn shell so it maybe restarted at a later time?

    A. Ctrl-c

  • 8/13/2019 Aix Certification

    7/33

    000-190

    Actualtests.com - The Power of Knowing

    B. Ctrl-qC. Ctrl-xD. Ctrl-z

    Answer: D

    QUESTION 23Which of the following vi commands would be used to change all occurrences of theword "text" to the string "my text"?

    A. :/text/s/my text/gB. :g/ text /s// my text /gC. :g/text /s/my text /gD. :g/text/s/my text/g

    Answer: B

    QUESTION 24If in home (/home), what command can be run to determine if the file "plants" is adirectory without viewing the contents?

    A. ls -lad plantsB. ls -fa plantsC. li -la plantsD. li -fa plants

    Answer: A

    QUESTION 25What is the correct flag to telnet to a remote machine as a specific user?

    A. tn -fB. tn -dC. tn -p hostnameD. tn -l user hostname

    Answer: D

    QUESTION 26Which of the following is the vi editor command that will delete one word at a time whilein command mode?

    A. ccB. ddC. dwD. rw

  • 8/13/2019 Aix Certification

    8/33

    000-190

    Actualtests.com - The Power of Knowing

    Answer: C

    QUESTION 27How can permissions for the chmod command be written?

    A. As a hex numberB. In either octal or symbolic notationC. As strings of "rwx" to picture the layout of the permissionsD. In the first line of a file when it is created, and then interpreted by the shell

    Answer: B

    QUESTION 28In a Korn shell which command would be used to set the terminal type to aixterm?

    A. env TERM=aixtermB. set $TERM=aixtermC. export TERM=aixtermD. export $TERM=aixterm

    Answer: C

    QUESTION 29Which mail command is used to automatically send a note back to the originator of ane-mail message?

    A. r commandB. f commandC. .reply file must existD. .forward file must exist

    Answer: A

    QUESTION 30Which command will display all lines in file1 that contain the string abc but NOT thestring xyz?

    A. grep -E "abc&!xyz] file1B. grep abc file1 | grep -v xyz file1C. grep [abc][^xyz] file1D. grep -v xyz "abc" file1

    Answer: A

  • 8/13/2019 Aix Certification

    9/33

    000-190

    Actualtests.com - The Power of Knowing

    QUESTION 31Which key should be pressed in the vi editor to enter text-input mode and begin insertingtext BEFORE the cursor position?

    A. a

    B. iC. $D. o

    Answer: B

    QUESTION 32If the current directory is /tmp, which command will display the available file systemspace in the user's current directory?

    A. df .

    B. du $tmpC. du .D. df $tmp

    Answer: A

    QUESTION 33Which command will display the current working directory?

    A. pwdB. dosdir

    C. oldpwdD. echo $DIR

    Answer: A

    QUESTION 34Which command displays the total block usage for all files in a directory?

    A. dcB. dfC. du -sD. ls -al

    Answer: C

    QUESTION 35Which vi command can be used to copy a line of text into the text buffer?

    A. i

  • 8/13/2019 Aix Certification

    10/33

    000-190

    Actualtests.com - The Power of Knowing

    B. rC. yyD. cc

    Answer: C

    QUESTION 36Which command should be used to permit ONLY the owner to use the script file namedsavemachine as an executable script?

    A. chmod 777 savemachineB. chmod -x ./savemachineC. chmod u=rwx,go= savemachineD. chmod go-w+x savemachine

    Answer: C

    QUESTION 37Which of the following commands should be used to list all the files and directories inthe current working directory that have the string 'foo' in their name?

    A. ls fooB. ls foo*C. ls *foo*D. ls *foo?

    Answer: C

    QUESTION 38What should be done to test the lines of a shell script?

    A. Use the exec commandB. Run the shell syntax checker shckC. Model them with a high level language (e.g., "C") firstD. Enter each one at the command line and check the results

    Answer: D

    QUESTION 39When executed on a single line, which commands will cause a syntax error?

    A. cd ; ./.profileB. ps -ef | grep initC. TERM=ibm3151 / export TERMD. find /etc -print | grep motd

  • 8/13/2019 Aix Certification

    11/33

    000-190

    Actualtests.com - The Power of Knowing

    Answer: C

    QUESTION 40What is required to use the cp command to copy multiple files to a directory?

    A. The last item listed for the command must be the directory.B. A full path must be specified for each item in the command list.C. The target directory must be listed first and the files follow.D. A list of file names is directed to standard in and the name of the directory is assignedto standard error.

    Answer: A

    QUESTION 41What is the command to show the messages in folder work?

    A. mail workB. mail -f +workC. mail -i workD. mail -F +work

    Answer: B

    QUESTION 42Which command will display all lines in file1 that begin with the string abc and end withthe string xyz ?

    A. grep "^abc*xyz$" file1B. grep abc*xyz\\n file1C. grep ^abc file1 | grep -v xyz$ file1D. grep "^abc" file1 | grep "xyz$"

    Answer: D

    QUESTION 43Which of the following vi commands could be used to delete the current line of text andenter insert mode?

    A. ddB. ccC. 0xiD. C

    Answer: B

  • 8/13/2019 Aix Certification

    12/33

    000-190

    Actualtests.com - The Power of Knowing

    QUESTION 44Which of the following commands would be used to move the current line of text?

    A. yyB. "a1yy

    C. ddD. :"a1dd

    Answer: C

    QUESTION 45What is the correct user command to remove the link foo?

    A. ln -s foo /dev/nullB. ln foo garbageC. unlink foo

    D. rm foo

    Answer: D

    QUESTION 46Which of the following can be used to display a listing of all processes currentlyexecuting on a machine?

    A. psB. pshC. ps -f

    D. ps -ef

    Answer: D

    QUESTION 47Which command can be used to list or modify previously executed shell commands?

    A. fcB. envC. prevD. edit

    Answer: A

    QUESTION 48Which of the following commands should be used to remove an empty directory in thecurrent directory named -dir?

    A. rmdir -p -dir

  • 8/13/2019 Aix Certification

    13/33

    000-190

    Actualtests.com - The Power of Knowing

    B. rmdir -p "-dir"C. rmdir -- -dirD. rmdir '-dir'

    Answer: C

    QUESTION 49Which of the following commands should be used to list all files in the root filesystemthat are named .profile?

    A. find . -name .profileB. find / -name .profile -printC. find * -name "*profile" -lsD. find ../. .profile -exec ls -l

    Answer: B

    QUESTION 50By default, double-clicking the left mouse button on a word of text initiates what actioninside an AIX Windows environment?

    A. COPY of that wordB. PASTE of that wordC. CUT of the line of text containing that wordD. PASTE of the line of text containing that word

    Answer: A

    QUESTION 51What happens with files removed with the rm command?

    A. They are not recoverable unless restored within approximately five minutes.B. They are stored in /tmp and deleted later by the skulker program.C. They are recoverable with commands derived from DOS.D. They are not recoverable.

    Answer: D

    QUESTION 52When is a window is ready to receive input or other window manager functions?

    A. It has been minimized.B. It is the only visible window on the display.C. Any portion of the window is visible.D. It it has been selected for input focus.

  • 8/13/2019 Aix Certification

    14/33

    000-190

    Actualtests.com - The Power of Knowing

    Answer: D

    QUESTION 53After many operations have been performed by a given AIX user, which command will

    place the user back into their home directory?

    A. cdB. cd .C. cd ./homeD. cd ../home

    Answer: A

    QUESTION 54With multiple print queues defined, what is the most appropriate command to display the

    status of all print queues on a system?

    A. lpqB. qchkC. lpstatD. qconfig

    Answer: C

    QUESTION 55Which vi command string searches a file for the first instance of the phrase "the one and

    only"?

    A. /the one and only/B. //the one and only/C. /the one and only/sD. /the one and only/g

    Answer: A

    QUESTION 56What is a valid format to remove a file named Machine*.$CLUSTER.txt?

    A. rm Machine*."$CLUSTER".txtB. rm "Machine*.$CLUSTER.txt"C. rm 'Machine*.$CLUSTER.txt'D. rm "Machine\*.$CLUSTER.txt"

    Answer: C

  • 8/13/2019 Aix Certification

    15/33

    000-190

    Actualtests.com - The Power of Knowing

    QUESTION 57Which command lists all files in the /home file system?

    A. find . -name /homeB. find /home -print

    C. find . -name allD. find /home -type all

    Answer: B

    QUESTION 58What AIX command displays the current status information regarding specified printjobs, print queues, or users?

    A. qcanB. qprt

    C. qchkD. qhld

    Answer: C

    QUESTION 59What is the correct term for a path name that starts with a slash (/) ?

    A. relative pathnameB. absolute pathnameC. current working directory

    D. parent directory

    Answer: B

    QUESTION 60Which vi command can be used to change the location of the cursor position to line 16 ofa file?

    A. 16B. j16C. /16D. :16

    Answer: D

    QUESTION 61What is displayed by the command grep "^[a-zA-Z]" pgm.s?

    A. All lines in pgm.s that begin with a letter

  • 8/13/2019 Aix Certification

    16/33

    000-190

    Actualtests.com - The Power of Knowing

    B. All words in pgm.s that begin with a letterC. All files in the pgm.s directory that begin with a letterD. All processes beginning with a letter that are a child process of pgm.s

    Answer: A

    QUESTION 62What happens to a background process when the user logs out?

    A. All background processes can be left running without doing anything after loggingoff.B. Background processes run with a higher priority than foreground processes.C. Background processes used with the nohup command can be left running after loggingoff.D. Background processes used with the nohup command have a higher priority thanforeground processes.

    Answer: C

    QUESTION 63If the current directory was /home/guest, which command would the user execute to listall permissions of all files in all subdirectories of /home/guest?

    A. ls -lB. ls -RC. ls -alD. ls -alR

    Answer: D

    QUESTION 64What command would be used to move the contents of subdirectory bar into the currentworking directory?

    A. mv bar/* ..B. mv bar/ .C. mv bar/ ..D. mv bar/* .

    Answer: D

    QUESTION 65What is the correct way for a user to change the user's name in the password file?

    A. Edit the /etc/passwd file and change the user's nameB. Type the passwd command

  • 8/13/2019 Aix Certification

    17/33

    000-190

    Actualtests.com - The Power of Knowing

    C. Type the logname command followed by the user's nameD. Type the passwd -f command

    Answer: D

    QUESTION 66Which of the following options describes the mv command?

    A. It can move only single files one at a time.B. It invokes the copy command with the -m option.C. It can move multiple files if its last argument is a directory.D. It makes intermediate copies of the data and renames the original file by deleting itand then recreating it.

    Answer: C

    QUESTION 67What is the Korn Shell variable PS1 used for?

    A. To specify the first process runningB. To specify the shell's parent processC. To specify the priority setting of a korn shellD. To specify the string to be used as the primary system prompt

    Answer: D

    QUESTION 68

    Which command should be used to print a file named "colorfile" to the print queue colorusing the System V printing subsystem?

    A. lp -c color color_fileB. lp -d color color_fileC. lp -o color color_fileD. lp -t color color_file

    Answer: B

    QUESTION 69Which vi command is used to concatenate two sequential lines together?

    A. cB. CC. JD. :join

    Answer: C

  • 8/13/2019 Aix Certification

    18/33

    000-190

    Actualtests.com - The Power of Knowing

    QUESTION 70What is the proper way to type an e-mail and send it after typing in the 'mail -sSUBJECT USERNAME' command?

    A. Typing in the command viB. Typing in the note commandC. Typing a note ending with a Ctrl+dD. Specifying a file name where the note is stored

    Answer: C

    QUESTION 71Which command should be used to start a process named "longproc" in the backgroundif the user logs off before the process completes?

    A. longprocB. longproc &C. nohup longprocD. nohup longproc &

    Answer: D

    QUESTION 72What man command can be used to accomplish a keyword search of a string ofcharacters "mkdir" as the final parameter?

    A. man -M mkdirB. catman -p mkdirC. man -k mkdirD. catman -M mkdir

    Answer: C

    QUESTION 73A user is trying to read a logfile that gets updated every minute. What is the correctcommand to view the new incoming messages in real time?

    A. more logfileB. cat -v logfileC. pg logfileD. tail -f logfile

    Answer: D

  • 8/13/2019 Aix Certification

    19/33

    000-190

    Actualtests.com - The Power of Knowing

    QUESTION 74Which file, if present, is usually executed every time a user logs into an AIX system?

    A. /usr/profileB. /etc/.profile

    C. /home/profileD. $HOME/.profile

    Answer: D

    QUESTION 75Which of the following vi commands would be used to change only the currentcharacter?

    A. RB. c

    C. ccD. r

    Answer: D

    QUESTION 76Which vi command is used to reverse the last action taken?

    A. rB. cC. u

    D. x

    Answer: C

    QUESTION 77What is the command to send 5 echo requests to a remote machine named hostname?

    A. ping -c 5 hostnameB. traceroute -w 5 hostnameC. ping -i 5 hostnameD. traceroute -q 5 hostname

    Answer: A

    QUESTION 78Which of the following AIX commands should be used to rename a directory?

    A. mvB. cp

  • 8/13/2019 Aix Certification

    20/33

    000-190

    Actualtests.com - The Power of Knowing

    C. mkdirD. rm

    Answer: A

    QUESTION 79Which command is used to show the filesystem space statistics for /tmp?

    A. ls /tmpB. du /tmpC. df /tmpD. fsck /tmp

    Answer: C

    QUESTION 80

    What is a valid format to remove a file named Machine*.$CLUSTER.txt?

    A. rm Machine*."$CLUSTER".txtB. rm "Machine*.$CLUSTER.txt"C. rm 'Machine*.$CLUSTER.txt'D. rm "Machine\*.$CLUSTER.txt"

    Answer: C

    QUESTION 81What is the function of the dot in the "find . -print" command?

    A. Searches a relative pathB. Uses absolute paths for its searchC. Restricts the search to two directory levelsD. Starts the search from the parent directory

    Answer: A

    QUESTION 82The mydata file currently has permission bits set at 755. Which of the followingcommands will take away the execute permission from the group and others?

    A. chmod 655B. chmod go-xC. chmod uo-xD. chmod 554

    Answer: B

  • 8/13/2019 Aix Certification

    21/33

    000-190

    Actualtests.com - The Power of Knowing

    QUESTION 83What System V print command can be used to determine the default print queue for thesystem?

    A. lpq

    B. qpriC. lprD. qchk

    Answer: A

    QUESTION 84After a process has been suspended in the Korn shell, which command will restart thesuspended process?

    A. fg

    B. resetC. enableD. restore

    Answer: A

    QUESTION 85The syntax for the "split" command in the online WEB based documentation displays:split [-l LineCount][-a SuffixLength][File[Prefix]] In which section in the splitdocumentation could more information about the "-l" option be found?

    A. FlagsB. PurposeC. DescriptionD. Implementation

    Answer: A

    QUESTION 86The following command is executed: cat /tmp/myfile > temp There is an error when thecommand is executed. Where will the error message of the command be placed?

    A. It will be sent to /dev/null.B. It will be sent to the system printer.C. It will be displayed on the terminal screen.D. It will be saved in the file temp created by the shell.

    Answer: C

  • 8/13/2019 Aix Certification

    22/33

    000-190

    Actualtests.com - The Power of Knowing

    QUESTION 87What option for the ls command should be used to show the filetype when listing thecontents of a directory?

    A. ls -F

    B. ls -lC. ls -RD. ls -c

    Answer: A

    QUESTION 88Which command will display all lines in file1 that contain either the string abc or thestring xyz?

    A. grep abc file 1 | grep xyz file 1

    B. grep -E "abc|xyz" file1C. grep [abc-xyz] file1D. grep ^[abc|xyz]$ file1

    Answer: B

    QUESTION 89Which commands can be executed on one line without producing a syntax error?

    A. cd: pwdB. TERM=lft; export TERM

    C. TERM=ibm3151, export termD. TERM=ibm3151: export TERM

    Answer: B

    QUESTION 90Which of the following commands should be used to search for a $ (dollar sign) only infile1?

    A. grep "$" file1B. grep \\$ file1C. grep -c $ file1D. grep $ file1

    Answer: B

    QUESTION 91Which file name is the most appropriate for an AIX/UNIX file?

  • 8/13/2019 Aix Certification

    23/33

    000-190

    Actualtests.com - The Power of Knowing

    A. Great DaneB. Yellow_lAbC. E*lk_HoundD. ;Ridge-Back

    Answer: B

    QUESTION 92Which command is used to rename a file?

    A. mvB. cp -rC. rmD. touch -r

    Answer: A

    QUESTION 93Which of the following commands should be used to create a directory named Test withpermissions rwxr-xr-x in the current directory?

    A. mkdir -p 755 ./TestB. mkdir -m 755 TestC. mkdir -m u+x ~/TestD. mkdir -pm 755 test

    Answer: B

    QUESTION 94Which of the following commands could be used to log in to a remote machine?

    A. tshB. tcC. teeD. tn

    Answer: D

    QUESTION 95Which vi command would be used to delete text from the current cursor position to theend of the line?

    A. ddB. dbC. XD. d$

  • 8/13/2019 Aix Certification

    24/33

    000-190

    Actualtests.com - The Power of Knowing

    Answer: D

    QUESTION 96What should be done to make a shell script executable?

    A. Use the run command.B. Set the execute permission.C. Call it from another command or program.D. Use a shell script compiler to convert its text to an executable program.

    Answer: B

    QUESTION 97Which command line reads the data in file "newsstand" from standard input?

    A. mail newsstandB. grep Menu < newsstandC. wc myfile > newsstandD. ps -e | grep cc >> newsstand

    Answer: B

    QUESTION 98Which of the following is the vi editor command that delete the rest of the line after thecursor position while in command mode?

    A. rB. dC. $dD. D

    Answer: D

    QUESTION 99AIX documentation Library Service allows HTML pages to be written and added to thelibrary. Who has the authority to add these HTML pages to the Documentation Library?

    A. The adm userB. Any user that can write HTMLC. The System AdministratorD. The user who creates the HTML document

    Answer: C

  • 8/13/2019 Aix Certification

    25/33

    000-190

    Actualtests.com - The Power of Knowing

    QUESTION 100What is displayed by the command grep -v "^#" ?

    A. All lines that begin with a ^B. All lines that begin with a ^ or #

    C. All lines that do not begin with a #D. Lines that do not begin with a # or ^

    Answer: C

    QUESTION 101Which of the following commands would display all of the current vi options?

    A. more $HOME/.exrcB. :set allC. :set

    D. :set list

    Answer: B

    QUESTION 102A user is logged on to an AIX system as the guest user and the guest home directory is/guest. When switching from the guest id to the user's normal id, which command willkeep the user in /tmp?

    A. cdB. cd /

    C. cd ..D. cd .

    Answer: D

    QUESTION 103When using the cp command to copy files, which flag should be used to copy symboliclinks, rather than copying files to which symbolic links point?

    A. -lB. -hC. -fD. -p

    Answer: B

    QUESTION 104After executing the following: chmod 777 dog Which command would verify the results?

  • 8/13/2019 Aix Certification

    26/33

    000-190

    Actualtests.com - The Power of Knowing

    A. ls -dB. ls -a /C. ls -a dogD. ls -al dog

    Answer: D

    QUESTION 105Which of the following will cancel all print jobs on the print queue named ascii for theuser guestuser?

    A. lprm ascii guest_userB. lprm guestC. lprm -P guest_userD. lprm -P ascii guest_user

    Answer: D

    QUESTION 106Which vi command should be used to position the cursor at the end of the current line?

    A. 0B. aC. $D. e

    Answer: C

    QUESTION 107Which command will display the type of terminal a Korn Shell is currently running on?

    A. TERM=?B. man TERMC. echo TERMD. echo $TERM

    Answer: D

    QUESTION 108The System V lprm command removes one or more jobs from the spool queue of aprinter. If the PRINTER, or LPDEST, variable is set to colorq, which option removes allof the jobs belonging to the user issuing the lprm command for the print queue calledcolorq?

    A. lprm -P colorq 1B. lprm -P

  • 8/13/2019 Aix Certification

    27/33

    000-190

    Actualtests.com - The Power of Knowing

    C. lprm -D. lprm colorq 1

    Answer: C

    QUESTION 109Which Korn Shell variable is set to define a user's primary system prompt?

    A. PS1B. PWDC. PS2D. PROMPT

    Answer: A

    QUESTION 110

    Which key should be pressed in the vi editor to enter text-input mode and begin insertingtext AFTER the cursor position?

    A. aB. OC. iD. e

    Answer: A

    QUESTION 111

    Which of the following can be used to display the status of print queues on a system?

    A. lpqB. lprC. lpdD. qconfig

    Answer: A

    QUESTION 112Which command would change the current directory to the user home directory? Whichcommand would change the current directory to the user? home directory?

    A. cdB. pwdC. cd ../homeD. cd ./home

    Answer: A

  • 8/13/2019 Aix Certification

    28/33

    000-190

    Actualtests.com - The Power of Knowing

    QUESTION 113What is the proper way for a user to change the user's login shell?

    A. Type the shell newshell command, where newshell is the new shell

    B. Type the sh commandC. Edit the /etc/passwd file and change the shellD. Type the passwd -s command then choose the shell

    Answer: D

    QUESTION 114Which command is used to exit the vi editor without saving the data?

    A. :q!B. :e!

    C. :wq!D. ZZ

    Answer: A

    QUESTION 115Where will the final output of the following command be placed? ls -l /tmp | pg

    A. /tmpB. /dev/nullC. stdout

    D. system printer

    Answer: C

    QUESTION 116If the current working directory in not in the PATH, what command is used to executefile foo from the current working directory?

    A. fooB. ../fooC. ./fooD. /foo

    Answer: C

    QUESTION 117By default, clicking the left mouse button anywhere inside an AIX window will causewhat action to be taken?

  • 8/13/2019 Aix Certification

    29/33

    000-190

    Actualtests.com - The Power of Knowing

    A. Iconify the windowB. Display the window menuC. Resize the window to full-screenD. Allow it to receive input or other window manager functions

    Answer: D

    QUESTION 118Which command will create a symbolic link foo to a file named bar?

    A. ln -s bar fooB. ls -f bar fooC. ln -f foo barD. ls -l bar foo

    Answer: A

    QUESTION 119When ftping, what is the command to retrieve a file from a remote machine?

    A. copylocalB. recordC. globD. get

    Answer: D

    QUESTION120Which of the following commands would be used to insert the text in buffer a on the line

    above the current line?

    A. :"aB. "apC. "aID. "aP

    Answer: D

    QUESTION 121Which command can be used to modify or re-execute any previous shell command afterdisplaying the shell history?

    A. fcB. setC. typeD. history

  • 8/13/2019 Aix Certification

    30/33

    000-190

    Actualtests.com - The Power of Knowing

    Answer: A

    QUESTION 122Which of the following options describes the rm -i command?

    A. It removes and reports the file names it removes.B. It prompts before removing each file specified.C. It removes files indiscriminately at the current directory level.D. It prompts for the names of files to remove only if wildcards are used in the commandarguments.

    Answer: B

    QUESTION 123Which of the following is one way a user could copy several words to the command

    prompt in an AIXTerm window?

    A. Move the cursor to the beginning of the first word to be copied, click and hold downthe center mouse button, move the cursor to the end of the last word to be copiedhighlighting the text, and release the center mouse button, move the cursor to commandprompt and click the right mouse button.B. Move the cursor to the beginning of the first word to be copied, click the left mousebutton, move the cursor to the end of the last word to be copied, click the right mousebutton, click the center mouse button.C. Move the cursor to the beginning of the first word to be copied, click and hold downthe left mouse button, move the cursor to the end of the last word to be copied

    highlighting the text, and release the left mouse button, type CTRL-C, move the cursor tocommand prompt, type CTRL-V.D. Move the cursor to the beginning of the first word to be copied, double-click the rightmouse button for each word to be copied highlighting each word. When all words havebeen highlighted, move the cursor to the command prompt and click the left mousebutton.

    Answer: B

    QUESTION 124Which of the following commands will force a save of any changes and then exit vi?

    A. :wqB. :w!C. :xD. :wq!

    Answer: D

  • 8/13/2019 Aix Certification

    31/33

  • 8/13/2019 Aix Certification

    32/33

    000-190

    Actualtests.com - The Power of Knowing

    QUESTION 129Which of the following commands should be used to restrict read permissions to ONLYthe owner for all files contained in the directory /home/me/mydir?

    A. chmod 777 /home/me/mydir

    B. chmod go-r /home/me/mydir/*C. chmod u+r /home/me/mydir/*.*D. chmod 700 /home/me/mydir

    Answer: B

    QUESTION 130Which option is used to delete multiple e-mail messages when using the mail command?

    A. shell scriptB. .delete file must exist

    C. d command followed by the message numbersD. dd command to set up a block of message numbers

    Answer: C

    QUESTION 131Which command will stop a background process?

    A. ps -ef | grep | kill -1 B. Ctrl-cC. kill -9

    D. ps -ef | grep

    Answer: C

    QUESTION 132Which command will display the amount of available space in all mounted filesystems?

    A. dfB. df /C. duD. du /

    Answer: A

    QUESTION 133A user on system sys01 telnets to system sys07 and attempts to run an X-Windows basedapplication, receiving the following error message: unable to open display What shouldthe user do to resolve this problem?

  • 8/13/2019 Aix Certification

    33/33

    000-190

    A. Type: export DISPLAY=sys01:0 on sys01B. Type: export DISPLAY=sys01:0 on sys07C. Type: export DISPLAY=sys07:0 on sys01D. Type: export DISPLAY=sys07:0 on sys07

    Answer: B

    QUESTION 134What command can be run to determine if subdirectories, that do not begin with a ".",exist in the current directory?

    A. ls -dB. ls -lC. ls -aD. ls -i

    Answer: B