grep execution not working currently.
ls command working.
Added Client Server Logic