stevenyou
V2EX  ›  问与答

SHELL 里的变量 $STY 是什么意思 (查看当前是不是在一个 screen 里)

  •  
  •   stevenyou · Apr 2, 2014 · 3650 views
    This topic created in 4448 days ago, the information mentioned may be changed or developed.
    http://stackoverflow.com/questions/5392618/how-can-i-tell-whether-im-in-a-screen

    查看当前是不是在一个screen 里, 用 echo $STY, 请问STY代表什么意思呢?
    2 replies    1970-01-01 08:00:00 +08:00
    nicai000
        1
    nicai000  
       Apr 2, 2014
    man screen

    ENVIRONMENT
    STY Alternate socket name.
    stevenyou
        2
    stevenyou  
    OP
       Apr 2, 2014
    @nicai000 thanks heaps
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2833 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 02:46 · PVG 10:46 · LAX 19:46 · JFK 22:46
    ♥ Do have faith in what you're doing.