Search Results

Search: Posts Made By: varungupta
53,531
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...
73,295
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 08:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy