Hacker News new | ask | show | jobs
by immibis 648 days ago
Should we also say unlink instead of delete?
1 comments

unlinking is what you are doing: deletion only takes place when you unlink the last link, so yes, great idea, that's why the syscall is called unlink() https://www.man7.org/linux/man-pages/man2/unlink.2.html and the command is not called delete, but rm=remove