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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.
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
0
- To follow/ignore psybermonkey, please sign in to your Ping.sg account.



…