Description:
Linux operating system to learn its foundation is familiar with the use of various basic operation commands, although many commands, but for beginners, the master of the common commands are few. For example: File operation commands
I.IDR mechanismI.IDR IntroductionMany of the system's resources are identified with an integer ID, such as process ID, file descriptor ID, IPC ID, and so on; Resource information is usually stored in the corresponding data structure (for example,
common methods for copy files between Linux and Windows
reference URL: https://www.cnblogs.com/black-mamba/p/5918646.html
The first is FTP, which is one of the Linux installation FTP Server, another use of FTP client program for file copy.
From:http://www.kerneltravel.net/jiaoliu/kern-rbtree.html
red and black trees in Linux kernel
Author: Western Mail Wang Cong
The red-black tree is a kind of balanced binary tree, it has a very good nature, the nodes in the tree are orderly,
In an integrated development environment, because of the high cost of hardware, several developers are often required to share a single hardware device.
A typical application is: two or three people share a device, Linux Server, and then use
Recently, using Tomcat to develop a project, you cannot use the IDE's own MAVEN or Web server environment for special reasons, so each modification requires a copy file to the production environment, but after too many project files, copy will be
Linux NC commands use the detailed function Description: Powerful network tool Syntax: NC [-hlnruz][-g][-g][-i][-o][-p ][-s][-v ...] [-w set Router Hop communication gateway, the most lost can be set 8. -g sets the source routing pointer, whose
Learn notes and personal understanding, if there are errors, please correct me.
Warm tip: It is recommended to follow the numbering sequence in the comments to read the code
Test method: Cat/proc/abc_proc
echo arbitrary string >/proc/abc_pro
Putty is a very small SSH client, but Linux, the LS directory's default color output is dark blue, in the putty looks very difficult, so I have a little bit of information to modify, so that the directory color open up a little more comfortable. As
Keyword-based search
grep keyword file parameters:
-I ignores case
-N Displays the results in rows
-V output lines with no keywords
-an the specified number of rows after the line is output at the same time
-BN the specified number of rows before
Memory allocations in the kernel are usually done through kmalloc/kfree, but there are other ways to get memory, all of which together provide an interface for allocating and freeing memory in the kernel. First,
Tar
[Root@linux ~]# tar [-cxtzjvfppn] files and directories ....
Simple to say:
Compress
TAR-CVF Jpg.tar *.jpg//pack all JPG files in the directory into tar.jpg
tar-czf jpg.tar.gz *.jpg // After packaging all the JPG files in the directory
1. Overview
The only way that a user-space program accesses the kernel during a system call, GLIBC (C library) provides a set of encapsulation routines that, in addition to the library functions required by the standard C specification, are
Reproduced from: https://www.cnblogs.com/jtestroad/p/8031850.html
Important things to say three times, strongly recommend the use of the second method! second!;
Ways to open ports:
Method One: Command line mode1. Open port command:/sbin/iptables-i
http://blog.csdn.net/yusiguyuan/article/details/45155035
http://javathinker.iteye.com/blog/1733058 Preface
In the development of the lower level, you need to understand how the program is stored.
"Memory is always occupied by the process", which can
Linux kernel Configuration and compilation (X86 platform)
Original link: http://www.linuxidc.com/Linux/2013-07/87360.htm
Objective:(1): Configure and compile the Linux-2.6.29 kernel under the X86 platform(2): Install the compiled kernel under VMware
Second Extended FS Support
EXT2 file system is a standard Linux file system, good at processing sparse files
EXT2 Extended Attributes
EXT2 file System extended attributes (Name:value pairs associated with the Inode) support
EXT2 POSIX Access Control
It's the same as the code first.Demo.c#include #include#include#include#includeintDemo_major = -;intDemo_minor =0;intDemo_count =1;structCdev Cdev;intDemo_open (structInode *INODEP,structFile * Filep)//turn on the device{PRINTK ("%s,%d\n", __func__,
Linux swap behavior: Carriage return and line wrapping one represents (\ n) Windows swap behavior: Carriage return line breaks into two representations (\ r \ n) 1th method: Need to install dos2unixwindows Linux:dos2unixlinux turn
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