Special privileges: SUID SGID STICKYSecurity context for Linux:1. The process runs as a user, and the process is the agent that initiates the user, so all operations are performed as this user's identity and permissions.2. Permissions matching model:
Troubleshooting Performance Issues:Linux system has a performance problem, generally we can use top, iostat, free, vmstat and other commands to view the initial positioning problems.Memory resource consumption: Free commandIO occupancy:Iostat-d-K 1 #
Commands are divided into internal commands and external commandsPriority: alias-internal command-hash-external commandThe common basic commands are:SU: Switching usersWho: Check all current accountsWHOAMI: Check your accountWhereis: Find the
First do a backup, script statements in the test environment test again.Delete file by inode number of fileFirst use Ls-i to find the inode number to delete the fileLs-i |grep Xxxxxx|awk ' {print $} ' |xargs-i rm-f {}XXXXXX is the inode number of
System configuration and view information related commands# uname-a # View kernel/Os/cpu information# head-n 1/etc/issue # view OS version# cat/proc/cpuinfo # View CPU Information# hostname # View computer name# LSPCI-TV # list all PCI devices#
As an operations engineer, system administrator, your greatest power is to assign power to others, and you can always control them, today to introduce you about the management of the user this aspect of the all the way.
The eighth day
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
involves file management; standard I/O and pipelines; inodeLN creates a link-D hard links are equivalent to file aliases; Multiple names point to the same chunk addressCreates a new file name in the selected location that shows the same size as the
1, the difference between soft links and hard linksHard links have the following characteristics1) The file has the same inode and data block;2) Only the existing files can be created;3) cannot cross file system for hard link creation;4) The
The FDISK command partitioning process:1. Add a new hard drive2. View the new drive:Fdisk-l3. Use the FDISK command partition:Fdisk hard drive device file name (e.g. Fdisk/dev/sdb)Fdisk Interactive instruction Description:4. Re-read the partition
1OverviewThis document summarizes the security configuration of the distribution store1.1Introduction with Aliyun Cloud Shield service, anti- ddos/cc attack tool,Linux comes with IPtables650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/85/2
lsmod (list modules)Syntax: lsmodGong can:L Smod command: is a small program to display the file, proc/modules information, that is, the current kernel module loading module. Additional notes:Executes the lsmod instruction, which lists all modules
Introduction: Linux Philosophy① All Documents② Small single-purpose files③ connecting programs to complete complex programs together④ avoid confusing user interfaces⑤ configuration data is stored in textCentOS File Installation:Http://mirrors.aliyun.
The concept of terminal in Linux:In the process of using the Linux operating system, we can use the terminal (terminal) to enter the command and receive information, if the user wants to interact with the computer, it will be used to the terminal,
Getting Started with Linux-the first week of learning notesFirst, installation system attention to problems1. Disk Partitioning:For example, allocate 200G memory size to the system:(1) to/boot 200M size, because/boot only store kernel-related boot
Execute this command:echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all can disable pingOne, if there is no iptables prohibit pingecho 1 >/proc/sys/net/ipv4/icmp_echo_igore_all #开启echo 0 >/proc/sys/net/ipv4/icmp_echo_igore_all #关闭Second, the use of
Piping is the most basic IPC mechanism, created by the pipe function:#include int pipe (int filedes[2]);Calling the pipe function is the opening of a buffer (called a pipe) in the kernel area. Filedes[0] points to the read end of the pipe, filedes[1]
The development Environment (software development environment) refers to the set of software that is used to support the engineering development and maintenance of system software and application software, which is referred to as SDE, on the basis
IP address configuration:Only the IP and subnet masks can be configured with the Ifconfig command, so only the intranet can be accessed, and gateways and DNS must also be required if access to the public network is needed.To configure IP using the
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