Mac OS这是怎么了?哪位牛人知道的解释一下。
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!
对于自定义脚本命令不区分大小写啊。