stevenyou
V2EX  ›  问与答

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

  •  
  •   stevenyou · Apr 2, 2014 · 3981 views
    This topic created in 4600 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
    nicai000
    Apr 2, 2014
    1
    man screen

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