chdir command

Summary

You can change your current working directory to another directory

Description

You can change your working directory to another directory to execute listing commands, removing files, or creating directories on another directory.

Command usage

  • chdir <directory>

  • chdir ..

Examples

  • chdir boot: It changes your working directory to /boot

  • chdir ..: It goes back to the previous working directory

Last updated