Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
In this lab, the student will use a UNIX text-editing tool called the vi (pronounced "vee eye") Editor. This text editor is primarily used for creating and modifying files that customize the work environment and for writing script files to automate tasks. System administrators use text editors to create and modify system files used for networking, security, application sharing, and so on. The vi Editor became a part of the UNIX operating systems shortly after UNIX’s inception, and is universally available with UNIX systems (including Linux). The vi Editor is a very flexible and powerful editor with many options. These will be reviewed here with examples of. | Lab 10.1.5 Using the Linux vi Editor Estimated Time 30-45 Minutes Objectives Become familiar with the vi Editor Review the three vi Modes Review keystrokes to move between vi modes Create a new file with vi Editor Invoke vi with show mode Review the save and quit commands Open an existing file with vi Editor Use editing commands Customize a session Use search commands Equipment The following equipment is required for this exercise A login user ID for example studentAI and password assigned by the instructor. A computer with Linux Red Hat 7.2 operating system installed. Scenario In this lab the student will use a UNIX text-editing tool called the vi pronounced vee eye Editor. This text editor is primarily used for creating and modifying files that customize the work environment and for writing script files to automate tasks. System administrators use text editors to create and modify system files used for networking security application sharing and so on. The vi Editor became a part of the UNIX operating systems shortly after UNIX s inception and is universally available with UNIX systems including Linux . The vi Editor is a very flexible and powerful editor with many options. These will be reviewed here with examples of their use. For users learning to become system administrators it is important to know how to use vi 1 - 8 IT Essentials II v2.0 - Lab 10.1.5 Copyright 2002 Cisco Systems Inc. Editor. It is sometimes the only full screen editor available to edit crucial system files. Examples of these include scripts and environment control files. Skill in using vi Editor is also needed if the windowing system is not available. The vi Editor is a useful tool when working remotely on other Linux workstations or servers. Administrators routinely login remotely or telnet to another Linux computer to perform maintenance and troubleshooting tasks using the vi Editor. The availability and operation of vi Editor is consistent across all UNIX Linux platforms. Use the diagram