The embedded system devices are meant to start its predefined function as soon as it is powered up. When the OS runs on the Desktop most of the applications are executed by the user after the OS boots. In case of OS running on embedded applications like in Raspberrypi board the preffered applications must be made executable immediately after OS booting process finishes. This article discusses how to execute a code automatically after the Ubuntu OS boots in a Raspberrypi board. In this project the Raspberrypi board is loaded with Ubuntu and is remotely accessed using VNC. The Raspberrypi board is also connected to the internet. There are 26 connectors which can be taken out from the connector port of the Raspberrypi board. All the connector pins are taken out using 13*2 pin female connectors and at the other end of their wire 26 pin Burg stick male connectors are attached.