Using the Mount command to mount the hardware, these mount information is lost after a Linux reboot, so the hardware that corresponds to the disk needs to be automatically mounted to ensure that the system restarts automatically.Automatic mount
Image: Kernel image file, approximately 4M;Zimage: An image compression file of the kernel, less than 2M;After kernel compilation (make), image and Zimage are generated;Uimage:uboot dedicated image file, it is before the zimage with a length of 64
In the Linux operating system, the CPU information is loaded into the Cpuinfo file under the virtual directory/proc in the boot process, and we can view it through Cat/proc/cpuinfo:Is my computer CPU information, below we analyze some of the more
Memory management Model: 1, Address mapping-virtual address to Physical address mapping, 2, physical memory allocation.The address space supported by Linux is determined by the processor hardware, assuming a 32-bit address, then a total of 4GB,
I. Detect network connectivity by sending and receiving email regularly#/bin/"Daily test mail" >-S server_state [email protected] -DF./state.txt~Crontab-eAdd the following tasksTen * * * */root/checknkmail &Time-sharing WeekSecond, timing detection
One. Linux lookup instructions have, Which,whereis,locate,find, where the more important is the find command.A.which: Finding the execution fileB.whereis: Looking for a specific fileC.locateD.findTwo. Format of the Find command: Find [PATH] [option]
First step: Multiple Tomcat installations and JDK installations in Linux (slightly)The second step: Nginx installation, Linux installed Nginx and windows are a little different also error-prone, need to compile, here to do the introductionFirst,
[Linux operations] common scenario simulation-CPU usage simulationFrom http://www.cnblogs.com/zk47/p/4771105.html1 Single Core 100%:
Codekill_cpu.c
#include int main(){ while(1); return 0;}
Run
out kill_cpu.c$ ./out
LinuxUnderFindcommand to search for a file in the directory structure and perform the specified action.LinuxUnderFindCommands provide quite a lot of search criteria and are powerful. BecauseFind (NFS) ,find Commands are equally valid in the file
1. View all processes in the systemPS aux is generally used in Unix, Ps-le is generally used in Linux.2. Field description of the process list3, check the health status of the systemThe top command executes the following results:The three items
We know that there are a lot of files in Linux, and sometimes we may have to look for a long time to find the files we need, before we mention a command called find it is really a very important command.
Basic use of find:Time-related
When a matching file is processed using the-EXEC option of the Find command, the Find command passes all matching files to exec execution. However, some systems have a limit on the length of the command that can be passed to exec so that an overflow
VMware Tools Installation Steps:
Open VMware boot Redhat, click Virtual Machine –> the top menu bar in VMware to install VMware Tool
At this time Redhat will automatically mount a CD-ROM icon, double-click the icon, the CD-ROM inside the
Recently put the CPP code from the development machine to the compiler, encountered a lot of path problems, so the document.First, installation methodWhen installing boost, it's actually quite simple to install as follows:
wget
linux system is not enough to use, what to do? Are we 1510 re-installed linux system? Of course not, we can clone the other linux using the virtual machine cloning function above System, reducing the time it takes to reinstall lnux . Cloning the
Linux find commands (with instances) and mtime ctime atime, mtimeatime
This time, I will explain the three time periods displayed in the three Linux Files, and then demonstrate the functions of the find command.
In linux, each file has many time
Five linux search commands, five linux commandsFive SEARCH Command Learning
Explain the five linux search commands: locate, find, which, whereis, and grep.Locate
Explanation: From the man manual, we can see that the locate search is based on the
Remove the ^ M symbol from the Linux text file
In Linux, it is inevitable to use VIM to open some edited text files in Windows. We will find that there will be a ^ M symbol at the end of each line of the file, because the editor in DOS and the
Check out and submit GitHub projects under MacProject check-out
If your git has no code repository, you can use the git code repository page to create a new repository.
After creating a repository on git, we also need to create a local repository,
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