顯示從何處連線

| | Comments (0)

若沒有 who 及 w 指令, 要如何知道連線 FROM 的位址?

ssh 使用 echo $SSH_CLIENT
telnet 使用 echo $REMOTEHOST

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on July 5, 2004 10:37 AM.

Show postfix version was the previous entry in this blog.

[Shell] Get file size is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.