Rayhan’s blog (raynux.com)

Rayhan’s Personal Web Blog Site

Entries Comments


Category: Linux



Send Mail From Unix/Linux Bash Shell Script

11 April, 2011 (12:30) | Linux, Reference | 1 comment

Tags: , , , , , , , ,


Bash shell script is very popular and widely used in Unix world for command automation and task scheduling using cron. Sometime it is very important to know the status of these scripts to make sure that they are working exactly the way you want and if any script fails you can take prompt actions. The [...]

IPTABLES quick command list

15 April, 2009 (12:09) | Fedora, Linux, Reference, Ubuntu | 3 comments

Tags: , , , ,


Iptables is the default and powerful firewall that works on almost all Linux version including Ubuntu and Fedora. Here I have listed some important commands and a short description of each command for quick help. It can help people who already know little Iptables. manage chain: # iptables -N new_chain // create a chain # [...]

Update your social networking status from command line

28 February, 2009 (13:27) | Linux, programming, Python, web, Web Services | 10 comments

Tags: , , ,


This is my first python script, Throughout the learning process I want to make something use full and I know that the best way to learn a new programming language is to start with some real project. Updating your social networking status is now a frequent job. To make this job easier there are lots [...]

Mac on my ubuntu laptop

19 February, 2009 (16:06) | Linux, personal, Ubuntu | 2 comments

Tags: , , , , ,


Mac4Lin is a great project which brings mac user interface to linux desktop. Yesterday I installed Mac4Lin on my laptop running ubuntu intrepid idex. Installation needs some advance configuration which is not suitable for newbie right now even I couldn’t install screenlets desktop widget. But still it’s cool and I am really impressed with the [...]

Install Additional softwares by a single command on Ubuntu

21 November, 2008 (02:49) | Linux, MySQL, personal, PHP, Reference, Ubuntu | 9 comments

Tags: , , , ,


I have created a bash script file to install almost all necessary softwares to run and work on a Ubuntu box. I have tried this script in Ubuntu 8.04 Hardy Heron and Ubuntu 8.10 Intrepid Ibex. Softwares I have placed in this script covers PHP-MySQL development and desktop applications for graphics, multimedia, to Internet applications. [...]

Recovering Ubuntu or Fedora Linux after installing windows

21 September, 2008 (01:40) | Fedora, Linux, Reference, Ubuntu | 4 comments

Tags: , , , , , ,


Running linux with windows in dual boot mode is not hassle free at all. Specially if you reinstall or repair windows, your linux system will disappear. As a newbie you may stop using linux or reinstall it again instead of solving the problem. In this article I will share my experience on how to recover [...]

Listen MP3 on Fedora Linux box.

20 July, 2008 (00:03) | Fedora, Linux, Reference | 2 comments

Tags: ,


I receives lots of call from my friends to help them fixing mp3 problem in fedora. Some of them already have internet connection to their fedora box. Here is a single command what can solve the problem if you have internet connection. # yum -y install gstreamer* This command will automatically find, download and install [...]

GPRS Connection from fedora linux using my moto L6

19 July, 2008 (22:19) | Fedora, Linux, Reference | 7 comments

Tags: , , ,


This is how I connect to internet from fedora box using my motorola L6 GPRS modem. I use this procedure with Teletalk connection. After a fresh fedora installation I enter the following command in the shell. This command creates a wvdial configuration file for my modem. # wvdialconf /etc/wvdial.conf Now I need to modify some [...]