An administrator needs to create a file named hello in the home directory that contains the following text: it's me! Which of the following commands would accomplish this goal?
Agree with the answer B: It is also used to create an
empty file with the specified file name, assuming the file does not exist or changes the time of access to already existing file.
To anyone that answers this A... go back to windows and apple... no need to try any more.
For everyone else:
task 1: Create a file named hello in the home directory.
# touch ~/hello
Task 2: the hello file must contain the text "it's me!".
# echo "it's me!" > ~/hello
Correct Answer is B.
This section is not available anymore. Please use the main Exam Page.XK0-004 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
alfre
Highly Voted 4 years, 7 months agogiannisae
Highly Voted 4 years, 7 months agoBERNOULIX
Most Recent 1 year, 12 months agoexamtopics_htc
2 years, 9 months agoluken7777
2 years agoxeun88
2 years, 9 months agopinonino
3 years, 1 month agoDracolitch
3 years, 5 months agoDidi31
3 years, 6 months agoMikey_
4 years, 7 months ago