Quantcast
Channel: Readlink not working over ssh - Super User
Browsing latest articles
Browse All 3 View Live

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 Article


Answer 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 Article


Readlink 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
Browsing latest articles
Browse All 3 View Live