many commands which are not working on it as superuser ...
like neat,ifconfig,locate..m gettin comand not found..
If you are getting 'command not found' errors, then the command processor does not know where the file is. There are a few reasons why that might be.
1. The command and the package it is installed from is not installed. In this case, install it using the package manager. This is not usually the case for ifconfig.
2. The path to the command is not known by bash. Ifconfig can be run as a regular user or root. To run it a s regular user, you need to supply the path information to the executable. On my system ifcongig is installed in /sbin/ directory, so to run it as a user, I type '/sbin/ifconfig' and it works. As root I don't need to do add the path, since root has a different set of known paths to look for command executables.
Locate is a bit different. To use it, you need to update the database first, as the root user. To do that, 'su' press enter, and give your root password. Then run the command 'updatedb'. Let it run, and when done, exit back to your user. Then do a 'locate filenameyouwanttofind'. You should not get 'command not found' If you do then there are packages missing on your system.
my touchpad is also not working properly
As root you will need to edit the file /etc/X11/xorg.conf. There will be a section for your mouse/touchpad. In order to know what to put there, you need to post the make and model information of your system. Then do a search for touchpad information. I'm sure someone has made on of these work. Once we know what to add or modify, then edit the file, make the changes. That should be it.