bat和sh有什么区别呢

来源:8-1 Linux中挂载命令

qq_迅嘉_0

2016-09-13 22:07

[root@localhost home]# ll

总用量 4

-rw-r--r--. 1 root root 36  9月 13 16:27 hello.bat

[root@localhost home]# ./ hello.bat 

-bash: ./: is a directory

[root@localhost home]# ./hello.bat 

-bash: ./hello.bat: 权限不够

[root@localhost home]# .hello.bat 

-bash: .hello.bat: command not found

[root@localhost home]# . hello.bat 

hello world!!

我想问问 ./hello.bat 是什么意思为什么说是权限不足。

               .hello.bat 为什么会提示没有找到命令呢。


写回答 关注

2回答

Linux达人养成计划 I

Linux入门视频教程,以通俗易懂的语言带你感受linux之美

398689 学习 · 3791 问题

查看课程

相似问题