首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

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

2013-09-23 
Mac OS这是怎么了?哪位牛人知道的解释一下。vi abc输入:#! /bin/bashecho hello,axman!保存退出$chmod +x

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分区时明确有区分大小写的分区和不区分大小写的分区,悲剧啊,当时选了不区分大小写的分区。

热点排行