11

Oct/10

Bash Sleep vs. Wait

Both commands sound like they do the same thing but they are used in very different ways Sleep Stops script execution for a specified amount of time in seconds e.g sleep 30 will stop the script for 30 seconds before … Continue reading

01

Oct/10

Asterisk / FreePBX full Log file

Asterisk logs everything to a file in /var/log/asterisk/full so I thought I’d truncate it… It was a big mistake. After doing so I had lost all the call logging information which can be found in the admin panel. Seems like … Continue reading

28

Sep/10

Removing Files Starting With —

I encountered an interesting problem today. I created a file called –verbose (obviously I passed the argument incorrectly) but trying to remove it more of an issue. Typing rm -f –verbose makes the command rm think it’s a parameter rather … Continue reading

25

Sep/10

July 2007 MacBook Pro Battery

My notebook is over 3 years old and it’s holding up to the test of time fairly well with the exception of the battery. I have taken a screenshot from CoconutBattery to illustrate my point: It holds such a small … Continue reading

15

Sep/10

Netgear WNDR3700 Thoughts

I bought a Netgear WNDR3700 to replace the shoddy DLink DIR-615 that came with our cable service and it has holding up very good. I was even approached on Twitter from a DLink representative but he was unable to solve … Continue reading

01

Sep/10

Kick A Linux User Who’s Logged In

In command line type in who or w will list all the users who are currently logged in. To log them off type in the following: pkill -KILL -u danny where danny is the username. If ‘danny’ was logged in … Continue reading

26

Aug/10

Change Default Crontab Editor

To change the default crontab editor type in the following command: export EDITOR=nano Change nano for your preferred editor. Crontab editor

19

Aug/10

FreePBX – Common Voicemail Box

Overview I have several extensions on my Asterisk / FreePBX box but currently only one landline. Ring groups solved the problem of one incoming call ringing multiple handsets but there was only one official solution to sharing voicemail. Voicemail Blasting … Continue reading