Next | Welcome to my ~/bin | 6 |
How do you decide what's worth writing?
One way is to notice when you type the same command line repeatedly
Then ask yourself "Could this be a tool?"
For example, remote:
#!/usr/bin/perl
my $host = shift or die "Usgae: $0 hostname\n"; fork && exit; exec "rxvt", "-e", "ssh", "-P", $host;
To open a window with a connection to red.seas.upenn.edu, I use:
remote red.seas.upenn.edu
By the way, I didn't clean up any of the code for this class
You see it all exactly as I wrote it
I don't want to pretend to be different from how I really am
That's why it says Usgae
Next | Menu | Copyright © 2005 M. J. Dominus |