ab
V2EX  ›  问与答

rm path * -rf 这是什么后果?

  •  
  •   ab · Oct 15, 2019 · 2084 views
    This topic created in 2582 days ago, the information mentioned may be changed or developed.
    手残多加了一个空格

    rm path* -rf 写了 rm path * -rf

    几秒后反应过来,有救吗?
    4 replies  •  2019-10-15 15:16:34 +08:00
    talentl
    talentl
    Oct 15, 2019
    1
    全删了,没救了
    ys0290
    ys0290
    Oct 15, 2019 via iPhone
    2
    那要看在哪里执行,以及谁执行
    ReZer0
    ReZer0
    Oct 15, 2019
    3
    但愿你不是在 root 下输入的……
    ab
    ab
    OP
    Oct 15, 2019
    4
    @ReZer0 还好不是,在某一个文件夹内,想删除一个子文件夹
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1017 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 19:10 · PVG 03:10 · LAX 11:10 · JFK 14:10
    ♥ Do have faith in what you're doing.