CentOS 7.0 Firewall On/Off

CentOS 7.0 uses firewall as a firewall by default and uses systemctl to manage services and programs, including service and chkconfig 1. View the default firewall status (not running when turned off, running when turned on) [root@localhost ~]# firewall-cmd --state not running 2. Check the status of the firewall [ro ...

Added by kabucek on Fri, 03 Jul 2020 19:18:49 +0300

VM, CentOS 7 Configuration Network Card in VBOX

We often need to copy the virtual machines of VM and VBOX. One of the steps we can't take is to reconfigure the network card.Sometimes it's very cumbersome.A slightly simpler operation is recorded here, with no udev device bound to various sauce operations. 1. For newly replicated virtual machines, please choose to regenerate the MAC address. ...

Added by JMJimmy on Sun, 26 Jan 2020 09:18:45 +0200

linux file find command details

1, Find file from index library: locate Index library: the operating system will periodically traverse the root file system, and then generate the index library Update index library manually: updatedb Syntax: locate [OPTION]... PATTERN Match basename only: - b Count the number of qualified documents: - c Use basic regular expression: - r ...

Added by realchamp on Tue, 24 Dec 2019 10:39:57 +0200