V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
awang
V2EX  ›  Linux

玩了一把死循环

  •  
  •   awang · Dec 4, 2012 · 4391 views
    This topic created in 4892 days ago, the information mentioned may be changed or developed.
    find某个关键词重定向输出到目录下的到某个文件,结果你懂的
    find . -name ".svn" -prune -o -exec grep -Hn 'reportpost' {} \;>a.out
    9 replies    1970-01-01 08:00:00 +08:00
    atempcode
        1
    atempcode  
       Dec 4, 2012
    说到死循环,以前常用 jmp $
    alexrezit
        2
    alexrezit  
       Dec 4, 2012
    算是思维逻辑 bug 了吧... 我就经常犯这个错误. 比如说粘贴之前先删了源文件, 或者是刚装好系统的 VPS 改成禁止用密码登录结果退出来之后才发现自己新建的用户忘了添加到 sudoers 里面.
    hyq
        3
    hyq  
       Dec 4, 2012
    @alexrezit 远程登录的时候改网络设置算不算?
    skydiver
        4
    skydiver  
       Dec 4, 2012
    没看懂,求解?
    guoker
        5
    guoker  
       Dec 5, 2012
    23楼不是逻辑错误,而是思想有问题。
    xuan_lengyue
        6
    xuan_lengyue  
       Dec 5, 2012
    远程桌面然后连个VPN算是啥水平。。。
    BOYPT
        7
    BOYPT  
       Dec 5, 2012
    xuan_lengyue 46 分钟前
    远程桌面然后连个VPN算是啥水平。。。

    ---哈哈哈喜闻乐见
    Ken_Adams
        8
    Ken_Adams  
       Dec 5, 2012
    @xuan_lengyue 擦 我真这么干过
    yonglanyouyou
        9
    yonglanyouyou  
       Dec 5, 2012
    @xuan_lengyue 做过+1
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3580 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 11:08 · PVG 19:08 · LAX 04:08 · JFK 07:08
    ♥ Do have faith in what you're doing.