Git Bash bash:open:找不到命令 [英] Git Bash bash: open: command not found
问题描述
我是Git Bash的新手,刚刚刚刚下载这个在我的课堂上使用,在它要求我 cd 进入另一个目录的第一级模块中, ls em>在Git Bash中完美工作的内容,然后请求我使用以下命令在文件夹中打开README.md文件:
打开README.md
然后显示此错误消息:
bash:open:找不到命令
我知道我在正确的文件夹中,并且 ls 确实显示了README.md文件,这是一种新安装的更新Git Bash,无法想象会有一个缺少的链接或在这个程序中被改变...我能做什么?请帮助谢谢!
我使用Windows 8和Git for windows
bash:open:command not found
这个错误信息试图告诉你,没有这样的命令称为打开。 README.md
没有任何问题。
- OSX -
open
是OSX中的通用开启者 - Linux - 具有
xdg-open
- Windows - 使用
start
- OSX -
open
is a universal opener in OSX - Linux - has
xdg-open
- Windows - use
start
不需要从字面上理解说明。如何打开自述文件并不重要。您可以使用 less
命令打开它以查看终端内的内容,或者您可以使用 notepad
打开它在文本编辑器中进行编辑。
I'm new to Git Bash, just freshly downloaded this for use in my class today, on the first class module it ask me to cd in to different directory and ls the content which works perfectly fine in Git Bash, then it ask me to open a README.md file in a folder with the command:
open README.md
then this error message show up:
bash: open: command not found
I know I cd in to the correct folder, and ls does shows the the README.md file, this is a freshly installed and most updated Git Bash, can't imagine there would be a missing link or altered in this program... what can I do? please help thank you!
I'm using Windows 8 with Git for windows
bash: open: command not found
This error message is trying to tell you that there is no such command called "open". There's nothing wrong with the README.md
.
But you don't need to take the instructions literally. It's not really important how you open the readme file. You can open it with the less
command to view the content inside the terminal, or you can open it with notepad
for editing in a text editor.
这篇关于Git Bash bash:open:找不到命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!