Hacker News new | ask | show | jobs
by zellux 5933 days ago
AFAIK a single cd command will set current working directory to /root, and rm -rf will only remove everything under /root. Or does cd command had different behavior in Unix at that time, comparing to shells today?
2 comments

That sort of thing is why /root is now root's home directory.
The homedir of root was probably / on that system.