cd

The DSEFS shell remembers the last working directory of each file system separately.

The DSEFS prompt identifies the current working directory in DSEFS:

  • dsefs dsefs://127.0.0.1:5598/ > is the default directory

  • dsefs dsefs://127.0.0.1:5598/dir2/ is the current working directory dir2

  • dsefs file:/ > is the current directory on the local file system

Synopsis

cd <filepath>

Options

filepath

Explicit or relative filepath. Wildcard characters are supported. Explicit file system prefixes dsefs: and file: are supported. .. is the parent directory.

Examples

Change directory in DSEFS

dsefs dsefs://127.0.0.1:5598/ > cd tmp
dsefs dsefs://127.0.0.1:5598/tmp/ >

Change directory to the last working directory on the local file system

dsefs dsefs://127.0.0.1:5598/ > cd file:/
dsefs file:/home/user1/path/to/local/files

Change directory to the parent directory on the local file system

dsefs file:/home/user1/path/to/local/files > cd ..
dsefs file:/home/user1/path/to/local >

Go back to the last working directory in DSEFS

dsefs file:/home/user1/path/to/local/files > cd dsefs:
dsefs dsefs://127.0.0.1:5598/ >

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2025 | Privacy policy | Terms of use Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM