harmony 鸿蒙pwd

  • 2022-08-09
  • 浏览 (609)

pwd

Command Function

This command is used to display the current path.

Syntax

pwd

Parameters

None.

Usage Guidelines

The pwd command writes the full path (from the root directory) of the current directory to the standard output. The directories are separated by slashes (/). The directory following the first slash (/) indicates the root directory, and the last directory is the current directory.

Example

Run pwd.

Output

Current path:

OHOS:/sdcard/nfs$ pwd
/sdcard/nfs

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Kernel

harmony 鸿蒙Kernel Coding Specification

harmony 鸿蒙Standard Libraries

harmony 鸿蒙Interrupt Management

harmony 鸿蒙Event

harmony 鸿蒙Mutex

harmony 鸿蒙Queue

harmony 鸿蒙Semaphore

harmony 鸿蒙Doubly Linked List

harmony 鸿蒙Memory Management

0  赞