Soren's Scripts
To find these hacks (I mean beauties), you'll need an account on some
machine where I have an account (engin or CS at Brown, or my high school).
Go to my home directory and look in the directory called Use. I'm not
sure _why_ I named my directory that, but that's they way it has been for
a long time.
- address
- uses ~/Text/addresses to easily store email addresses
- aftp
- anon ftp without typing anonymous, etc, via .netrc
- ch
- ps aux|more or ps auxgew|grep "$*" (/usr/ucb/ps rocks)
- *checkmail
- beeps when mail comes
- count
- I can never remember how to do loops in /bin/sh
- disp
- the idea was to display X progs anywhere
- doallsuns
- rsh to every sun in Prince and do something (use ksh)
- dotback
- back up your dotfiles to ~/.dotback
- duall
- do a du, get rid of crap, sort output, _very_ useful
- *lines
- gives lines $1->$2 of a file
- loc
- find a user in the Prince lab
- *lock
- lock your tty (use ^A-x if using screen)
- mhosts
- add all Prince suns to .rhosts file
- *nameof
- do reverse number->name DNS lookup, _very_ useful
- newcd
- a hilarious hack to mess up the cd command
- options
- gets what might be option lines from the man page
- plantmail
- a script you can pass to "at" to mail yourself
- phone
- uses ph to get a person's phone number(s)
- procsnotme
- what's running that is not yours on this machine
- rquote
- gets a random quote from Jesse's quote's
page.
-
- scatman
- I wanted to have my man page in vi...(in my pre-less days)
- sinceme
- see who has logged in since you last did (single node only)
- site
- like address, but keep track of URL-type stuff
- slay
- grep ps aux and kill -9 whatever it finds
- swrite
- instant message (like zwrite) via the "write" command
- ulogsoren
- in high school, this helped me get to gym on time (via cron)
- *yesterday
- this gives you "date" output as if it was yesterday
Those in bold I would like everyone to use unless they have something
better (use zwrite if you have it). Those marked with a * were not
written by me, but copied from others over the years. The nameof
script has to be the coolest script I have been given. If you have any
questions, bug reports (ha ha, and this lists only the scripts I am
reasonably sure work), etc, please mail me on the system where you find
the error.