遠端執行ssh - Linux

By Yedda
at 2010-10-29T17:51
at 2010-10-29T17:51
Table of Contents
我的shell script主要就是
addr=hardcover@server-$1
ssh $addr "/usr/sbin/tcpdump -Xvvv -r '$(ls -l tail | tail -n1 | cut -c50-)' \
$@" > xxx.txt
但是 '$(ls -l ....)' 寫在shell script裡一直有問題
thanks
--
Tags:
Linux
All Comments

By Bethany
at 2010-10-31T18:48
at 2010-10-31T18:48

By David
at 2010-11-04T19:45
at 2010-11-04T19:45
Related Posts
關於linux磁碟加密技術

By Elizabeth
at 2010-10-29T12:04
at 2010-10-29T12:04
console 會透視桌面

By Quanna
at 2010-10-29T10:01
at 2010-10-29T10:01
如何同時使用兩台Linux的X11程式

By Una
at 2010-10-29T09:21
at 2010-10-29T09:21
安裝ies4linux出現問題

By Candice
at 2010-10-29T02:20
at 2010-10-29T02:20
CP指令(NFS下)的效能問題

By Mia
at 2010-10-29T00:57
at 2010-10-29T00:57