7

Different cmd to execute and based on some pattern parse it and then store result in xlx format

view full story
linux-howto

http://www.unix.com – Hi I have a different requirement, I need to run some application on my device from a file app_name.txt one by one which is like this: /usr/apps/email /usr/apps/message /usr/apps/settings after each app while it is running I need to execute again one cmd like ps -ef |grep /usr/apps/email then this cmd will give output like this: user 6423 6602 0 11:23 pts/4 00:00:00 /usr/apps/email on this output I need to extract the 2nd, 3rd and last column value only and store it to another excel format file(result.xls) whose format will be like: /usr/apps/email 6423 6602 13025 (sum (HowTos)