inotifywait:Waits for a specific file system time (open, close, delete, and so on) on the monitored file or directory to occur, is blocked after execution, and is suitable for use in shell scripts;Inotifywatch : collects monitored file system usage
Simple production Chkconfig startup file1.在/etc/init.d/ 目录下创建一个kang文件vi /etc/init.d/kang# chkconfig: 2345 24 76 #description: This is TESTecho my name is mingkang~备注:chkcconfig:2345 24 76第一列2345:为系统的启动级别,默认都为on
Today in Jenkins a build, encountered a git download every time you have to enter the account password, so Baidu, use a method, fixI. By way of documentation1. Under ~/, Touch creates a file. git-credentials, edit this file with Vim, and enter the
Reference: https://www.cnblogs.com/jiqianqian/p/7944013.htmlAwk is a powerful text analysis tool. Rather than a full line of sed, awk tends to be divided into a number of "field" processes in a row, which simply means that awk reads the file line-by-
The file structure of Linux is different from Windows, and there is no partition, it is a tree-shaped structure:/etc: Store configuration file/lib: A library of functions required to compile the program/usr: Contains all other content, such as the
Different operating systems for the organization of the file system is not the same, the current mainstream of the two major types of operating systems Windows and Linux they are in the file system organization in a very different way. The file
Su is switching between users, which can be switched from a normal user to the root user,[Email protected]:~$ suPassword:[Email protected]:/home/test#You can also switch from the root user to the normal user. If you are currently a root user, switch
These are more practical system configuration, collection, in case of a rainy future! The following are the important configuration files explained under etc: 1,/etc/hosts#文件格式: IPaddress hostname aliases#文件功能: Provide the host name to the IP
Hard drive recognition for LinuxThe "fdisk-l" command is generally used to list the hard drives currently connected in the system.Device and partition information. The new hard disk does not have partition information, only the hard disk size
Iptables---nat (address translation)Environment1. Machine One192.168.1.3 (Public network)192.168.183.127 (Intranet)2. Machine Two192.168.183.128 (Intranet)Before the experiment I added a network port to the VM virtual machine with an IP address but
NIT 0 RestartExit exitsLS Displays the current directory contents ls-a All files that contain hidden files under the display list ls-i display file details information, file properties, size, nameWHOAMI Display This user information who displays
Linux Restore mistakenly delete filesEnvironment requirements: Create a new file system in the virtual machine, creating several files in the file system, the simulation files are mistakenly deleted in the recovery experiment.Compiling and
The topic for the April personal indicators is1. Write a script to determine the 192.168.1/24 network, the current online IP is what, you can ping through is online2. On the Linux system mount Windows network share directoryI am using the centos6.5
PS Command IntroductionUsed to report the process status of the current system. You can break and delete unnecessary programs with the KILL command at any time. The PS command is the most basic and powerful process view command that can be used to
Zookeeper installation directory:/usr/local/zookeeper-3.4.6/bin/zkserver.sh; config file path:.. /conf/zoo.cfg Port: 2181; Zookeeper service Command:After you have prepared the appropriate configuration, you can perform the service operation
The difference between DF and Fdisk has been written before, DF can display disk partitions that are currently mounted, DF-T can display additional file system typesFdisk-l can display all mounted non-mounted partitions, but does not display file
Ifconfig View IPIfconfig eth0 192.168.100.10 netmask 255.255.255.0 or ifconfig eth0 192.168.100.10/24Note: This is only a temporary effect.Vim/etc/sysconfig/network-scripts/ifcfg-eth0Device=eth0Hwaddr=00:0c:29:61:a9:85Type=ethernetuuid=8f317ed7-9c85-
Prepare the lab environment: Windows 7 Local IP is 192.168.10.30, the linux server local IP is 192.168.10.10, turn off the Windows7 firewall. Implement Win7 host and Linux host interconnection.Experimental purpose: To share Windows folders
This article mainly introduces the shell script for Linux to start the jar package. It is very good and has reference value. If you need it, refer
Background:
The device of the project needs to run the jar package program to connect to the server
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service