Search Results

Search: Posts Made By: varungupta
52,540
Posted By varungupta
Hey, YOu can check the process state table...
Hey,

YOu can check the process state table with grep on the name of the process you wished to check.

ps -ef | grep "debu" > maillist.txt

if [ -s maillist.txt ] ; then
echo "Process is...
72,099
Posted By varungupta
Hey, You can use the following three...
Hey,

You can use the following three commands to add a new line to a file.

echo "\n" >> file.outor

echo -e "\n" >> file.out

echo >> yourfile

Thanks :)
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 10:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy