In Linux, you can use the command line tools "grep" and "wc" to count the number of occurrences in the file
netstat -an will print the current network link status of the system
In the process of our development, we often encounter situations where scheduled tasks are not executed as expected. In the Linux system, timing tasks are generally implemented by the system Crontab. This article discusses how to judge whether the Crontab is running normally.
The virtual machine from the cloned virtual machine uses the ifconfig command, the network card cannot be found, and there is only one lo device. The virtual machine cannot configure the network. The reason is that the cloned virtual machine has the same NIC MAC address and UUID as the source virtual machine in the NIC configuration file. Most technical blogs say to delete the UUID and HWADDR items of the network configuration file, but it seems that it does not take effect after testing
Suppose you have a file that needs to be removed from the server, or you want to put it on the server. It would be a bit redundant to set up some form of FTP client, or configure a share to handle this small task