Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I type "ifconfig | more" or "ifconfig | less" the output isn't paginated on Solaris (I'm used to Linux and FreeBSD). Is there a way to do this on Solaris 11?

share|improve this question

The reason is, unlike Linux, ifconfig without options isn't a valid command under Solaris. The equivalent command would be ifconfig -a. If you run it without options, ifconfig displays a help message on its standard error stream.

To have it paginated, simply use:

ifconfig 2>&1 | less

By the way, ifconfig is somewhat obsolete under Solaris 11. I would recommended to use the more powerful ipadm instead.

share|improve this answer

You may need to properly configure your terminal type, specially if SSHing from a linux box:

export TERM=vt100

share|improve this answer
Thanks, it didn't seem to work. I'm sshing from PuTTY on Win7 box. – Benjamin Bryan Dec 10 '11 at 0:48

Your Answer


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.