SUN
310-202 · Question #100
You have created a shell script to transfer files to a remote system. At the end of the script, you want to send a message to the sysiog messaging facility stating that the file transfer is…
The correct answer is B. logger "Transfer Complete". See the full explanation below for the reasoning.
Question
You have created a shell script to transfer files to a remote system. At the end of the script, you want to send a message to the sysiog messaging facility stating that the file transfer is complete. Which entry would send the Transfer Complete?message to the sysiog messaging facility?
Options
- Aecho "Transfer Complete" > syslogd
- Blogger "Transfer Complete"
- Clog "Transfer Complete"
- Dsysiog --1 "Transfer Complete"
How the community answered
(33 responses)- A3% (1)
- B85% (28)
- C9% (3)
- D3% (1)
Community Discussion
No community discussion yet for this question.