读书人

Mac OS这是如何了?哪位牛人知道的解释

发布时间: 2013-09-23 11:21:05 作者: rapoo

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!


对于自定义脚本命令不区分大小写啊。

1楼axman3天前 11:16
我操,原来是分区的问题,mac os分区时明确有区分大小写的分区和不区分大小写的分区,悲剧啊,当时选了不区分大小写的分区。

读书人网 >操作系统

热点推荐