[personal profile] usernamenumber
...while I talk about something, like, 5 people are going to care about:

I always tell my students that what makes Linux's learning curve worthwhile, particularly for sysadmins, is how phenomenally lazy it lets you be once you've overcome it. Case in point, I needed to copy a PDF to a system that I could only reach by way of another system. Sure, I could have copied it to systemX, then ssh'd in and from there copied it to systemY, but that's tedious. We hates tedium. How about this instead?

[brad@foo ~]$ cat file.pdf | ssh systemX "cat | ssh systemY 'cat > file.pdf'"

The rabbit hole, it goes deep.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

usernamenumber

October 2016

S M T W T F S
      1
2345678
9101112131415
16171819202122
232425 26272829
3031     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 13th, 2025 06:02 am
Powered by Dreamwidth Studios