A. The default crash recovery file name B. The list of environmental commands C. A scratch pad area for temporary data D. An automatic backup of the text being edited
Answer: B
QUESTION 2 Which command will cancel the print job number 123 from the Post Script "PS" print queue?
A. qcan -P 123 B. qcan -X PS 123 C. qcan -X -P PS 123 D. qcan -P PS -x 123
Answer: D
QUESTION 3 Which command would be used to show the current system host names that have access to a user's X Server?
A. xinit B. cat /.rhost C. xhost D. xdm -config
Answer: C
QUESTION 4 What is the correct command to save the output of the command in one file and the error messages in another?
A. command 1>file1 2>&1 B. command 1>file1 2>file2 C. command 1>file1 2>file1 D. command 2>file2 1>&2
Answer: B
QUESTION 5 A directory with files can be deleted with which of the following commands? 000-190
Actualtests.com - The Power of Knowing
A. rm -r B. mvdir C. touch D. rmdir
Answer: A
QUESTION 6 Where will the final output be placed after this sequence of piped commands? ls -l |pg <list
A. list B. terminal screen C. root directory D. default system printer
Answer: B
QUESTION 7 The syntax for the "join" command in the online WEB based documentation displays: join [-a FileNumber][-v Filenumber][-e String][-o List] [-t Character][-1 Field][-2 Field] File1 File2 In which section in the join documentation of the WEB based online documentation could more information about the "-a" option be found?
A. Flags B. Purpose C. Description D. Implementation
Answer: A
QUESTION 8 Which command will invoke the man pages for the pwd command?
A. catman -w pwd B. man pwd C. man -k pwd D. man -f pwd
Answer: B
QUESTION 9 Which of the following AIX commands should be used to create a directory?
000-190
Actualtests.com - The Power of Knowing
A. cp B. mv C. mkdir D. rm
Answer: C
QUESTION 10 Which command will measure the network response time of a remote machine?
A. ftp B. ping C. trace D. netstat
Answer: B
QUESTION 11 Which dd command is using a relative path name as the source argument and an absolute path name as its target argument?
A. dd if=/home/blue of=/ B. dd if=blue of=/dev/rmt0 C. dd if=blue of=./dev/fd0 D. dd if=/home/green of=/u/blue/green
Answer: B
QUESTION 12 Which of the following commands will save the file the user is editing and not exit vi?
A. :wq B. :w C. :x D. ZZ
Answer: B
QUESTION 13 What file can be used to alter a user's login environment in the Korn shell?
A. /ENV B. .kshrc C. /etc/.profile D. /home/profile 000-190
Actualtests.com - The Power of Knowing
Answer: B
QUESTION 14 Which 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 color B. cancel -u 321 C. cancel 321 D. cancel -u color
Answer: C
QUESTION 15 What 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 16 Which command should be used to print a file named "colorfile" to the print queue color?
A. enq color_file B. qprt color_file C. enq -P psc color_file D. enq -P color color_file
Answer: D
QUESTION 17 Which command can be used to enter the vi editor and create the file "myfile" without generating any errors?
A. vi myfile B. vi -c myfile C. vi -y myfile D. vi -t myfile
Answer: A
000-190
Actualtests.com - The Power of Knowing
QUESTION 18 Which of the following displays information about the rpc$register library routine using the man command?
A. man -f rpc_$register B. man rpc_\$register C. man rpc_$register D. man -M rpc_\$register
Answer: B
QUESTION 19 What is the proper command to read a multi-page file one page at a time?
A. cat B. type C. show D. more
Answer: D
QUESTION 20 When ftping, what is the command to send a file to a remote machine?
A. put B. open C. ntrans D. stream
Answer: A
QUESTION 21 Which of the following vi commands would be used to change the next two words?
A. c2w B. 2R C. 2cw D. r2
Answer: A
QUESTION 22 Which keystroke sequence can be used to suspend a process in the Korn shell so it may be restarted at a later time?
A. Ctrl-c 000-190
Actualtests.com - The Power of Knowing
B. Ctrl-q C. Ctrl-x D. Ctrl-z
Answer: D
QUESTION 23 Which of the following vi commands would be used to change all occurrences of the word "text" to the string "my text"?
A. :/text/s/my text/g B. :g/ text /s// my text /g C. :g/text /s/my text /g D. :g/text/s/my text/g
Answer: B
QUESTION 24 If in home (/home), what command can be run to determine if the file "plants" is a directory without viewing the contents?
A. ls -lad plants B. ls -fa plants C. li -la plants D. li -fa plants
Answer: A
QUESTION 25 What is the correct flag to telnet to a remote machine as a specific user?
A. tn -f B. tn -d C. tn -p hostname D. tn -l user hostname
Answer: D
QUESTION 26 Which of the following is the vi editor command that will delete one word at a time while in command mode?
A. cc B. dd C. dw D. rw 000-190
Actualtests.com - The Power of Knowing
Answer: C
QUESTION 27 How can permissions for the chmod command be written?
A. As a hex number B. In either octal or symbolic notation C. As strings of "rwx" to picture the layout of the permissions D. In the first line of a file when it is created, and then interpreted by the shell
Answer: B
QUESTION 28 In a Korn shell which command would be used to set the terminal type to aixterm?
A. env TERM=aixterm B. set $TERM=aixterm C. export TERM=aixterm D. export $TERM=aixterm
Answer: C
QUESTION 29 Which mail command is used to automatically send a note back to the originator of an e-mail message?
A. r command B. f command C. .reply file must exist D. .forward file must exist
Answer: A
QUESTION 30 Which command will display all lines in file1 that contain the string abc but NOT the string xyz?
A. grep -E "abc&!xyz] file1 B. grep abc file1 | grep -v xyz file1 C. grep [abc][^xyz] file1 D. grep -v xyz "abc" file1
Answer: A
000-190
Actualtests.com - The Power of Knowing
QUESTION 31 Which key should be pressed in the vi editor to enter text-input mode and begin inserting text BEFORE the cursor position?
A. a B. i C. $ D. o
Answer: B
QUESTION 32 If the current directory is /tmp, which command will display the available file system space in the user's current directory?
A. df . B. du $tmp C. du . D. df $tmp
Answer: A
QUESTION 33 Which command will display the current working directory?
A. pwd B. dosdir C. oldpwd D. echo $DIR
Answer: A
QUESTION 34 Which command displays the total block usage for all files in a directory?
A. dc B. df C. du -s D. ls -al
Answer: C
QUESTION 35 Which vi command can be used to copy a line of text into the text buffer?
A. i 000-190
Actualtests.com - The Power of Knowing
B. r C. yy D. cc
Answer: C
QUESTION 36 Which command should be used to permit ONLY the owner to use the script file named savemachine as an executable script?
A. chmod 777 savemachine B. chmod -x ./savemachine C. chmod u=rwx,go=savemachine D. chmod go-w+x savemachine
Answer: C
QUESTION 37 Which of the following commands should be used to list all the files and directories in the current working directory that have the string 'foo' in their name?
A. ls foo B. ls foo* C. ls *foo* D. ls *foo?
Answer: C
QUESTION 38 What should be done to test the lines of a shell script?
A. Use the exec command B. Run the shell syntax checker shck C. Model them with a high level language (e.g., "C") first D. Enter each one at the command line and check the results
Answer: D
QUESTION 39 When executed on a single line, which commands will cause a syntax error?
A. cd ; ./.profile B. ps -ef | grep init C. TERM=ibm3151 / export TERM D. find /etc -print | grep motd 000-190
Actualtests.com - The Power of Knowing
Answer: C
QUESTION 40 What 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 assigned to standard error.
Answer: A
QUESTION 41 What is the command to show the messages in folder work?
A. mail work B. mail -f +work C. mail -i work D. mail -F +work
Answer: B
QUESTION 42 Which command will display all lines in file1 that begin with the string abc and end with the string xyz ?
A. grep "^abc*xyz$" file1 B. grep abc*xyz\\n file1 C. grep ^abc file1 | grep -v xyz$ file1 D. grep "^abc" file1 | grep "xyz$"
Answer: D
QUESTION 43 Which of the following vi commands could be used to delete the current line of text and enter insert mode?
A. dd B. cc C. 0xi D. C
Answer: B
000-190
Actualtests.com - The Power of Knowing
QUESTION 44 Which of the following commands would be used to move the current line of text?
A. yy B. "a1yy C. dd D. :"a1dd
Answer: C
QUESTION 45 What is the correct user command to remove the link foo?
A. ln -s foo /dev/null B. ln foo garbage C. unlink foo D. rm foo
Answer: D
QUESTION 46 Which of the following can be used to display a listing of all processes currently executing on a machine?
A. ps B. psh C. ps -f D. ps -ef
Answer: D
QUESTION 47 Which command can be used to list or modify previously executed shell commands?
A. fc B. env C. prev D. edit
Answer: A
QUESTION 48 Which of the following commands should be used to remove an empty directory in the current directory named -dir?
A. rmdir -p -dir 000-190
Actualtests.com - The Power of Knowing
B. rmdir -p "-dir" C. rmdir -- -dir D. rmdir '-dir'
Answer: C
QUESTION 49 Which of the following commands should be used to list all files in the root filesystem that are named .profile?
A. find . -name .profile B. find / -name .profile -print C. find * -name "*profile" -ls D. find ../. .profile -exec ls -l
Answer: B
QUESTION 50 By default, double-clicking the left mouse button on a word of text initiates what action inside an AIX Windows environment?
A. COPY of that word B. PASTE of that word C. CUT of the line of text containing that word D. PASTE of the line of text containing that word
Answer: A
QUESTION 51 What 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 52 When 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. 000-190
Actualtests.com - The Power of Knowing
Answer: D
QUESTION 53 After many operations have been performed by a given AIX user, which command will place the user back into their home directory?
A. cd B. cd . C. cd ./home D. cd ../home
Answer: A
QUESTION 54 With multiple print queues defined, what is the most appropriate command to display the status of all print queues on a system?
A. lpq B. qchk C. lpstat D. qconfig
Answer: C
QUESTION 55 Which 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/s D. /the one and only/g
Answer: A
QUESTION 56 What is a valid format to remove a file named Machine*.$CLUSTER.txt?
A. rm Machine*."$CLUSTER".txt B. rm "Machine*.$CLUSTER.txt" C. rm 'Machine*.$CLUSTER.txt' D. rm "Machine\*.$CLUSTER.txt"
Answer: C
000-190
Actualtests.com - The Power of Knowing
QUESTION 57 Which command lists all files in the /home file system?
A. find . -name /home B. find /home -print C. find . -name all D. find /home -type all
Answer: B
QUESTION 58 What AIX command displays the current status information regarding specified print jobs, print queues, or users?
A. qcan B. qprt C. qchk D. qhld
Answer: C
QUESTION 59 What is the correct term for a path name that starts with a slash (/) ?
A. relative pathname B. absolute pathname C. current working directory D. parent directory
Answer: B
QUESTION 60 Which vi command can be used to change the location of the cursor position to line 16 of a file?
A. 16 B. j16 C. /16 D. :16
Answer: D
QUESTION 61 What is displayed by the command grep "^[a-zA-Z]" pgm.s?
A. All lines in pgm.s that begin with a letter 000-190
Actualtests.com - The Power of Knowing
B. All words in pgm.s that begin with a letter C. All files in the pgm.s directory that begin with a letter D. All processes beginning with a letter that are a child process of pgm.s
Answer: A
QUESTION 62 What happens to a background process when the user logs out?
A. All background processes can be left running without doing anything after logging off. B. Background processes run with a higher priority than foreground processes. C. Background processes used with the nohup command can be left running after logging off. D. Background processes used with the nohup command have a higher priority than foreground processes.
Answer: C
QUESTION 63 If the current directory was /home/guest, which command would the user execute to list all permissions of all files in all subdirectories of /home/guest?
A. ls -l B. ls -R C. ls -al D. ls -alR
Answer: D
QUESTION 64 What command would be used to move the contents of subdirectory bar into the current working directory?
A. mv bar/* .. B. mv bar/ . C. mv bar/ .. D. mv bar/* .
Answer: D
QUESTION 65 What 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 name B. Type the passwd command 000-190
Actualtests.com - The Power of Knowing
C. Type the logname command followed by the user's name D. Type the passwd -f command
Answer: D
QUESTION 66 Which 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 it and then recreating it.
Answer: C
QUESTION 67 What is the Korn Shell variable PS1 used for?
A. To specify the first process running B. To specify the shell's parent process C. To specify the priority setting of a korn shell D. 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 color using the System V printing subsystem?
A. lp -c color color_file B. lp -d color color_file C. lp -o color color_file D. lp -t color color_file
Answer: B
QUESTION 69 Which vi command is used to concatenate two sequential lines together?
A. c B. C C. J D. :join
Answer: C 000-190
Actualtests.com - The Power of Knowing
QUESTION 70 What is the proper way to type an e-mail and send it after typing in the 'mail -s SUBJ ECT USERNAME' command?
A. Typing in the command vi B. Typing in the note command C. Typing a note ending with a Ctrl+d D. Specifying a file name where the note is stored
Answer: C
QUESTION 71 Which command should be used to start a process named "longproc" in the background if the user logs off before the process completes?
A. longproc B. longproc & C. nohup longproc D. nohup longproc &
Answer: D
QUESTION 72 What man command can be used to accomplish a keyword search of a string of characters "mkdir" as the final parameter?
A. man -M mkdir B. catman -p mkdir C. man -k mkdir D. catman -M mkdir
Answer: C
QUESTION 73 A user is trying to read a logfile that gets updated every minute. What is the correct command to view the new incoming messages in real time?
A. more logfile B. cat -v logfile C. pg logfile D. tail -f logfile
Answer: D
000-190
Actualtests.com - The Power of Knowing
QUESTION 74 Which file, if present, is usually executed every time a user logs into an AIX system?
A. /usr/profile B. /etc/.profile C. /home/profile D. $HOME/.profile
Answer: D
QUESTION 75 Which of the following vi commands would be used to change only the current character?
A. R B. c C. cc D. r
Answer: D
QUESTION 76 Which vi command is used to reverse the last action taken?
A. r B. c C. u D. x
Answer: C
QUESTION 77 What is the command to send 5 echo requests to a remote machine named hostname?
A. ping -c 5 hostname B. traceroute -w 5 hostname C. ping -i 5 hostname D. traceroute -q 5 hostname
Answer: A
QUESTION 78 Which of the following AIX commands should be used to rename a directory?
A. mv B. cp 000-190
Actualtests.com - The Power of Knowing
C. mkdir D. rm
Answer: A
QUESTION 79 Which command is used to show the filesystem space statistics for /tmp?
A. ls /tmp B. du /tmp C. df /tmp D. fsck /tmp
Answer: C
QUESTION 80 What is a valid format to remove a file named Machine*.$CLUSTER.txt?
A. rm Machine*."$CLUSTER".txt B. rm "Machine*.$CLUSTER.txt" C. rm 'Machine*.$CLUSTER.txt' D. rm "Machine\*.$CLUSTER.txt"
Answer: C
QUESTION 81 What is the function of the dot in the "find . -print" command?
A. Searches a relative path B. Uses absolute paths for its search C. Restricts the search to two directory levels D. Starts the search from the parent directory
Answer: A
QUESTION 82 The mydata file currently has permission bits set at 755. Which of the following commands will take away the execute permission from the group and others?
A. chmod 655 B. chmod go-x C. chmod uo-x D. chmod 554
Answer: B
000-190
Actualtests.com - The Power of Knowing
QUESTION 83 What System V print command can be used to determine the default print queue for the system?
A. lpq B. qpri C. lpr D. qchk
Answer: A
QUESTION 84 After a process has been suspended in the Korn shell, which command will restart the suspended process?
A. fg B. reset C. enable D. restore
Answer: A
QUESTION 85 The syntax for the "split" command in the online WEB based documentation displays: split [-l LineCount][-a SuffixLength][File[Prefix]] In which section in the split documentation could more information about the "-l" option be found?
A. Flags B. Purpose C. Description D. Implementation
Answer: A
QUESTION 86 The following command is executed: cat /tmp/myfile >temp There is an error when the command 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
000-190
Actualtests.com - The Power of Knowing
QUESTION 87 What option for the ls command should be used to show the filetype when listing the contents of a directory?
A. ls -F B. ls -l C. ls -R D. ls -c
Answer: A
QUESTION 88 Which command will display all lines in file1 that contain either the string abc or the string xyz?
A. grep abc file 1 | grep xyz file 1 B. grep -E "abc|xyz" file1 C. grep [abc-xyz] file1 D. grep ^[abc|xyz]$ file1
Answer: B
QUESTION 89 Which commands can be executed on one line without producing a syntax error?
A. cd: pwd B. TERM=lft; export TERM C. TERM=ibm3151, export term D. TERM=ibm3151: export TERM
Answer: B
QUESTION 90 Which of the following commands should be used to search for a $ (dollar sign) only in file1?
A. grep "$" file1 B. grep \\$ file1 C. grep -c $ file1 D. grep $ file1
Answer: B
QUESTION 91 Which file name is the most appropriate for an AIX/UNIX file?
000-190
Actualtests.com - The Power of Knowing
A. Great Dane B. Yellow_lAb C. E*lk_Hound D. ;Ridge-Back
Answer: B
QUESTION 92 Which command is used to rename a file?
A. mv B. cp -r C. rm D. touch -r
Answer: A
QUESTION 93 Which of the following commands should be used to create a directory named Test with permissions rwxr-xr-x in the current directory?
A. mkdir -p 755 ./Test B. mkdir -m 755 Test C. mkdir -m u+x ~/Test D. mkdir -pm 755 test
Answer: B
QUESTION 94 Which of the following commands could be used to log in to a remote machine?
A. tsh B. tc C. tee D. tn
Answer: D
QUESTION 95 Which vi command would be used to delete text from the current cursor position to the end of the line?
A. dd B. db C. X D. d$ 000-190
Actualtests.com - The Power of Knowing
Answer: D
QUESTION 96 What 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 97 Which command line reads the data in file "newsstand" from standard input?
A. mail newsstand B. grep Menu <newsstand C. wc myfile >newsstand D. ps -e | grep cc >>newsstand
Answer: B
QUESTION 98 Which of the following is the vi editor command that delete the rest of the line after the cursor position while in command mode?
A. r B. d C. $d D. D
Answer: D
QUESTION 99 AIX documentation Library Service allows HTML pages to be written and added to the library. Who has the authority to add these HTML pages to the Documentation Library?
A. The adm user B. Any user that can write HTML C. The System Administrator D. The user who creates the HTML document
Answer: C
000-190
Actualtests.com - The Power of Knowing
QUESTION 100 What 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 101 Which of the following commands would display all of the current vi options?
A. more $HOME/.exrc B. :set all C. :set D. :set list
Answer: B
QUESTION 102 A 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 will keep the user in /tmp?
A. cd B. cd / C. cd .. D. cd .
Answer: D
QUESTION 103 When using the cp command to copy files, which flag should be used to copy symbolic links, rather than copying files to which symbolic links point?
A. -l B. -h C. -f D. -p
Answer: B
QUESTION 104 After executing the following: chmod 777 dog Which command would verify the results?
000-190
Actualtests.com - The Power of Knowing
A. ls -d B. ls -a / C. ls -a dog D. ls -al dog
Answer: D
QUESTION 105 Which of the following will cancel all print jobs on the print queue named ascii for the user guestuser?
A. lprm ascii guest_user B. lprm guest C. lprm -P guest_user D. lprm -P ascii guest_user
Answer: D
QUESTION 106 Which vi command should be used to position the cursor at the end of the current line?
A. 0 B. a C. $ D. e
Answer: C
QUESTION 107 Which command will display the type of terminal a Korn Shell is currently running on?
A. TERM=? B. man TERM C. echo TERM D. echo $TERM
Answer: D
QUESTION 108 The System V lprm command removes one or more jobs from the spool queue of a printer. If the PRINTER, or LPDEST, variable is set to colorq, which option removes all of the jobs belonging to the user issuing the lprm command for the print queue called colorq?
A. lprm -P colorq 1 B. lprm -P 000-190
Actualtests.com - The Power of Knowing
C. lprm - D. lprm colorq 1
Answer: C
QUESTION 109 Which Korn Shell variable is set to define a user's primary system prompt?
A. PS1 B. PWD C. PS2 D. PROMPT
Answer: A
QUESTION 110 Which key should be pressed in the vi editor to enter text-input mode and begin inserting text AFTER the cursor position?
A. a B. O C. i D. e
Answer: A
QUESTION 111 Which of the following can be used to display the status of print queues on a system?
A. lpq B. lpr C. lpd D. qconfig
Answer: A
QUESTION 112 Which command would change the current directory to the user home directory? Which command would change the current directory to the user? home directory?
A. cd B. pwd C. cd ../home D. cd ./home
Answer: A 000-190
Actualtests.com - The Power of Knowing
QUESTION 113 What 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 command C. Edit the /etc/passwd file and change the shell D. Type the passwd -s command then choose the shell
Answer: D
QUESTION 114 Which command is used to exit the vi editor without saving the data?
A. :q! B. :e! C. :wq! D. ZZ
Answer: A
QUESTION 115 Where will the final output of the following command be placed? ls -l /tmp | pg
A. /tmp B. /dev/null C. stdout D. system printer
Answer: C
QUESTION 116 If the current working directory in not in the PATH, what command is used to execute file foo from the current working directory?
A. foo B. ../foo C. ./foo D. /foo
Answer: C
QUESTION 117 By default, clicking the left mouse button anywhere inside an AIX window will cause what action to be taken?
000-190
Actualtests.com - The Power of Knowing
A. Iconify the window B. Display the window menu C. Resize the window to full-screen D. Allow it to receive input or other window manager functions
Answer: D
QUESTION 118 Which command will create a symbolic link foo to a file named bar?
A. ln -s bar foo B. ls -f bar foo C. ln -f foo bar D. ls -l bar foo
Answer: A
QUESTION 119 When ftping, what is the command to retrieve a file from a remote machine?
A. copylocal B. record C. glob D. get
Answer: D
QUESTION 120 Which of the following commands would be used to insert the text in buffer a on the line above the current line?
A. :"a B. "ap C. "aI D. "aP
Answer: D
QUESTION 121 Which command can be used to modify or re-execute any previous shell command after displaying the shell history?
A. fc B. set C. type D. history 000-190
Actualtests.com - The Power of Knowing
Answer: A
QUESTION 122 Which 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 command arguments.
Answer: B
QUESTION 123 Which 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 down the center mouse button, move the cursor to the end of the last word to be copied highlighting the text, and release the center mouse button, move the cursor to command prompt and click the right mouse button. B. Move the cursor to the beginning of the first word to be copied, click the left mouse button, move the cursor to the end of the last word to be copied, click the right mouse button, click the center mouse button. C. Move the cursor to the beginning of the first word to be copied, click and hold down the 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 to command prompt, type CTRL-V. D. Move the cursor to the beginning of the first word to be copied, double-click the right mouse button for each word to be copied highlighting each word. When all words have been highlighted, move the cursor to the command prompt and click the left mouse button.
Answer: B
QUESTION 124 Which of the following commands will force a save of any changes and then exit vi?
A. :wq B. :w! C. :x D. :wq!
Answer: D
000-190
Actualtests.com - The Power of Knowing
QUESTION 125 Which of the following describes the function of the -p flag of the mkdir command?
A. It preserves the permissions of the parent directory for subordinate directories and files. B. It creates missing intermediate path name directories. C. It causes the mkdir command to execute as a background process. D. It preserves the date and timestamp information of the parent directory and appliies it to the subordinate directories and files.
Answer: B
QUESTION 126 Which of the following vi commands would be used to search backwards from the current position for the word string?
A. /string B. /string/ C. :/string D. ?string
Answer: D
QUESTION 127 Which of the following commands should be used to list all files in the current directory that have been changed during the current 24-hour period?
A. find / -ls -name "*" -print B. find .. -mtime 24 -ls C. find . -ctime 1 -print D. find ./ -mtime 24 -ls
Answer: C
QUESTION 128 Using the Korn shell, what command will place a user in their previous working direcory?
A. cd B. cd .. C. cd - D. cd .
Answer: C
000-190
Actualtests.com - The Power of Knowing
QUESTION 129 Which of the following commands should be used to restrict read permissions to ONLY the 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 130 Which option is used to delete multiple e-mail messages when using the mail command?
A. shell script B. .delete file must exist C. d command followed by the message numbers D. dd command to set up a block of message numbers
Answer: C
QUESTION 131 Which command will stop a background process?
A. ps -ef | grep <processid>| kill -1 <processid> B. Ctrl-c C. kill -9 <processid> D. ps -ef | grep <processid>
Answer: C
QUESTION 132 Which command will display the amount of available space in all mounted filesystems?
A. df B. df / C. du D. du /
Answer: A
QUESTION 133 A user on system sys01 telnets to system sys07 and attempts to run an X-Windows based application, receiving the following error message: unable to open display What should the user do to resolve this problem?
000-190
Actualtests.com - The Power of Knowing
A. Type: export DISPLAY=sys01:0 on sys01 B. Type: export DISPLAY=sys01:0 on sys07 C. Type: export DISPLAY=sys07:0 on sys01 D. Type: export DISPLAY=sys07:0 on sys07
Answer: B
QUESTION 134 What command can be run to determine if subdirectories, that do not begin with a ".", exist in the current directory?