是否有类似catLinux 的命令可以从文件中返回指定数量的字符?
cat
例如,我有一个文本文件,如:
Hello world this is the second line this is the third line
我想要的东西会返回前5个字符,这将是"你好".
谢谢
linux command-line
command-line ×1
linux ×1