This is a command line Chinese dictionary tool which look up words from Yahoo! Dict

And this is also a part of FreeBSD's ports.
http://portsmon.freebsd.org/portoverview.py?category=chinese&portname=ydict