cheat/cheatsheets/rm
2014-07-29 18:01:04 +02:00

9 lines
182 B
Plaintext

# Remove files and subdirs
rm -rf path/to/the/target/
# Ignore non existent files
rm -f path/to/the/target
# Remove a file with his inode
find /tmp/ -inum 6666 -exec rm -i '{}' \;