avatar

psybermonkey's pings

Sort By:

sed is extremely helpful in search & replace text, in file & variables. Often we need to construct a list of strings together with variables. But the normal usage of sed :e.g. sed -e ’s/text-to-search/string-to-replace-$variable-name/g’ will only replace the variable $variable-name literally rather then the pre-define value. After meddling with a few more …
675 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on March 25, 2009 at Scratching My Needs
A note for myself on cisco IP phone, 7912 series. To access its configuration mode, goto :- press on the “Services” button, the transparent button above digit “3″- select “Settings”- select “Network Configuration“, notice that the current status (the logo next to “Network Configuration“) is “lock”- at …
591 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on April 6, 2009 at Scratching My Needs
The Nokia E71 & E63 is a versatile phone for people that needs the business suite of application, e.g. email, messenger, documents & spreadsheet, camera and most importantly, the symbian platform. The symbian platform is widely used on mobile phones. Symbian’s platform also have a wide variety of applications.For *NIX system administration, shell access to ...
582 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on June 20, 2009 at Scratching My Needs
Nokia E71 and E63 are great phones, operating on Symbian S60 series operating systems. Its keyboard is easy to type, the LCD is sharp, the keys position are great and most importantly, the battery last long enough, approximately 5-7 days for an average user like me. The phone also comes with a lot of practical ...
549 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on May 13, 2009 at Scratching My Needs
The mutt is not just an email client, it is also very useful in bash script. mutt’s CLI (command line interface) parameter can be called and execute without starting the email client interactively, ideal to run it within bash script to send email. mutt is also able to control from config file, ~/.muttrc, with a ...
519 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on April 4, 2009 at Scratching My Needs
In Firefox, when clicking on a URL link with “telnet://“, firefox browser would pop up an error message “Firefox doesn’t know how to open this address, because the protocol (telnet) isn’t associated with any program.“. It is due to the browser have not register a helper application to run the URL link with “telnet://“. ...
449 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on April 9, 2009 at Scratching My Needs
Epoch dates are seconds started from 1st January, 1970. It is a common date and time representation, especially in unix and linux world. It provides a way to convert time stamp in a much easier way for programming calculation, an integer. Below are one of the way to convert epoch timestamps to a readable format ...
397 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on April 3, 2009 at Scratching My Needs
This common error happens normally after a WordPress version upgrade. Upon upgrade of plugins, which normally we click on the “upgrade automatically” link on the plugins page, it prompt for “connection information” (with another line of “To performed the requested action, connection information is required.“) with “hostname“, …
336 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on June 23, 2009 at Scratching My Needs
Recently, there has been a few incident on vulnerabilities of DNS server being exploited. Fortunately, Bind have release patches soon enough for the rest of us to start covering up the loop holes.After an upgrade or installations of ISC Bind DNS server 9.6 on a FreeBSD box, we will need to stop and start “named” ...
302 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on September 5, 2009 at Scratching My Needs
Just did a backup and noticed that the backup tar file is more then 2gb, which fail to copy to a fat32 thumb drive. The mysqldump output text file is more then 5gb and needless to try as it cannot fit into any fat32 formatted drive. Or even regular file that is more then 10mb ...
260 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on April 24, 2009 at Scratching My Needs
A short tip. For searching in vim, enter the “Command-line” mode by type a colon (”:”) in “Normal” mode (Esc twice at any time) and type “set ignorecase” for case-insensitive search.e.g.:set ignorecaseAdditionally, for “next” occurrence or match, type “n” or “N” for “previous” …
257 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on April 19, 2009 at Scratching My Needs
telnet is a Swiss army knife for troubleshooting layer 7 application problem, especially useful on smtp & pop3 protocol.Scenario 1 :to test is our domain is being block by recipient domain, using telnet on our email server to send email on recipient email server.Scenario 2 :a quick test on error occurs sending email, using email ...
220 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on March 28, 2009 at Scratching My Needs
Printing variables or text within bash script is good for debugging. It can trace which line or variables is having problem. echo is the commonly is used for such debugging purpose. But some times we need it to print tabs, new line & other escape strings in a one liner bash. One way to do ...
178 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on April 10, 2009 at Scratching My Needs
One fine day, the server disk usage report that, the one of the partitions is almost full. After some searching, the database directory at /var/db/mysql/ (FreeBSD) or /var/lib/mysql/ (Linux) is occupying most disk space. Listing the directory only to found out that mysql-bin.0000* are the ones that is occupying the disk space. What are these ...
170 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on April 21, 2009 at Scratching My Needs
Commonly, changing network interface IP, subnet mask or DNS used to be on GUI (Graphical User Interface). But they will be times it needs to be done on CLI (Command Line Interface). e.g. the windows manager fail to start, window manager does not provide a GUI to change it, it is a server and ...
149 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on March 30, 2009 at Scratching My Needs
bash script read a file word by word rather then line by line. That means if you have a file with the below contents :<start of file>The quick brown fox jumps over the lazy dog<end of file>and you read & display it using :for reading in $(cat /some/directory/some-file);do echo $reading;doneThe output would ...
127 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on April 2, 2009 at Scratching My Needs
Another reason to use open source software. If you have just got yourself a Dell laptop and want to monitor the system fan, temperature, processor speed & other stuff, you’re in luck. The open source community have come out with a piece of excellent utility to do the job. Better, the utility is able ...
125 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on March 25, 2009 at Scratching My Needs
In Ubuntu, adding or managing new partition or hard disk should use UUID (Universally Unique Identifier) of the device rather then using the device node name. e.g. /dev/sda2, /dev/hda3, /dev/sda5 and etc. IMHO its advantage compare to the conventional way of mounting device, using /dev/sda or /dev/hda are :UUID is unique when it comes to ...
123 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on May 23, 2009 at Scratching My Needs
Previously, we have talk about how to assigh dynamic IP to an interface on Freebsd. This post is about how to assign fixed or static IP to an interface on Freebsd. Below are the steps :Manually assign fixed IP :1. ifconfig bce0 inet <IP address> netmask <subnet mask>2. route add default <gateway IP address>3. /etc/netstarte.g.ifconfig ...
117 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on May 5, 2009 at Scratching My Needs
One of Perl’s strength is it’s repository of modules, thousands of modules. No need to re-invent the wheel, just think of what you wanna do and search for it (http://cpan.perl.org).The CPAN modules are available through the CPAN shell. In this post, we will talk briefly about how to install the CPAN shell and show an ...
116 unique reads 0 comments
psybermonkey Posted by psybermonkey User Menu on September 14, 2009 at Scratching My Needs

The Community Meta Blog
for Singapore Bloggers
v2.1.0

Join Singapore Blog Awards 2012

Bloggers: Singapore Blog Awards 2012
is now acceping nominations!

 

latest comments rss feed

 
 

shouts rss feed for latest shouts history

avatar hexsarash: hai....
avatar aieza: siang all
avatar 88henry: morning every1
avatar felizaong: SHOES SHOPPING! Me wearing it>> www.ping.sg/read/Shopping-Aldo-Wedges
avatar nawwaf: salam semua.. heyyy
avatar hexsarash: khukhukhu...
avatar sl417k: hai
avatar birthmark: A small bit of China.
avatar bloggerindonesia: Penyebab Ketidakseimbangan Neraca Saldo
avatar mingisland: www.bigmouth8.com
avatar coolinsights: Why You Need to Start Journalling and Blogging ping.sg/item/The-Benefits-of-Journalling-and-Blogging
avatar sevra: ^_^
avatar hexsarash: halo all...^_^
avatar bloggerindonesia: Proses Pembuatan Neraca Saldo
avatar hariagsutomo: tes...tes...
avatar grandong: pagi semua...
avatar w_delon: isilo
avatar blue8118: Is Coconut one of Miss Earth Sabah Finalists?
avatar hexsarash: huahem....
 

new users

coffeeluwak azka123 arifpmc tkeenuh hongxingpeggy dingqian101212 kamipenjajah