Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试在 ubuntu 中使用 nano 或 vi 打开文件时,它们只显示路径中存在的文件。
nano conf/hadoop-env.sh
为什么 ?
你确定你在正确的目录中吗?
运行ls。如果它显示一个conf文件夹,请运行ls conf. 虽然可能有conf/hadoop-env.sh某个地方,但它不在当前目录中
ls
conf
ls conf
conf/hadoop-env.sh
你应该在 找到它<hadoop installation directory>/hadoop/conf/hadoop-env.sh,但我不知道你在哪里安装了 hadoop。
<hadoop installation directory>/hadoop/conf/hadoop-env.sh