Search Results

Search: Posts Made By: honglus
7,663
Posted By honglus
No, You don't need loop. either one-liner can do...
No, You don't need loop. either one-liner can do the job.
7,663
Posted By honglus
find $1 -maxdepth 1 -type f -not -name "*.old"...
find $1 -maxdepth 1 -type f -not -name "*.old" -exec mv {} {}.old \;



find $1 -maxdepth 1 -type f -not -name "*.old" | xargs -i{} mv {} {}.old
2,437
Posted By honglus
You can get pid with pgrep command in Solaris. ...
You can get pid with pgrep command in Solaris.


pgrep -f AREmail


If there are multiple AREmail process, either command may get multiple PIDs , You has to use loop to kill each one.

...
Showing results 1 to 3 of 3

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