bash.exeの引数のシェル変数をエスケープするエスケープしないとPS> bash.exe -c 'ssh linux.sample.com echo $HOME' /home/win-user
エスケープするとPS> bash.exe -c 'ssh linux.sample.com echo ''\$HOME''' /home/linux-user
|
|
bash.exeの引数のシェル変数をエスケープするエスケープしないとPS> bash.exe -c 'ssh linux.sample.com echo $HOME' /home/win-user
エスケープするとPS> bash.exe -c 'ssh linux.sample.com echo ''\$HOME''' /home/linux-user
|
|