cheat-fork-echo/cheat/cheatsheets/rm
Chris Lane ed91f9fa37 Merge branch 'master' of github.com:ImmortalPC/cheat into ImmortalPC-master
* 'master' of github.com:ImmortalPC/cheat:
  [GREP,NMAP,RM,WGET] Add new cheats
2014-10-18 18:41:32 -04:00

8 lines
182 B
Text

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