Posted by Keith Elder | Posted in Linux, Programming | Posted on 16-10-2000
In UNIX environment, the following combination of perl and find will serch for a particular file and replace the occurence of a particular string with another string in that file. This will also work for multiple files and directories. The find command finds the file and the perl script replaces old string with the new one. perl -pi -e 's/old string/new string' `find . -name "file name"`
Posted by Keith Elder | Posted in Linux, PC Software | Posted on 16-10-2000
The Scoop
Tired of all the windows users having all the fun? Well, Speak Freely is your answer.
Let’s Get Going
Speak Freely is very simple to install if you are using Debian Linux. apt-get install speak-freely If you are using one of the other distributions then head over to their site and download the rpm and install it. Be sure to grab the latest version since it comes with the TK front end.
Getting through the firewall
If you happen to have a Linux firewall, then you will need to issue the following command. The following command only works if you are using ipchains:
ipmasqadm autofw -A -r udp 2074 2075 -c udp 2075
The Benefits
During using SpeakFreely I have found it to be clearer than any other program I have used (yes any). Another great benefit of it is the encryption over the wire it offers, as well as the different levels of compression it supports. If you have any troubles then post a comment, I am sure someone or myself will get back to you with an answer.
Posted by Keith Elder | Posted in Internet, PC Software | Posted on 16-10-2000
For awhile now, I have been wanting to find a really nice chat program that does voice. A lot of people now have static high speed connections to the Internet so it wouldn’t be that hard really for us to save a little on our phone bills. The problem is that there are some nice chat programs but mostly for Windows. I bumped into this program today and found that it runs on both Windows and Linux platforms, Speak Freely. There is a TCL front end for the program so be sure to download that as well. One of the cool features of Speak Freely is the capability to encrypt your messages using PGP or other known methods. Now that is what I call an open source twist to chatting.
Posted by Keith Elder | Posted in Sports | Posted on 14-10-2000
Well, the Wolverines play Indiana on Saturday in “The Big House”. Good luck Michigan. All though the Wolverines are picked to win, I don’t think it will be by much. Maybe they’ll put John Navarre back in and things will start to happen (doubt it!).
Posted by Keith Elder | Posted in Linux, Programming | Posted on 11-10-2000
If you are like me, sometimes you need to actually print a man page for a certain command. Linux has a lot of built in documentation but sometimes it can be a little hard to get at. Use the following command to print out an online man page.
cd /usr/share/man/ and run zcat man.1.gz | groff -mandoc – > man.ps
lpr man.ps
Be sure that you have the package named “groff” installed. The location of your actuall man pages may be different as well. The above path is normally used in Debian Linux.
Updated 10/11/00
The following update was sent in by Steve Limkemann
“……a slightly easier, and more portable, way to print man pages is to use the command “man -t someManPage | lpr” without the quotes.”