Environment Settings
- Open the configuration file.
vim /etc/profile
- Add the following command to the end of the file:
export PATH=$PATH:/usr/local/rocksdb/tools
The path in the command is the actual installation path of the tool.
- Make the configuration take effect.
source /etc/profile
- Verify the configuration.
ldb

Parent topic: RocksDB ldb Tool Usage Guidance