Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

使用cat > xxx.txt编辑,ctrl+c能自动保存吗?
我试了一下好像除了按ctrl+c那一行,其余每一行都能自动保存。
ctrl+d看起来也是这样。

那如果我不想编辑了,也想把之前编辑的都不保存,该如何做呢?
(就像windows点叉号——》是否保存-》否 一样)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
370 views
Welcome To Ask or Share your Answers For Others

1 Answer

Ctrl + D 是可以的


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...