How do I change the CD directory in Linux?

Thu Ha

New member
How do I change the CD directory in Linux?
Answer
How to change directory in Linux terminal
  1. To return to the home directory immediately, use cd ~ OR cd.
  2. To change into the root directory of Linux file system, use cd / .
  3. To go into the root user directory, run cd /root/ as root user.
  4. To navigate up one directory level up, use cd ..
 

Tìm kiếm

Back
Top