Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: varungupta
51,128
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,297
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 08:23 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy