Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I get an error when I try to execute this command on Red Hat Linux.

$ ss -s
-bash: ss: command not found

It is supposed to be for checking socket statistics. How do I execute this?

share|improve this question
    
Is the iproute package installed, are you root, or is /usr/sbin in your PATH? –  tink Feb 18 '13 at 22:04
    
ahh thanks... /usr/sbin/ss did the trick! thanks tink ;) –  dimas Feb 18 '13 at 22:07
    
You're welcome :) ... can a comment be flagged as a solution? ;D –  tink Feb 18 '13 at 23:30
    
Ha I wish... if you transfer your comment as an answer ;) –  dimas Feb 19 '13 at 2:30
add comment

1 Answer

up vote 2 down vote accepted

As per comment above: Try with the full path;

/usr/sbin/ss
share|improve this answer
    
Thanks again!!! –  dimas Feb 19 '13 at 4:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.