How to change to root directory?

QuestionsQuestions8 SkillsProBasic Files OperationsOct, 03 2025
0149

To change to the root directory in a Unix-like operating system, you can use the following command:

cd /

The forward slash (/) represents the root directory, which is the top-level directory in the file system hierarchy. After executing this command, your current working directory will be set to the root directory.

0 Comments

no data
Be the first to share your comment!