Tuesday 1 March 2016

Pass4sure LX0-103 Question Answer

Which of the following files, located in the user home directory, is used to store the Bash
history?


A. .bash_history
B. .bash_histfile
C. .history
D. .bashrc_history
E. .history_bash

Answer: A

Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob'
and writes the result to the file newletter?


A. sed '/bob/Bob' letter > newletter
B. sed s/bob/Bob/ letter < newletter
C. sed 's/bob/Bob' letter > newletter
D. sed 's/bob/Bob/g' letter > newletter
E. sed 's/bob, Bob/' letter > newletter

Answer: D

No comments:

Post a Comment

Note: only a member of this blog may post a comment.