Tracks: TrackSector: Sector 512 bytesHead: HeadCylinder: CylinderIdentify the hard disk and partition Plan = + format and mount usingMbr/msdos partition mode–1~4 primary partition, or 0~3 primary partition + one extended partition (nLogical
Yum PS top pidof kill killall TR Cut command using the 1 Yum commandyum repolist all list all warehouses. Yum List all lists all packages in the repository Yum Info package name View package Information Yum Install package name
One, add File system spaceSimple partitioning and file system1. Recognize1> storage is a basic requirement for every computer system. Red Hat Enterpriselinux provides powerful tools to manage multiple types of storage devices in a large number of
---restore content starts---Iptables-f Clear All RulesIptables-l Show All RulesIptables–p setting default RulesIptables-a input-j drop inputs and input data are not promptedIptables-a input-j REJECT inputs and input data are dropped to prompt for
1. Use the Find command to find a file that occupies a larger spaceFind/-type f-size +5g-finds files larger than 5G and can be used with work permissionsFind. -type f-size +10000k--linux to find files larger than 10MFind-type f-size +500k-and-size-10
Linux. So is based on a dynamic link under Linux, which functions and acts like a. dll file under Windows.Typically, the link to the library is done at compile time (compile). All related object files (objects file) are linked to an executable
1. View the threads of the process:Ps-elf|egrep ' gateserver| UID '2. Trace Thread Invocation:Strace-p 155303. Call the function in the statistics thread small CPU time:Strace-p 16334-c strace-p 15530-o out.file #输出到out. File files4. Only the
1, ext File system family: Linux 6.x and its previous major file system types, with the increasing prevalence of terabytes of large hard drives, has been quickly exited the Linux stage. In the absence of special requirements of the operating
1.Linux file system is a typical tree structure with only one root nodeSuch as:2. All files in LinuxLinux pairs of data Files (. mp3,. bmp), Program Files (. c,. h, *.O), device files (LCD, touch screen, mouse), network files (sockets) and other
Use the top command to view memory and buffer usageWhen the disk frequently generates IO, it causes Buff/cache to consume very high memory, resulting in little available physical memoryHowever, when memory is really needed, the buffer memory is
/procIt is a pseudo file system, it is in memory, not on the hard disk, it can be used to view the current kernel and all running processes of the running state , you can also modify some files to change some of the operating parameters.For example,
To install some software python mysql jdk, you need to add environment variables, a path is added to the environment variable, you can directly enter the XX command in the Linux console.Otherwise, do not add environment variables, using XX will be
Network Fundamentals 1.3Data Link Layer parsing:Data Link Layer:is located between the physical layer and the network layer;Features of the data link layer:--Establishment, maintenance, demolition of data link--frame wrapping, frame transfer, frame
In Linux or Unix operating systems, the daemon (Daemon) is a special process that runs in the background, independent of the control terminal and periodically performs some sort of task or waits for certain occurrences to be handled. Because in
General format of the command lineLs-list– Format: ls [options] ... [Directory or file name]Common Command Options–-l: Display in long format–-a: Includes the name with the. Hidden document at the beginning–-d: Displays the properties of the
Vim Editor:Command mode input mode last line modeI key into input modeESC key into Command mode: Last line mode input Wq save exit q! Do not save the rolloutTo permanently define aliases:All the aliases in Vim/root/.bashrc//linux are stored in this
Client Code:If the bottom three lines of the comment socket is sent, you can modify the password directly on the local computer without sending the data to the server.# -*- coding: utf-8 -*-#author:guoyabinimport randomimport stringimport
Common Linux commands,
Delete a file: rm-rf demo
-R is recursive down. No matter how many levels of directories are there, delete them together.
-F means to delete the file directly without any prompts.
===========================================
Use ssh to change the default port number and implement password-free remote login.
Recently, I have reviewed the basic usage of the firewall management tool iptables, which involves adding or deleting firewall policies on ports. I am not familiar
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