Hacker News new | ask | show | jobs
by me-vs-cat 1065 days ago
$name will never be expanded. Is that what you expected?
1 comments

Yes, that’s the intent: using single quotes at both levels will prevent either your shell or the remote shell from expanding the name, so you can interact with a file name containing a literal $.