A command that provides help in a Linux system. In layman's terms it is the Manual of command.It's a total of nine chapters.1. User commands2. System call3. C Library Call4. Equipment files and special documents5. Configuration file format6. Games7.
UNIX programming has its own specific style, we should try to follow this design style when we learn UNIX programming, it can help us to avoid some problems.
SimplisticMany of the useful and easy-to-use UNIX system software are simple,
Click Back to learn the path of the Linux command line and shell script12.1-Structured Command If-thenMany programs require some logical process control over the commands in shell scripts. A class of commands will cause the script to skip certain
--add: Adds the specified system service, allows the chkconfig instruction to manage it, and adds relevant data to the system-initiated narrative file--del: Deletes the specified system service, is no longer managed by the chkconfig instruction, and
Click Back to learn the path of the Linux command line and shell script3.4-File Processing command touch CP MV RM1. touch命令
一是用于把已存在文件的时间标签更新为系统当前的时间(默认方式),它们的数据将原封不动地保留下来;
二是用来创建新的空文件。
Touch (options) (parameters)Options
-
Storage functionsNote: Parameters can have more than one parameter, and there must be only one return value.1. System functionsReference Official Document: Https://dev.mysql.com/doc/refman/5.7/en/func-op-summary-ref.html2. Custom Function
Modify Linux terminal command line colors1.ps1To modify the Linux terminal command line color, we need to use the PS1,PS1 is an environment variable for Linux end users to describe the command line prompt settings. In the terminal input command:
System InformationThe processor architecture of the Arch Display machine (1)UNAME-M Display the processor architecture of the machine (2)Uname-r displaying the kernel version in useDMIDECODE-Q Display hardware system
I. OverviewOn a standard Linux system, the daemon KLOGD obtains the kernel information from the record 3 buffer, and then saves them in the system's log file through the syslogd daemon. The KLOGD program can be used to read these messages either
/bin:Binary executable command./ Dev:Device special files./ etc:System administration and configuration files./ETC/RC.D:Start the configuration files and scripts. /Home:The base point of the user's home directory, such as the user's home directory
Announcement: Blog only to urge themselves to study, welcome to the big guy criticize correct! Penetration Testing StandardsPETS http://www.pentest-standard.org1. Early stage of interaction2. Intelligence gathering Stage3. Threat Modeling Phase4.
Monitoring IO Disk Performance命令如下:iostat -x 磁盘使用iotop 磁盘使用
%util look at the health of a hard drive,
Installing Iotop[[email protected] ~]# yum install -y iotop
Iotop command, mainly to see the io> column, see the performance of
Linux is a very automatic file generation system, log, mail, backup and so on. Although now hard disk cheap, we can have a lot of hard disk space for these files wasted, so that the system regularly clean up some unnecessary files there is a
1. Check for Hyper-threadingTo view the number of threads:grep siblings/proc/cpuinfo |uniqTo view the number of physical cores: grep cores/proc/cpuinfo |uniq2. Check the operating system versionCat/etc/redhat-releaseLsb_release-a3. Check the file
/ETC/PASSWD: This file is used to store user details: for exampleRoot:x:0:0:root:/root:/bin/bashUser ID 0: represents the root userBash under Bin: Indicates that you can log in to the operating systemSbin under Nologin: Unable to log into the
The SCSI interface is widely used in the server because of its wide application, multitasking, high bandwidth, low CPU usage, and hot Plug and unplug.Of course, with the support of the virtualization platform, can also simulate the SCSI device, to
18.11 LVS Dr Mode construction
The LVS NAT mode requires fewer public IP addresses and is suitable for up to 10 servers. Then the DR mode is more suitable for large-scale speech.
(1) Prepare three machines
Dispatcher, also known as the
Problem Description:Weekend Run Disk Platform service program, Monday to the operating system, the main process has exited, the restart Process prompt read-only file system, new directory and other Chmod-r, and so on read-only the file system.Cause
-T # Specify the field separator character to use when sorting -n # Sort by numeric size -R # sort in reverse order -F # when sorting, treat lowercase letters as uppercase letters -D # When sorting, handle letters,
Deploying Ganglia to monitor Hadoop and HBase
Some performance problems often occur during Hadoop O & M. However, performance problems cannot be simply analyzed through web pages and logs. Many metrics are required. Ganglia is one of the more
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