linux重要命令总结

vimdiff 比较文件并同步

awk 功能强大的对文本处理的命令  awk '{ print FILENAME,$0 }' file1 file2 file3>fileall

 

    57  echo $LANG
   58  ll
   59  LANG=zh_CN.cp936
   60  ll
   61  LANG=zh_CN.UTF-8
   62  ll
   63  LANG=en_US
   64  vi ~/.vimrc
   65  vi ActionGet.class.php
   66  file ActionGet.class.php
   67  vi ActionGet.class.php
   68  sed '121,122p' ActionGet.class.php
   69  sed -n '121,122p' ActionGet.class.php
   70  sed -n '121,121p' ActionGet.class.php
   71  sed -n '121,122p' ActionGet.class.php | iconv -f gbk -t utf8
   72  sed -n '121,122p' ActionGet.class.php | iconv -f utf8 -t utf8
   73  vi ActionGet.class.php
   74  vi ~/.vimrc
   75  vi ActionGet.class.php
   76  history

 

echo 
"
   abs  ssa 
"
 
|
 sed 
-
e 
"
s/^[ /s]/{1,/}//g
"
 
|
 sed 
-
e 
"
s/[ /s]/{1,/}$//g
"

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值