In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Method 1: use Vim text editor
Enter [vi file name. Txt] in the terminal program. The "vi" section of the command selects the "Vim" text editor to open and edit the file. Replace the "file name" in the command with the target file name.
For example: the file name is "tamins", please enter vi tamins.txt and press Enter.
When you close the file, enter: Q in the terminal and press enter. This exits the Vim program and returns to the terminal's main interface.
Method 2: use the cat command
After opening the terminal program, directly use the cat command to view the contents of the file sample. Just type [cat sample.txt] at the prompt and press Enter.
The function of the cat command is to display the full contents of the file starting from the first line.
As shown in the figure:
These are the details of how to open a text file in the linux system. Please pay more attention to other related articles!
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.