浏览代码

HADOOP-12971. FileSystemShell doc should explain relative path (John Zhuge via sale)

Sangjin Lee 9 年之前
父节点
当前提交
1f2794b4fa
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md

+ 5 - 0
hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md

@@ -27,6 +27,11 @@ Most of the commands in FS shell behave like corresponding Unix commands. Differ
 
 If HDFS is being used, `hdfs dfs` is a synonym.
 
+Relative paths can be used. For HDFS, the current working directory is the
+HDFS home directory `/user/<username>` that often has to be created manually.
+The HDFS home directory can also be implicitly accessed, e.g., when using the
+HDFS trash folder, the `.Trash` directory in the home directory.
+
 See the [Commands Manual](./CommandsManual.html) for generic shell options.
 
 appendToFile