Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Txt of linux is converted to txt of windows

2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Txt of linux is converted to txt of windows

# cp unixfile.txt winfile.txt

# vi winfile.txt

: set ff=dos

: wq

Method 2:

# sed-e's unixfile.txt unixfile.txt > winfile.txt

Then get the winfile.txt to the windows system and view it normally.

This function is to retain the format of linux on the windows system. For example, if you split a lot of lines on linux, if you do not convert it to windows directly, it will be displayed as one line, all next to each other.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report