2020年12月10日

Find all the softlinks under folder "data"

摘要: $ find -L /data -xtype l 并show出来 find -L /data -xtype l -exec ls -l {} \; or find -L /data -xtype l |xargs ls -l 阅读全文

posted @ 2020-12-10 23:34 cdekelon 阅读(69) 评论(0) 推荐(0) 编辑

subprocess

摘要: >>> import subprocess >>> proc = subprocess.Popen('ls | wc -l', stdout=subprocess.PIPE, stderr=subprocess.STDOUT, bufsize=1, shell=True ) >>> proc.wai 阅读全文

posted @ 2020-12-10 18:35 cdekelon 阅读(75) 评论(0) 推荐(0) 编辑

导航