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 > Development >
Share
Shulou(Shulou.com)06/01 Report--
Linux system nc command how to use, I believe that many inexperienced people do not know what to do, so this paper summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
Netcat (nc) is a very powerful tool in Linux system, which is known as the Swiss Army knife in the field of network security.
You can install [root@linuxlz.com~] # yum-y install nc.x86_64 directly using the yum tool in the Linux terminal window.
After installation, run nc-help in terminal mode to see if [root@linuxlz.com~] # nc-help is installed properly.
OK, installation is normal. Next, we can use nc-l 9999 to listen on the port and send data [root@linuxlz.com~] # nc-lk 8888 / / to open a server connection.
Open another host and test netstat-anop | grep 8888 / / check whether there is a nc localhost 8888 / / connection port for chat before connecting.
Executing nc-l9999 snooping commands in my CentOS 6.4( 64-bit) environment encountered protocol not available [root@linuxlz.com~] # nc-l9999nc: Protocol not available
The solution is as follows: download wget http://vault.centos.org/6.6/os/x86_64/Packages/nc-1.84-22.el6.x86_64.rpm with nc command
Nc command to install rpm-iUv nc-1.84-22.el6.x86_64.rpm
After reading the above, have you mastered how to use the nc command in the Linux system? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
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.