How to truncate the middle of long command output
Use a command group { head -n 3; echo '[…]'; tail -n 5; } to snip print the first few and last few lines.
评论
?
参与讨论
Use a command group { head -n 3; echo '[…]'; tail -n 5; } to snip print the first few and last few lines.