Issue
How would one go about using sed in order to insert
rm -rf
at the start of each line of a file?
Solution
sed 's/^/rm -rf /' filename
EDIT
Xargs would be simpler way to delete all of the files listed in another file
xargs -a filename rm -rf
Answered By - mikerobi Answer Checked By - Gilberto Lyons (WPSolving Admin)