Linux creates timed tasks and executes SQL at timed intervals

Finally figured out a problem. Linux creates timed tasks and executes SQL on a timed basis, which is divided into two case.CASE1 SQL statements are small, so write SQL statements directly in the shell script. As follows:[Email protected]

Linux finds files that match the criteria and deletes

Locate all the files in the root directory that begin with test and pass the lookup results as parameters to the RM-RF command for deletion:1, Find/-name "test*" |xargs RM-RF2, Find/-name "test*"-exec rm-rf {} \;3, RM-RF $ (Find/-name "test")If you

Find details of the Linux command

IntroductionOne of the most commonly used Linux basic commands in find work is to find the files or directories we want by using parameters such as type, size, name, modification time, access time, change time, permissions, and so on. Find lookup

Basic Linux Operations

ObjectiveThis article mainly summarizes the basic operation of Linux and some simple concepts ~ If the unfamiliar classmate can play the next Linux (or to buy a server to play "student version is not very expensive"), for developers, can use Linux

Linux Common commands

FindFind/Folder Search nameReading textCat file nameCreate new files and foldersmkdir folder name touch file name (with suffix)Delete files and foldersRM-RF folder name rm-f file name (with suffix)Modify and save textVI file name// Enter edit

Linux Common Commands--umask

umask 显示或设置权限掩码Syntax format: umask "option" "Mode" umask [options] [mode]Note: The Umask command, followed by options and patterns, must have at least one space between each elementParameter options: parameter Options

Linux root partition full of how to handle, find large file method

A: If the Linux root partition usage reaches 100%, it will cause the following behavior: root cannot log on system does not start properly Second: Find large files within the root partition by command 1.du-sh/* 2>/dev/null | sort-hr | head-3 2. If

Linux system installation DNS forward parsing service

Enter "Mount/dev/sr0/mnt" to mount the disc,Then enter "rpm-ivh/mnt/packages/bind-9.7.3-8.p3.el6.i686.rpm" To install the DNS service:After "vi/etc/named.conf" to view the global configuration file,Turn on the 53 port and match the IP address of the

Linux file Properties

1. In Linux we can use the LL or LS–L command to display the properties of a file and the users and groups to which the file belongs2. "D" represents the file in Linux as a directory file, and the first character in Linux means that the file is a

2018-05-15 Linux Learning

16.4 Configuring Tomcat Listening 80 portsvim /usr/local/tomcat/conf/server.xmlConnector port="8080" protocol="HTTP/1.1"修改为Connector port="80" protocol="HTTP/1.1"/usr/local/tomcat/bin/shutdown.sh/usr/local/tomcat/bin/startup.shOperation

Linux Network Service 01:DHCP

First step: Installrpm-ivh/mnt/packages/dhcp-4.2.5-58.el7.centos.x86_64.rpmStep Two: Modify the configuration fileRPM-QC DHCPVI/ETC/DHCP/DHCPD.CONF viewing DHCP service-related configuration filesSubnet 192.168.80.0 netmask 255.255.255.0 {Range 192.1

Linux sed examples

Sed examples文本内容:101,oldboy,CEO102,zhangyao,CTO103,Alex,COO104,yy,CFO105,feixue,CIO 1.sed 增加内容-a 往文本或号后面增加内容-i 往行号前增加内容-a 实例:在Alex 前增加111,Kang,OOO[[email protected] ~]# sed ‘1a 111,Kang,OOO‘ test.txt

Linux directory structure detailed

due to the use There are so many teams and individuals in Linux to develop the product, imagine that if everyone is using their own ideas to configure the directory of file placement, then management will be very disturbing. In order to control the

2018-05-16 Linux Learning

17-day47&48-mysql Master-Slave configuration17.1 MySQL Master-slave

Linux W who lastlog command example

W who lastlog command example w view current logged in user and current operation[[email protected] ~]# w 22:52:39 up 133 days, 16:47, 8 users, load average: 0.77, 0.31, 0.32USER TTY FROM [email protected] IDLE JCPU

Linux-xargs command

OverviewThe Xargs command is a filter that passes parameters to other commands, and is also a tool for combining multiple commands.It specializes in translating standard input data into command-line arguments, Xargs can process pipelines or stdin

Build DHCP service in Linux redhat6.5

DHCP (Dynamic Host Configuration Protocol) is commonly used in large local network environment, the main role is centralized management, assigning IP address, so that the host in the network environment to obtain the dynamic IP address, gateway

Second, the Linux system hard links and soft links detailed introduction and practice

The concept of linksin Linux systems, links can be divided into two types: one called hard link, and the other is called soft link or symbolic link (symbolic link ). With the default without parameters, the link created by the Execute ln command is

2018-05-08 Linux Learning

13.4 MySQL User managementMySQL Create user and authorizegrant all on *.* to ‘user1‘ identified by ‘passwd‘;grant SELECT,UPDATE,INSERT on db1.* to ‘user2‘@‘192.168.133.1‘ identified by ‘passwd‘;grant all on db1.* to ‘user3‘@‘%‘ identified by ‘passwd‘

Linux implementation automatically run normal user script

Since it is necessary to implement the boot Autorun script, it is related to the Linux boot-up service principle; When Linux is turned on, a step is taken to read the/etc/inittab configuration file, select the system runlevel, then initialize the

Total Pages: 5467 1 .... 2497 2498 2499 2500 2501 .... 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.