ls -l | less -S #ls 结果 pipe 转出到less上,这样你可以一次输出限制到一页。 - S将防止分行。 转载至:https://twitter.com/climagic/status/506888984195497984