Y
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
olefoo
5933 days ago
That sort of thing is why /root is now root's home directory.
link
enneff
5933 days ago
The homedir of root was probably / on that system.
link