Remove files - the command
I want to delete the first created file from a total number of 7 files in a directory.
I can list it that way: ls -l | tail -n 7 | head -n 1
How can I run 'rm -rf' before it?
Thanks!
Last edited by Cheloo; 03-23-2008 at 06:27 PM.
|