How Do You Go Down One Directory in Linux?

How Do You Go Down One Directory in Linux?
Contents
Developer Xiaomi
Latest release 12.5.10.0 (Mainland China) 12.5.11.0 (Global market)
Latest preview [12.5] 21.8.18 (Mainland China) / 19 August 2021

How do you go down one level in Terminal?

Changing to another directory (cd command)

  1. To change to your home directory, type the following: cd.
  2. To change to the /usr/include directory, type the following: cd /usr/include.
  3. To go down one level of the directory tree to the sys directory, type the following: cd sys.

How do I go back one directory in terminal?

You can try it out yourself by opening a Terminal window, navigating somewhere within the file system, then immediately switching directories to another location. Now just type cd – to switch back to the prior location, and cd – again to switch back to the original location.

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.