inotifywait command Common parameters Linux Weekend learning

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

Linux Simple production Chkconfig startup file

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

Linux saves git's account password

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

Initial use of awk in Linux

ord

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-

15.LINUX file Structure

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

Getting Started with Linux--File system directory structure

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

User Switching under Linux

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

ETC Common configuration information under Linux

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

Linux Mounted Disks

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

Linux DNAT & SNAT

ssh

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

Linux Knowledge Collation

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 files

 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

April personal indicators, Linux basic operations

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

Linux compression pack

Tar commandUnpacking: Tar zxvf Filename.tarPackage: Tar czvf filename.tar DirName GZ commandDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and. tgzDecompression: Tar zxvf

"Linux command" PS command

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 booting under Linux

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

Add a linux command to delete a disk partition

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

Linux IP Configuration

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-

Linux uses mount to mount Windows shared folders

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

Shell script for Linux to start the jar package

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

Total Pages: 5467 1 .... 3700 3701 3702 3703 3704 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.