請教export用法 - Linux

By Bennie
at 2017-08-24T02:19
at 2017-08-24T02:19
Table of Contents
我系統是unix, 因為我有幾10台server,
想利用telnet輸入指令關閉螢幕保護程式。
Script 寫法是:
export DISPLAY=' :0'
xset s off
這可存成sh執行,有效
但我想直接使用telnet到機台,
輸入那兩個指令
確險示export not found
想請教
在telnet,我是否有指令可宣告DISPLAY=' :0'
讓後面的 xset s off 可執行
--
想利用telnet輸入指令關閉螢幕保護程式。
Script 寫法是:
export DISPLAY=' :0'
xset s off
這可存成sh執行,有效
但我想直接使用telnet到機台,
輸入那兩個指令
確險示export not found
想請教
在telnet,我是否有指令可宣告DISPLAY=' :0'
讓後面的 xset s off 可執行
--
Tags:
Linux
All Comments

By Dora
at 2017-08-24T10:14
at 2017-08-24T10:14

By Annie
at 2017-08-24T15:35
at 2017-08-24T15:35

By Irma
at 2017-08-25T13:36
at 2017-08-25T13:36

By Zora
at 2017-08-29T03:35
at 2017-08-29T03:35

By Victoria
at 2017-08-31T09:27
at 2017-08-31T09:27

By Elma
at 2017-09-01T06:01
at 2017-09-01T06:01

By Blanche
at 2017-09-03T01:14
at 2017-09-03T01:14

By Eartha
at 2017-09-07T22:26
at 2017-09-07T22:26

By Harry
at 2017-09-10T10:40
at 2017-09-10T10:40

By Anthony
at 2017-09-11T00:54
at 2017-09-11T00:54
Related Posts
關於筆電的fn鍵

By Mason
at 2017-08-22T14:56
at 2017-08-22T14:56
請問一個sed處理文字檔的的寫法

By Mia
at 2017-08-21T17:02
at 2017-08-21T17:02
網頁開不起來

By Margaret
at 2017-08-21T16:33
at 2017-08-21T16:33
motion跟sh跟py還有telegram bot的問題

By Zora
at 2017-08-21T12:58
at 2017-08-21T12:58
Ubuntu快速鍵有時有有時沒有

By Jacob
at 2017-08-19T00:25
at 2017-08-19T00:25