Taras Shumylo
asked on
Explain the command ls -1tr | head -n -10 | xargs -d '\n' rm -f --
The command is from the post on http://superuser.com/questions/268344/how-do-i-delete-all-but-10-newest-files-in-linux
ls -1tr | head -n -10 | xargs -d '\n' rm -f --
What does the last
--
stands for in this command?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
imagine deleting files \* and \-rf .... One who wrote the command did very good...
ASKER
Open in new window
Why it's not on man page?