DISQUS

DISQUS Hello! Tech-Recipes is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Tech-Recipes

Cookbook of Tech Tutorials
Jump to original thread »
Author

Select an arbitrary column of text in UNIX | UNIX | Tech-Recipes

Started by qdideas · 9 months ago

No excerpt available. Jump to website »

2 comments

  • I don't know if you've experienced consistency problems, but I have been using cut to get pid information from ps for a long time. For example 'ps -ef | cut -c 10-15' works fine for me.
  • ps -ef|awk '{print $2}'

    I use it like follows...

    ps -ef|grep <filter string>|awk '{print $2}'|xargs kill -15

    Cheers.

Add New Comment

Returning? Login