Monthly Archives: December 2015

Remote ssh command escaping

I often have to run non-interactive commands on remote machines (thanks ndenev and famzah). Dealing with quoting and escaping could become quite cumbersome at times. Here’s a very simple example: for n in “$(cat some\ file.txt |cut -d: -f2)”;do echo … Continue reading

Posted in Misc | Leave a comment