tail -n 相当于文件的 X 个最后字符?

Kev*_*cot 3 linux command-line-interface

我正在寻找一种显示文件最后 X 个字符的方法。

我有一个很大的日志文件,所有内容都在一行...我只对此日志的最后一个字符感兴趣。

我没有找到任何可以解决我的问题的东西。

Sve*_*ven 10

man tail

   -c, --bytes=K
          output the last K bytes; alternatively, use -c +K to output bytes starting with the Kth of each file
Run Code Online (Sandbox Code Playgroud)