失效链接处理 |
The Linux Command Line 的中文版 PDF 下载
本站整理下载:
相关截图:
主要内容:
There is an old joke about a visitor to New York City asking a passerby for directions to the city’s famous classical
music venue:
Visitor: Excuse me, how do I get to Carnegie Hall?
Passerby: Practice, practice, practice!
有⼀个古⽼的笑话,说是⼀个在纽约的游客向⾏⼈打听这座城市中著名古典⾳乐场馆的⽅向:
游客: 请问⼀下,我怎样去卡内基⾳乐⼤厅?
⾏⼈: 练习,练习,练习!
Learning the Linux command line, like becoming an accomplished pianist, is not something that we pick up in an
afternoon. It takes years of practice. In this chapter, we will introduce the vi (pronounced “vee eye”) text editor,
one of the core programs in the Unix tradition. vi is somewhat notorious for its difficult user interface, but when
we see a master sit down at the keyboard and begin to “play,” we will indeed be witness to some great art. We
won’t become masters in this chapter, but when we are done, we will know how to play “chopsticks” in vi.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
学习 Linux 命令⾏,就像要成为⼀名造诣很深的钢琴家⼀样,它不是我们⼀下午就能学会的技能。这需要 经历⼏年的
勤苦练习。在这⼀章中,我们将介绍 vi(发⾳“vee eye”)⽂本编辑器,它是 Unix 传统中核⼼程序之⼀。 vi 因它难⽤
的⽤户界⾯⽽有点声名狼藉,但是当我们看到⼀位⼤师坐在钢琴前开始演奏时,我们的确成了 伟⼤艺术的⻅证⼈。虽
然我们在这⾥不能成为 vi ⼤师,但是当我们学完这⼀章后, 我们会知道怎样在 vi 中弹奏像“Chopsticks”那样的钢琴
⼩品。
Why We Should Learn vi
为 什 么 我 们 应 该 学 习 vi
In this modern age of graphical editors and easy-to-use text-based editors such as nano, why should we learn vi?
There are three good reasons:
在现在这个图形化编辑器和易于使⽤的基于⽂本编辑器的时代,⽐如说 nano,为什么我们还应该学习 vi 呢? 下⾯有
三个充分的理由:
vi is always available. This can be a lifesaver if we have a system with no graphical interface, such as a remote
server or a local system with a broken X configuration. nano, while increasingly popular is still not universal.
POSIX, a standard for program compatibility on Unix systems, requires that vi be present.
vi 很多系统都预装。如果我们的系统没有图形界⾯,⽐⽅说⼀台远端服务器或者是⼀个 X 配置损坏了的本地系统,
那么 vi 就成了我们的救星。虽然 nano 逐渐流⾏起来,但是它 还没有普及。POSIX,这套 Unix 系统中程序兼容的
标准,就要求系统要预装 vi。
|