diff --git a/SC2009.md b/SC2009.md index bebe76d..be0b5cb 100644 --- a/SC2009.md +++ b/SC2009.md @@ -19,6 +19,7 @@ What if you have the pid and you are looking for the matching program name? pid=123; ps ax | grep "$pid" What if you want a range of the ps field, like from the 16th space to the end of the line? + ps ax | grep "$pid" | cut -d" " -f16- Both are valid cases where SC2009 is not valid.