How do I change the root directory in Linux?

Nguyễn Hào

New member
How do I change the root directory in Linux?
Answer
To change into the root directory of Linux file system, use cd / . To go into the root user directory, run cd /root/ as root user. To navigate up one directory level up, use cd ..
 

Tìm kiếm

Back
Top