08 2021 档案

摘要:源代码: if [ -d "test"] then echo dir named test exsited! elif [ ! -d "test"];then mkdir test cd test fi 报错: [: missing ] 原因在于if判断在" ] "前面没有加空格,加上空格后就行了。 阅读全文
posted @ 2021-08-13 16:48 CrazyJhq 阅读(390) 评论(0) 推荐(0)
摘要:croot就是“Changes directory to the top of the tree, or a subdirectory thereof”的意思,就是切换目录到目录树的顶端,或其中的一个子目录。 另外其他的一些命令如下: 要先执行完./build/envsetup.sh或者source 阅读全文
posted @ 2021-08-12 14:19 CrazyJhq 阅读(608) 评论(0) 推荐(0)