这两个功能不能同时使用,所以我们开始一个程序要考虑的第一件事就是命令尾(command tail)。如果我们需要它,我建议你把它保存到一个安全的地方(我们代码中的一个变量中)。
基于8个网页-相关网页
There are two ways to display the lines in a file in reverse order: tac (the reverse of cat) and the command tail -r.
有两种方法可以逆序显示文件中的行:tac(将cat反过来)和tail - r命令。
In Listing 6, the first command loads the function, the second command gets the head (or first) element, and the third command gets the head of the tail (or second element).
在清单6中,第一个命令装入函数,第二个得到头(或第一个)元素,第三个命令得到末尾的头(或第二个)元素。
Usually, both tasks require oodles of Windows tiled on screen to keep a watchful eye-perhaps tail in one window, less in another window, and a command prompt in yet another.
这些任务常常需要在屏幕上显示许多窗口;例如,在一个窗口中执行tail,在另一个窗口中执行less,在第三个窗口中显示命令提示。
应用推荐