In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
I. Editing the contents of the document
The role of a text editor
Create or modify a text file
Maintain various configuration files in Linux system
The most commonly used text editor in Linux
Vi: the default text editor for UNIX-like operating systems.
Vim:vim is an enhanced version of the vi text editor (commonly referred to as the vi editor)
Vi vim
Three working modes
Command mode, input mode, last line mode
Switching between different modes
I plug-in
A plus type
O Edit after inserting a new row
Basic operation of command mode
Cursor movement
Copy, paste, delete
File content lookup
Undo edits and save exit
The basic operation of the last line mode
Save the file and exit the vi editor
Open a new file or read the contents of another file
File content replacement
Dw deletes a word
Save exit:
: s/old/new/gc confirms replacement on the same line
:% s/old/new/gc
Assignment:
1. Copy-paste, move-paste, single-line search and replace, full-text search and replace exercises in VI
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.