Thursday, May 31, 2012
Interesting free educational videos and webinars from Truebit.tv
Truebit.tv is a new online channel which contains exciting new free educational videos and webinars started by W Curtis Preston and Truth in IT.
To access the site, just register yourself. Here are some useful links.
Wednesday, May 30, 2012
Painting /etc/motd with some colour
Adding colours to foreground and background of the /etc/motd is a useful way to hightlight remarks or message that users can take a note. It is not very difficult. Firstly, do take a look at the colour codes.
The ^[ can be achieved by pressing CTRL-ESC then ESC. Do note that CTRL-ESC then ESC is not the same as directly typing ^[
The steps are as followed
^[[31m #########Hello I'm foreground red############ ^[[0m
^[[0m - Reset the terminal characteristics ^[[1m - emphasis (bold) ^[[30m - Foreground black ^[[31m - Foreground red ^[[32m - Foreground green ^[[33m - Foreground yellow ^[[34m - Foreground blue ^[[35m - Foreground magenta ^[[36m - Foreground cyan ^[[37m - Foreground white ^[[40m - Background black ^[[41m - Background red ^[[42m - Background green ^[[43m - Background yellow ^[[44m - Background blue ^[[45m - Background magenta ^[[46m - Background cyan ^[[47m - Background white
The ^[ can be achieved by pressing CTRL-ESC then ESC. Do note that CTRL-ESC then ESC is not the same as directly typing ^[
The steps are as followed
- CTRL-ESC then ESC and type "[31m" (without the quotation)
- The Message you wish to convey
- Terminating the with CTRL-ESC then ESC and type "[[0m"
^[[31m #########Hello I'm foreground red############ ^[[0m
Sunday, May 27, 2012
Purchasing Hewlett Packard HP spare parts in Singapore
If you have out-dated HP models and wish to get HP spare parts, you have to go to Servlink Technology Resources Pte Ltd.
Sales Hotline: 62730010
Email: sales@servlink.com.sg
Friday, May 25, 2012
Checking whether IP forwarding is enabled on your Linux Box
Gateway provides a local private network to have access to the internet. To do a quick check whether the IP forwarding is enabled on your machine, do a simple
If the output is 0, then IP forwarding is not enabled. If the output is 1, then IP forwarding is enabled
If your output is 0, you can enabled it by running the command
For more information, do look at the article Installing and configuring a Linux gateway
# cat /proc/sys/net/ipv4/ip_forward
If the output is 0, then IP forwarding is not enabled. If the output is 1, then IP forwarding is enabled
If your output is 0, you can enabled it by running the command
# echo 1 > /proc/sys/net/ipv4/ip_forwardRunning the command cat /proc/sys/net/ipv4/ip_forward and it should show 1
For more information, do look at the article Installing and configuring a Linux gateway
Thursday, May 24, 2012
Price Lists for IT equipment at Sim Lim Square Singapore
Sim Lim Square is one of the largest electronics and computer shopping mall you will find in Singapore. But in case you wish to check some of the online pricing of computer related accessories, do look at this website.
VR-Zone Price Watch
VR-Zone Price Watch
Subscribe to:
Posts (Atom)


