本月博客排行
-
第1名
龙儿筝 -
第2名
lerf -
第3名
fantaxy025025 - johnsmith9th
- xiangjie88
- zysnba
年度博客排行
-
第1名
青否云后端云 -
第2名
宏天软件 -
第3名
gashero - wy_19921005
- vipbooks
- benladeng5225
- e_e
- wallimn
- javashop
- ranbuijj
- fantaxy025025
- jickcai
- gengyun12
- zw7534313
- qepwqnp
- 解宜然
- ssydxa219
- zysnba
- sam123456gz
- sichunli_030
- arpenker
- tanling8334
- gaojingsong
- kaizi1992
- xpenxpen
- 龙儿筝
- jh108020
- wiseboyloves
- ganxueyun
- xyuma
- xiangjie88
- wangchen.ily
- Jameslyy
- luxurioust
- lemonhandsome
- mengjichen
- jbosscn
- zxq_2017
- lzyfn123
- nychen2000
- forestqqqq
- wjianwei666
- ajinn
- zhanjia
- siemens800
- Xeden
- hanbaohong
- java-007
- 喧嚣求静
- mwhgJava
最新文章列表
[MAC]zsh与bash兼容问题
参考: https://blog.csdn.net/qq_34706266/article/details/90139113
最新的zsh网上推荐功能比较强大,但是有坑,一些脚本不能执行,例如flutter,Jupyter,face_regconition这些都受影响
需要切换会bash:
chsh -s /bin/bash
切换zsh:
chsh -s /bin/zs ...
Bash special variable:$#, $$, $@, $*, $0, $?
special variable:$#, $$, $@, $*, $0, $?
1, $#
The number of arguments supplied to a script.
eg:
if [ "$#" -eq 0 ]; then
echo "you did not pass any parameter"
fi
echo "Tota ...
Bash Variable: define and usage: difference between $NAME and ${NAME}
Variable: define and usage: difference between $NAME and ${NAME}
1, Define:
NAME="Zara Ali"
2, Use:
Input below in test.ksh
NAME="Zara Ali"
AGE=13
echo $NAME
$ Zara Ali
...