cheat-fork-echo/cheat/cheatsheets/rm

9 lines
182 B
Plaintext
Raw Normal View History

# Remove files and subdirs
rm -rf path/to/the/target/
2014-07-29 18:01:04 +02:00
# Ignore non existent files
rm -f path/to/the/target
2014-07-29 18:01:04 +02:00
# Remove a file with his inode
find /tmp/ -inum 6666 -exec rm -i '{}' \;