您的位置:首页 > 其它

Mac OS这是怎么了?哪位牛人知道的解释一下。

2013-09-18 10:03 246 查看
vi abc
输入:
#! /bin/bash
echo "hello,axman!"
保存退出
$chmod +x abc
$./abc
hello ,axman!
$./ABC
hello ,axman!
$.Abc
hello ,axman!

$sudo mv abc /usr/bin
..........
$ABC
hello ,axman!
$abc
hello,axman!
$AbC
hello,axman!

对于自定义脚本命令不区分大小写啊。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐