Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: varungupta
51,130
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...
66,302
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

 

Featured Tech Videos

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