In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "the introduction of Linux common advanced commands and shell scripting tools". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "introduction to Linux common advanced commands and shell scripting tools".
1. Linux commonly used advanced commands serial number command interpretation 1df-h View disk storage 2top View memory 3iotop View disk IO read and write (yum install iotop installation) 4iotop-o directly view higher disk reader 5netstat-npl View Port occupancy 6ps-aux View process 7uptime View system running time and average load 2, Shell common tools and written scripts
1) awk, cut, sort, sed
2) what scripts have you written in Shell
1. Cluster startup, distribute script
two。 Import and export of data warehouse and Mysql
3. Import within the warehouse level
3. A script was submitted in Shell, and the process number was not known. At that time, it was necessary to kill the process. How to do it? Ssh $I "ps-ef | grep file-flume-kafka" | grep-v grep | awk'{print\ $2}'| xargs kill "4. The difference between single and double quotes in shell
①, single quotation marks do not take variables
②, double quotation marks take variables
③ and backquotes execute the commands in quotation marks
④, double quotation marks nesting single quotation marks, will take out the value of variables in single quotation marks
⑤, single quotation marks nesting double quotation marks, will not go out of the variable value
At this point, I believe you have a deeper understanding of the "introduction to Linux high-level commands and shell scripting tools". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.