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

A complete collection of common commands and scripts in linux+python

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly introduces the "Collection of commonly used commands and scripts of linux+python". In daily operation, I believe that many people have doubts about the common commands and scripts of linux+python. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "the Collection of commonly used commands and scripts of linux+python". Next, please follow the editor to study!

Common command

Ps-fe process list echo $$the PIDls-alhrt display directory of the current shell mkdir-p. / a/b/cmkdir a / {1meme 2jue 3} dir will create three directories, namely a/1dir, a/2dir, a/3dirtail-f real-time view log file vim + #: open the file, and navigate to line # vim + 15 / etc/profilevim +: open the file, navigate to the last line vim + / etc/profilevim + / PATTERN: open the file Navigate to the beginning of the line that was first matched by PATTERN vim + / JAVA_HOME / etc/profilenetstat-natp and netstat-natlpvim I: before the character where the current cursor is located, change to input mode A: change to input mode after the character of the current cursor; o: create a new line below the line of the current cursor and change to input mode; O: create a new line above the line of the current cursor and change to input mode; last line mode: /: find / aftern,N? Look up! : execute the command:! ls-l / find and replace sUniqstr1Universe GI: the first character near the s command is the boundary character: /, @, # g: replace all in one line I: ignore case range n: line number.: current cursor line + n: offset n line $: end line, $- 3%: this is the end of the full text, the study on "linux+python common commands and scripts" ends I hope I can solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical 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.

Share To

Internet Technology

Wechat

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

12
Report