Question

i want to find every log file named 'justjoe_log', on an apache server. I want to delete them all. how do i do it ?

Was it helpful?

Solution

locate justjoe_log|xargs rm -rf

You may want to just do locate first to avoid deleting data unintentionally.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top