Solaris 相当于 BSD 的“tail -n100"是什么? [英] What's the Solaris equivalent to the BSD's 'tail -n100'?

查看:34
本文介绍了Solaris 相当于 BSD 的“tail -n100"是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看了一千遍了,我总是忘记它,所以,永远在这里:

I've looked this up a thousand times, and I always forget it, so, here for eternity:

Solaris 对于 tail 的语法有点笨拙.

Solaris has a bit of an awkward syntax for tail.

如何做等效于 BSD 的 tail -nN?

How do I do the equivalent of BSD's tail -nN?

我想要的是 tail 输入的最后 N 行.

What I want are the last N lines from tail's input.

推荐答案

只需删除n"

tail -100

这篇关于Solaris 相当于 BSD 的“tail -n100"是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆