June 24, 2003
fortune's FreeBSD tips
The program 'fortune', which is often called in the .login file by default, has a nice collection of FreeBSD tips. You can access this a couple of ways:$ /usr/games/fortune freebsd-tipswill print a single tip to your screen, while
$ /usr/games/fortune -m col freebsd-tips | lesswill dump all the tips that contain the sequence 'col' to your screen. This will show you the nice short way using the col command to strip DOS End Of Line characters from your files (those are the ones that look like ^M in many places):
$ col -bx < DOSFIle > BSDFilealthough I guess it also replaces tabs with spaces. An easier way is to just use the dos2unix command (and it's opposite, unix2dos).
del.icio.us | Digg it | Furl | Yahoo MyWeb | Create Social Bookmark Links
Posted by jdarnold at 11:07 AM | TrackBack
Track with co.mments
Track with co.mments Where would one find fortune-mod for FreeBSD? I can't find it in my ports tree at the moment.
Posted by: Michael P. Soulier on October 6, 2006 11:57 AMDo you mean the fortune file for FreeBSD? I think it comes with the standard install; I don't believe it is in the ports tree.



