exam questions

Exam XK0-004 All Questions

View all questions & answers for the XK0-004 exam

Exam XK0-004 topic 1 question 115 discussion

Actual exam question from CompTIA's XK0-004
Question #: 115
Topic #: 1
[All XK0-004 Questions]

SIMULATION -
Find the file named core and remove it from the system.

INSTRUCTIONS -
Type `help` to display a list of available commands.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

Show Suggested Answer Hide Answer
Suggested Answer: See explanation below.

Reference:
https://www.cyberciti.biz/faq/linux-unix-how-to-find-and-remove-files/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
zeroxpertise
Highly Voted 2 years, 9 months ago
When I was taking this exam, it wouldn't allow me to type ; in the terminal. So I went with "find . -type f -name core -exec rm -f {} +" and it accepted it.
upvoted 6 times
Matthijsje
2 years, 4 months ago
Did you type that in 1 sentence ?
upvoted 2 times
...
...
xeun88
Most Recent 2 years, 3 months ago
find . -type f -name core -exec rm -f {} \;
upvoted 2 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago