Search Results

Search: Posts Made By: yogendra.barode
1,257
Posted By MadeInGermany
The following are more precise perhaps (you...
The following are more precise perhaps (you didn't provide a ps output)
$( ps -ef | grep -c 'dw[.]sap' )
$( ps -ef | grep -wc 'dw[.]sap' )
1,414
Posted By ken6503
I think this code should work, I was unable to...
I think this code should work, I was unable to find a way to remove last line as you mentioned.

I will try and let you know.

thanks

---------- Post updated at 12:00 PM ---------- Previous...
1,414
Posted By bakunin
You can simply use "ls -rt" to get your files...
You can simply use "ls -rt" to get your files sorted by date/time (instead of name) and then remove the last line (the latest file) and delete the others. Use the following blueprint:

ls -rt...
6,685
Posted By mohdtausifsh
Thanks a lot Anbu it works
Thanks a lot Anbu it works
Showing results 1 to 4 of 4

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