本月博客排行
年度博客排行
-
第1名
宏天软件 -
第2名
龙儿筝 -
第3名
青否云后端云 - wallimn
- vipbooks
- gashero
- wy_19921005
- benladeng5225
- fantaxy025025
- zysnba
- e_e
- javashop
- sam123456gz
- tanling8334
- arpenker
- kaizi1992
- xpenxpen
- lemonhandsome
- xiangjie88
- ganxueyun
- xyuma
- sichunli_030
- wangchen.ily
- jh108020
- johnsmith9th
- Xeden
- zxq_2017
- jbosscn
- zhanjia
- forestqqqq
- luxurioust
- lzyfn123
- ajinn
- wjianwei666
- daizj
- ranbuijj
- 喧嚣求静
- silverend
- kingwell.leng
- lchb139128
- kristy_yy
- lich0079
- jveqi
- java-007
- sunj
- yeluowuhen
- ssydxa219
- lerf
- lstcyzj
- flashsing123
最新文章列表
[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
...