导航

2021年7月9日 #

ubuntu netplan 设置路由

摘要: https://my.oschina.net/u/4173440/blog/3109177 https://netplan.io/examples/#reaching-a-directly-connected-gateway https://blog.csdn.net/weixin_34194379 阅读全文

posted @ 2021-07-09 17:15 toughcactus 阅读(771) 评论(0) 推荐(0) 编辑

shell字符串拼接2,作为结果传递参数

摘要: 打印日志需涵盖很多固定输出,所以我shell输出调用函数,也就是把特定字符串传给打印函数 存在一个问题,就是字符串包含空格时,只输出第一个空格前的内容。我盲猜,可能作为多个参数了。 不作为函数参数时,可以正常输出 $cat aaa.sh #! /bin/bash pack="" tmp1="appl 阅读全文

posted @ 2021-07-09 15:58 toughcactus 阅读(631) 评论(0) 推荐(0) 编辑