remove first line

Hi

I do a ps -aef on a solaris machine and want to get the number of lines. The problem is that the first line is empty and want to get rid of it. how?

thx

tail +2 filename

will display a file (called filename) starting at the second line