Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
chenyaobin7
V2EX  ›  Linux

终端换行变成大于号

  •  
  •   chenyaobin7 · Mar 18, 2013 · 7203 views
    This topic created in 4978 days ago, the information mentioned may be changed or developed.
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    终端里不知发了什么命令,就突然换行就来个大于号,不关闭重开的话如何解决?
    6 replies  •  1970-01-01 08:00:00 +08:00
    rephaslife
    rephaslife
    Mar 18, 2013❤️1
    1
    Ctrl+c,实在不行Ctrl+z
    chenyaobin7
    chenyaobin7
    OP
    Mar 18, 2013
    2
    @rephaslife 谢谢 Ctrl+c可以 但Ctrl+z不行
    leafduo
    leafduo
    Mar 19, 2013
    3
    看看 PS1?

    echo $PS1
    rrrrutdk
    rrrrutdk
    Mar 19, 2013
    4
    楼上正解。

    PS1="\u:\w\$ "
    RisingV
    RisingV
    Mar 19, 2013
    5
    楼上两位,不是PS1变量的问题,而是未结束命令。应该是结尾加了反斜杠
    yangg
    yangg
    Mar 19, 2013
    6
    输入了,单或双引号没结束吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1369 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 22:24 · PVG 06:24 · LAX 14:24 · JFK 17:24
    ♥ Do have faith in what you're doing.