Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

Changes

Hokie Stalker

497 bytes added, 04:59, 7 December 2009
Commandline Hokie Stalker
==Commandline Hokie Stalker==
The Virginia Tech finger server hooks into the same database as the web-based people search. Access to it using [[netcat]] is trivial:
<pre>
$ echo charles steger | nc finger.vt.edu 79
E-Mail Address:
president@vt.edu
</pre>
 
It might be useful to turn this one-liner into a script if you need to lookup professor room numbers, email addresses, etc. on a regular basis. To do so, follow the steps below to create a script that can be called by typing <code>hs</code>.
<pre>
# echo -e '#!/bin/bash\n\necho $* | nc finger.vt.edu 79' > /usr/local/bin/hs
# chmod +x /usr/local/bin/hs
</pre>
Anonymous user