Shell Scripts

Small shell scripts can reduce technician's frustration to a considerable degree. Here are some.


curlwget

curlwget - retrieve a file like by curl, but use wget instead and a temporary file. Has a big advantage with unreliable lines, as wget supports retries.

slovnik_cz

slovnik_cz - translate words from Czech to English and vice versa (and between Czech and Spanish/Latin/German/French/ITalian...), by looking up a dictionary at slovnik.cz. Symlinked to czen, encz, czla, lacz, czsp, spcz, czde, decz, czit, itcz.

babeltrans.sh

babeltrans.sh - translate words and senteces between English and Spanish, French, Russian, German, Dutch, and Italian by looking up Babelfish. Symlinked to ensp, spen, enfr, fren, ende, deen, enru, ruen, enit, iten, and ennl.

dnsfreemail, dnsisp, ip2geo

A few utilities for commandline lookup of information from dnsstuff.com:

dnsfreemail - look up if the domain name is known as a free webmail service. Useful for spam. Returns errorlevel 1 if positive.

dnsisp - look up if the domain name is cached in the resolvers of major American ISPs.

fileage - Return file age in easily readable format (hours, minutes, days, h:m:s, d:h:m,...). Symlinked to fileagem, fileaged, fileagey, fileagehm, fileagedhm, fileagedhms, fileageF.

ip2geo - look up the IP address geographical location by NetGeo. Different version of ip2loc.


mmsget

mmsget - use mplayer -dumpfile to comfortably download a mms:// stream.

pingbeep

pingbeep - ping a server, do a short beep for each returned packet, do a longer beep for each missed packet. Requires Beep.


If you have any comments or questions about the topic, please let me know here:
Your name:
Your email:
Spambait
Leave this empty!
Only spambots enter stuff here.
Feedback: