Since the learning materials used are "Linux device Driver Development (second edition)", most of the text description of the Linux drive learning notes comes from this book, the study notes series used for their own learning and understanding of a
The text of this text connection is: http://blog.csdn.net/freewebsys/article/details/46874839 reprint please must indicate the source!1. Delete files directlyfind /tomcat/logs/-name‘*.log.*‘|-f2. Clear the contents of the filefind /tomcat/logs/-name‘
Concept:① Hard Link: If an inode number corresponds to more than one file name, these files are called hard links. That is, a hard link is the same file that uses multiple aliases. Hard links can be created by the command link or ln.Its
StatisticsTo count the list of users in column 4th of the group file[Email protected]:~$Cat/etc/grouproot:x:0:d aemon:x:1: bin:x:2: sys:x:3: adm:x:4: syslog,asntty:x:5:d isk:x:6:LP: x:7: mail:x:8: news:x:9: uucp:x:Ten:Mans: x: A:p roxy:x: -: kmem:x:
One: What is shared memory shared memory belongs to the IPC (inter-process communication interprocess communication ) mechanism, and the other two are semaphores and Message Queuing, which creates a special address range for process creation, just
Application of Linux SCP command in detail analysisLinux commands are statistically more than 4,000, and Linux SCP commands are used to copy files and directories between Linux, which details the use of SCP commands and parameters.AD:The Linux SCP
1) First look at whether the Linux system is equipped with OPENJDKRpm-qa |grep JavaIf there is, delete itRPM-E--nodeps Jdkname2) Extract the JDK into java_home and configure the environment variablessudo vim/etc/profileAppend the following fields at
One pageThe kernel takes the physical page as the basic unit of memory management; the Memory Management Unit (MMU) transforms the virtual address into a physicalAddresses, which are typically processed in pages. The MMU manages the tables in the
Analysis of Linux system call User state, kernel state and interrupt
Programs with a high level of execution can execute privileged directives
Intel X86 CPU has 4 levels: 0 ~ 3
Linux uses only 0 and 3 (0 for kernel state, 3 for user
13.5 Parent and child processes This section describes how to run a separate program in a child process that is completely different from the parent process, rather than just running the same program. Use the exec call to do the work. One of the
grep AdvancedIntercept: DMESG (List message) |grep ' content '-A followed by a number after a few lines-B followed by a number befor followed by a few linesLooking for the ' the ' line in Regular_express.txtCat Regular_express.txt |grep ' the 'grep '
Ping the remote Linux server under Windows can receive a normal description of the packet is not the cause of the firewall;The host ' 192.168.124.1 ' is unreachable.The host may down,or there is a problem with the networkconnection. Sometimes such
Modify the/etc/profile file in Linux
Normally, the/etc/profile file is read-only and cannot be saved after being opened and modified using vi or gedit. To modify the profile, you must obtain the root permission (use gedit to edit) as follows:
$
CentOS 5.11 NFS service configuration process
Today, we use CentOS release 5.11 (Final) and kernel version 2.6.18-406. el5 to configure the NFS service and use WIN7 as the client. The process is as follows:
1. Check whether portmap and nfs are
Red Hat 6 uses xrdp remote interface login, Red Hat 6 xrdp
Redhat6 install xrdp and log on directly using windows Remote Desktop Connection
The following describes the implementation method:Step 1: Download the source code package and install some
Modify the dconf configuration file in archlinux
The newly installed archlinux has another problem due to misoperations:
Install a gnome-shell extension --- rss-feed. the result may be due to the expansion or other reasons during the operation. in
Linuxifconfig command to configure IP AddressNic naming rules in Linux: eth0 and eth1. The first Ethernet Card and the second card. Lo is the loopback interface, its IP address is fixed to 127.0.0.1, And the mask is 8 bits. It represents your
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