20.20 Alarm System Main scriptmain.sh Content#!/bin/bash#Written by Aming.Whether to send mail switchExport send=1Filter IP AddressExport addr=/sbin/ifconfig |grep -A1 "ens33: "|awk ‘/inet/ {print $2}‘Dir=pwdOnly the last level directory name is
22.2 Parent-Child Process action fileFile operations are made up of two modes:IO System invoke Operation fileStandard C IO Operation fileLook at the code:1#include 2#include string.h>3#include 4#include 5#include 6 7 intG_val = -;//global variables,
The command is followed by a # indicating that it is a super administratorThe command is followed by a $ representation that is an ordinary userTTY to see which terminal is located[[email protected] ~]# cat/etc/shells View the shell installed on the
Hard drives are an indispensable storage device in today's it world, requiring hard drives, whether it's a home PC, workstation or server. With the development of technology, hard disk technology is also increasing, interface diversification
1. To view the process memory usage of the root user, you can use the following command:$ top-u OracleContent Explanation:PID: ID of the processUSER: Process OwnerPR: The priority level of the process, the smaller the higher the priority is
">" output redirect, using format:Commands > DocumentsFunction: Redirects the standard output to a file and overwrites the contents of the file, which is called the callout output, and only outputs the correct command information to the file."&>" is
1. Delete files in SVN repository directly--SVN delete path-m "Delete test Fle"Example: SVN delete svn://10.1.1.227/bank/ld_sys/pubtags/v1.1.1/update/list/ld_sys.list-m "Delete the list file"2. Delete the file locally and submit it to the SVN
1.# represents a privileged user (for example: Root), $ represents a normal userBoot prompt ogin: Enter user namePassword: Enter password user is the system registered user successfully login, can enter the corresponding user environment.Exit
Recently encountered the need to use a key login situation, different connection terminal situation is not the same, so to summarize thisFirst, the key pair generationNote: The local host and destination host need to be ping1) Verify that the server
Sed is a very powerful file processing tool, mainly in the behavior of the processing units, you can replace the data rows, delete, add, select and other specific workFormat: sed [option] [command] [file]Common commands:A: NewC: ReplaceD: DeleteI:
1. Open source version of the installation package download (64-bit download 64-bit, 32-bit check 32-bit)[Email protected]~]# wget http://dl.cnezsoft.com/zentao/9.0.1/ZenTaoPMS.9.0.1.zbox_32.tar.gz2. Unzip the installation package directly into
Document-linux IO mode detailed 1. Concept DescriptionBefore interpreting, there are a few concepts to be explained:-User space and kernel space-Process Switching-Blocking of the process-File descriptor-Cache I/O1.1 User space and kernel spaceNow
Linux Operating System Computing time:Main function: Time localtime gmtime asctime ctime mktimeDifftime strftime Gmstrftime1.time () functionPrototype: time_t time (time_t * timer)Function: Returns a time_t type of data representing the number of
Uname–a # Linux System Information command to view kernel/Os/cpu informationhead-n 1/etc/issue # View OS version, is the number 1 not the letter LCat/proc/cpuinfo # Linux System Information command to view CPU informationhostname # View Linux System
Introduction to DNS Master-slave server:Primary DNS server:To maintain the server that resolves the analytic library in the domain that is responsible for parsing;From a DNS server:"Replicate" (zone transfer) a copy of the parse library from the
Windows and Linux systems have always been incompatible, and the new IN10 system is perfectly compatible with Linux, which has to be said to be a developer's fairy tone. Of course, this Linux system is not installed by default, users need to install
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