Requirement: Detects if Tomcat on Linux is allowed to send email notification to OPS if it hangsImplementation: Scripting always detects whether the Tomcat process is alive, otherwise send mail to OPS, script settings start automatically when
1. When logging into the Linux system, the command line interface,[[email protected] Desktop] #Name of the directory where the user name hostname is locatedThere are two characters:#: Indicates the current user entered the root userWhen configuring
First, the basic knowledge of the computer (I wish I could enjoy learning more about this system) /c8>1. Computer Systems650) this.width=650; "Src=" Https://s5.51cto.com/oss/201711/14/6f8203e94ea4616763839184ed85e0ff.png-wh_500x0-wm_3 -wmp_4-s_400
First, install the package three ways:RPM ToolsYum Tools (auto-install dependencies)The source code package can be seen, and need to compile files.Second, RPM introductionDf-hMount/dev/cdrom + Directory mount directoryRPM Package Format:Package Name-
2 years of sea soldier career, there are many good memories, and then I came back, the reality told me to start working.Just home a few days, parents always say just come back, don't hurry, work slowly find, want to find a oneself like and do have
1. Pwdprint working directory Print current path 2.cdchange directory change path, switch path cd/home (no option, parameter) Cd/home/book in order to simplify input: CD/switch to root directory CD ~ Switch to the current user's home directory
* match 0 or more characters? Match any single character~ Current User home directory~mage User Mage home directory~+ Current working directory~- Previous working directory[0-9] match number range[A-z]: Letters[A-z]: Letters[Wang] matches any one of
1 pwd Print the current directory location2 mkdir Creating a directory-p recursion to create a parent directory that does not exist-M setting property permissions for a directoryMkdir-m 777 Testa # Create a testa directory with 777 permissions3
Background: During Linux use, it is often necessary to find files, and it is not clear how the wildcard pattern and regular expressions in a command are distinguished. It is necessary to study it well.1 Literacy 1.1-pass wildcards regular
command name:awkRole:Processing of text and dataDetailed Description:Awk is a programming language that is used to process text and data under Linux/unix.The data can come from standard input (stdin), one or more files, or the output of other
Under the Linux system development C program will encounter the system does not support Conio.h header file, cannot use Getch () do not echo function. The following shows how to construct a function to implement numeric input without
Main Line function for linux kernel x86 startup, kernelx86Arch/x86/boot/header. S --> _ start --> calll mainarch/x86/boot/main. c --> main --> go_to_protected_modearch/x86/boot/pm. c --> go_to_protected_mode -->
Nginx splits logs by day, and nginx splits logs
#! /Bin/bash # Cut and compress nginx logs by day, add crontab to cut at every day # Author: fafu_li # Time: 2015.08.15source/etc/profile # load the system environment variable source ~ /. Bash_profile
CentOS file attributes, permissions, umask, findTask: 2.14-2.27 file or directory permissions chmod, chown, umask, lsattr, chattr, set uid, set gid, stick bit, the owner of the find file and the Directory and file of each Linux in the group have the
Set dual-nic binding to band0 in centos
1. Run the setup command --> network configuration --> four NICs in this example.
2. ifconfig lists the four NICs.
3. Our goal is to bind two NICs, eth0 and eth1, as the public network card, and set the IP
Get IP-linux (Classic-practical) and ip-linuxObtain the NIC ip address in Linux1. There are 6 authentic ip Retrieval Methods sed (3) + awk (2) + egrep (1)Sed (replace) () \ 1 [^ 0-9] Cut head | tailAwk (separator) [:] + addr | BcErgep (-o) ([0-9] {1,
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