加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

一句话perl

发布时间:2020-12-16 00:27:54 所属栏目:大数据 来源:网络整理
导读:ll | perl? -ne 'print if (split /s+/)[6]= 19;' ll | perl -ne 'print if ${ [split /s+/] }[6] date ;' ll | perl -MO=Deparse -ne 'print if ${[split /s+/]}[6]= 19;' perl -e 'print STDERR "e[34mHello Jasone[0mn"' e[34m...e[0m之间的字符

ll | perl? -ne 'print if (split /s+/)[6]>= 19;'

ll | perl -ne 'print if ${ [split /s+/] }[6]> date;'

ll | perl -MO=Deparse -ne 'print if ${[split /s+/]}[6]>= 19;'


perl -e 'print STDERR "e[34mHello Jasone[0mn"'

e[34m...e[0m之间的字符串为蓝色。

ls -lAF | perl -ne 'BEGIN{$sum=0} next if /^d/; $sum += (split)[4]; END{ print "$sumn" }'

?

??perl -e? 'while(@ARGV){$file = shift @ARGV; open hand,"<".$file; next if (!defined hand);while(<hand>){if(m<JASON>){print $file."n";close(hand);last;}}}' ` tree -afpdictory?| perl -ne 'next unless(m/[-/);print $_'`

perl -e? 'while(@ARGV){$file = shift @ARGV; next unless -f $file;open hand,"<".$file;while(<hand>){if(m<Thesescomputersresources>){print $file."n";close(hand);last;}}}' `tree -afp /etc | perl -ne 'next unless(m/[-/);@arr=split;print $arr[-1],"n";'`

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读