How can you copy a file from host1 through host2, and end up on host3? Here is my quick hack solution for a scp / ssh copy. cat file.txt | ssh -A user1@host2 ‘cat | ssh -A user@host3 “cat > … Continue reading
June 18, 2009
by eric
0 comments
June 18, 2009
by eric
0 comments
How can you copy a file from host1 through host2, and end up on host3? Here is my quick hack solution for a scp / ssh copy. cat file.txt | ssh -A user1@host2 ‘cat | ssh -A user@host3 “cat > … Continue reading
June 11, 2009
by eric
1 Comment
How do you change directories in a makefile, run a command and then change back? First off, all the commands that you want to run for that situation must be on the same line, because make executes each line with … Continue reading
June 3, 2009
by eric
0 comments
So, how do you do a search and replace in vim? There are two ways that I know of, the first is a general search and replace in the whole file, and the other is a search and replace in … Continue reading