我cat -n
用来获取.txt
文件中内容的行列表。
[$] cat exam.txt
1 let's see how far does this go, and if it works or not. if not till where it
2 goes and what happens after that. In nano, things are much more better than in X
3 text editors as there is no set fill therein as there is in nano and hence are
4 much worse off.
Run Code Online (Sandbox Code Playgroud)
在 dpkg 中似乎没有这样做,或者有吗?我正在 Debian 测试并运行 dpkg 1.18.18 。只是为了使列表不那么麻烦,我使用 head -
[$] dpkg -L …
Run Code Online (Sandbox Code Playgroud)