Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Created Unassigned: Command "sed" is not functional [2790]

$
0
0
Command "sed" is not functional:

```
cmd = sshClient.RunCommand("sed -i 's/VARS=.*/VARS=12/g' /tmp/dataconf.cfg #")
Threading.Thread.Sleep(2000)
cmd = sshClient.RunCommand("save #")
Threading.Thread.Sleep(2000)
cmd = sshClient.RunCommand("reboot #")
```

cmd = sshClient.RunCommand("sed -i 's/VARS=.*/VARS=12/g' /tmp/dataconf.cfg && save && reboot #")

ssh connection

Microsoft Visual Basic 2015

Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>