1. CPULscpuCat // can know each CPU information, such as the model of each CPU, frequency, etc.2. Memory free-Mcat /proc/meminfo // View memory for detailed useDMIDECODE-T memory // View hardware information3. HDDLsblkFdisk-l // View details of
Younger brother's first Linux blog, I hope you pass the heroes can leave valuable advice, if you can point out where the younger brother is not even wrong to write it better!!! The younger brother will immediately correct and deep record! Thank you
1. Display the line beginning with at least one blank character in/boot/grub/grub.conf;[[email protected] ~]# grep ' ^[[:space:]]\+ '/boot/grub/grub.conf root (hd0,0) kernel/vmlinuz-2.6.18-128.e L5 ro root=label=/rhgb quiet
Vim processes data in a memory bufferIf you do not specify a file name when you start Vim, or if the file does not exist, VIM will open a new buffer to edit.H move one character to the leftJ Move down one lineK Move up one lineL Move one character
Start the first step --load the BIOSWhen you turn on the computer, the computer loads the BIOS information first, and the BIOS information is so important that the computer must find it at the very beginning. This is because the BIOS contains
The system structure of 1.linux is inverted tree type2./bin binary executable file is System command/sbin System Management Command storage location/boot boot partition, responsible for system boot/dev Device Management files/etc most system
Objective:For Windows, the system management of files is very simple (this should have a cover face), is usually renamed, copy, move, delete, view file properties, view the contents of the file, look for files. In fact, in the graphical line of
Piping (pipe)
Operation Principle of pipelinePiping is the most basic IPC mechanism, created by the pipe function:#include int pipe (int filedes[2]);Call the pipe function in the kernel to open a buffer for communication, it has a read end and a
System environment Ubuntu 14.04 Server AMD64Just learning Linux, encountered a lot of problems, summarized below.In the Linux system that has just been installed, there are many programs that are not installed. such as Vim tree and so on.1. When
1. mount the CD and install the main program and camouflage package650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/84/0C/wKioL1eEd7HzVgJVAAEAQN9LdEI535.png-wh_500x0-wm_3 -wmp_4-s_1355750111.png "title=" 1.png "alt=" Wkiol1eed7hzvgjvaaeaqn9
Today, there is a network attack simulation needs, to hit the IP packet, the program is written, in the development machine verification is not a problem, and then deployed to the sandbox environment, is not sent out the packet, and non-fragmented
1. Producer--Consumer modelThe function to use:Sem_init () initializationSem_destroy () DestructionSem_wait () Application, consumption resources (hang up when the application is not reached)Sem_post () Production resourcesSingle producer-Single
Threading ConceptsA thread, sometimes called a lightweight process (lightweight PROCESS,LWP), is the smallest unit of program execution flow.A thread is a single sequential control flow in a program. A relatively independent, scheduled execution
Resources shared by each thread:1, File descriptor table.2, the processing of each signal (sig_ign, SIG_DFL or custom signal processing function)3, the current working directory.4. User ID and group ID.Separate resources for each thread:1, thread ID.
Objective:Before has been installed system with the Chinese, installed a English to play, the result of writing python when the tragedy, can not input Chinese, can not display, so think can be changed to Chinese, the following is the steps[Email
Linux ring buff simulates multi-thread semaphore operations, linuxbuff
The mutex variable value is not 0, that is, 1. It can only be used to represent critical resources in two states. Semaphores are similar to the one used to represent available
Common linux commands
1. Create a folder: mkdir test
2. Create a file: touch file
3. Delete the current folder, that is, delete the current directory: rm-r test/
4. Delete all folders and files in the current folder, but do not delete the
Core dump and linuxcoredump in Linux Basic concepts of core dumpWhen a process is terminated abnormally, you can save all the user space data of the process to the disk. The file name is usually core, which is called Core Dump.Normally, the core
20 IPTables firewall rules usage!
Guide
Managing network traffic is one of the most difficult tasks that must be handled by the system administrator. We must specify that users connected to the system meet the incoming and outgoing firewall
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