📄 l10.2a
字号:
#printOften you want to refer to the last lineof a file, and you don't know how long it is.There is a special address, "$" for this purpose."$" refers to the end of a file. Thus $pprints the last line of a file and 1,$pprints all of a file.Here's another file. Print all of it, andthen type the usual w, q, and ready.Your commands should look like 1,$p w q ready#create Ref1,$pwq#create fileNew York Mets Managers Casey Stengel Wes Westrum Gil Hodges Yogi Berra Roy McMillan#copyin#pipeex +'set prompt noopt open' file#user#unpipe#uncopyintail -3 .copy >X1#cmp X1 Ref#log#next10.1b 1010.2b 5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -