年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- hbxflihua
- e_e
- luxurioust
- dbagirl
- zysnba
- Alsmile
- robotmen
- gaozzsoft
- jywhltj
- cpongo1
- leslie26
- qepwqnp
- zhangdaiscott
- 解宜然
- cuityang
- sichunli_030
- gashero
- fantaxy025025
- 淡看人生
- ranbuijj
- gdpglc
- ssydxa219
- wallimn
- vipbooks
- hanbaohong
- jickcai
- johnsmith9th
- javashop
- appalese
- gaojingsong
- weiyides
- zhangyi0618
- AVI
- java-007
- laiyangdeli
- lyongq04
- xpenxpen
- liunancun
- 龙哥IT
- nychen2000
- conkeyn
- lyndon.lin
- panshunchang
- ouanui
最新文章列表
[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
...