shell测试用例

小龙虾爱大龙虾 / 2023-06-23 / 原文

  1. 列出文件名包含python的目录
    ls -d *python*

  2. 对于字符串aabbbccc,使用shell将bbb改为ddd
    echo aabbbccc | tr b d