November 2011
19 posts
Making a USB pen Bootable →
Might come handy
Nov 7th
Nov 7th
Nov 7th
Is you are impatient regarding Firefox releases... →
Nov 7th
when you loose or don't have mouse in windows...
…just press ALT+SHIFT+NUM.LOCK and then use cursor keys to move around the pointer.
Nov 7th
4 tags
Tor in Pinguyos
For those who enjoy being online with real anonymity, I sincerely advice the use of TOR. In my case, once I use PinguyOS I started for adding TOR repo to my sources list: deb http://deb.torproject.org/torproject.org natty main Then the Key for it to work, using the commands: ( please elevate yourself to root before ) gpg --keyserver keys.gnupg.net --recv 886DDD89 gpg --export...
Nov 5th
7 notes
2 tags
Nov 5th
1 note
Nov 4th
4 tags
Add a windows workstation to a domain over VPN
If you have a computer that you want to join a domain and the computer is connected via VPN you need to take the following steps: 1. Connect your site to site VPN. 2. Configure your VPN appliance to use the targeted domains IP as the DNS 3. Join the domain form the computer properties the usual way except, instead of using the pre-2000 domain name ie “Domain”, you need to use the...
Nov 4th
16 notes
3 tags
How to change TimeZone in CentOs
Several people asked me this over this years. Well, it’s simple: cp /usr/share/zoneinfo/Europe/Brussels /etc/localtime
Nov 4th
39 notes
2 tags
Using the du command to find folder sizes
The following command would display all the files and folder as well as their size as a list: du -sm * however this is not an ordered list . To order the list we would need to pipe the output of the “du” command to “sort” command giving out list of files and folders sorted in ascending order according to the size: du -sm * | sort -nr Still there is a problem this is...
Nov 4th
13 notes
2 tags
Deleting files older than x days on Linux
Some times this just comes so handy that can spare you a lot of time. Enjoy find /path/to/files* -mtime +5 -exec rm {} \; Please do note the spaces between rm, {}, and \
Nov 4th
11 notes
4 tags
End those endless qmail queus
Sometimes several peopla asks me about erasing qmail’s queue. Ok, here it is the commands you have to type in sequence: qmailctl stop find /var/qmail/queue/mess -type f -exec rm {} \; find /var/qmail/queue/info -type f -exec rm {} \; find /var/qmail/queue/local -type f -exec rm {} \; find /var/qmail/queue/intd -type f -exec rm {} \; find /var/qmail/queue/todo -type f -exec rm {} \; find...
Nov 4th
4 notes
3 tags
Listen to any conversation in Asterisk (chanspy)
Edit the file /etc/asterisk/extensions_custom.conf and add the following lines at the end of the file: [app-chanspy] include => app-chanspy-custom exten => 556,1,Authenticate(1234) exten => 556,n,Background(beep) exten => 556,n,Read(chan„4) exten => 556,n,ChanSpy(SIP/${chan},q) exten => 556,n,Hangup then just relaad asterisk ( e.g service asterisk reload ) Now for the...
Nov 4th
5 notes
2 tags
Find last changed files in a Linux Box
Some times it might com handy to find last changes files in a linux box. Tey this up # find . -type f -printf ‘%TY-%Tm-%Td %TT %p\n’ | sort
Nov 4th
1 note
Nov 4th
Nov 4th
Nov 4th
Nov 4th