📄 l12.2a
字号:
#printEach 'w' command typed so far has written the edited materialback on the same file that it came from originally.This can be changed by giving a filename on the 'w' command: w camdenwill write the current editor bufferon file 'camden'. What does the followingsequence of commands do? ex old w new qAs you can see, it picks up file 'old', andwrites it on file 'new'. It has the same effectas cp old newdoes.In this directory there is a file named "old".Copy that file to file "new" with the editor, usingthe commands given above. Check by printingboth files with "cat" that they are the same.Type "ready" when done.#create RefFour score and seven years ago ourfathers brought forth on this continenta new nation, conceived in liberty anddedicated to the proposition thatall men are created equal.#create oldFour score and seven years ago ourfathers brought forth on this continenta new nation, conceived in liberty anddedicated to the proposition thatall men are created equal.#user#cmp old new#log#next12.2b 5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -