cheat-fork-echo/cheat/cheatsheets/rm

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 '{}' \;