↧
Answer by Kamil Maciorowski for Readlink not working over ssh
From Bash Reference Manual:The format of here-documents is:[n]<<[-]word here-documentdelimiterIf any part of word is quoted, the delimiter is the result of quote removal on word, and the lines in...
View ArticleAnswer by Lewis M for Readlink not working over ssh
Within the here document, your variables are being evaluated on the source side. If you want to have your variables be evaluated on the target side, escape the $. For example,ssh -q $REMOTE -x <<...
View ArticleReadlink not working over ssh
I'm trying to send a bash command over SSH using ssh -q $REMOTE -x "command".Because I have multiple bash commands, I'm using << EOF.The problem is that the readlink command returns me an empty...
View Article