Linux cainiao records common Linux commands and miscellaneous for your reference.
Some useful shortcut keys
the cursor jumps to the end of the command. jump the cursor to the start of the command clear all content from the front of
OS-based electronic products usually burn kernel to norfash, because it can be read and written by byte, but norflash is more expensive than NAND Flash, in addition, NAND Flash is based on block read/write, for example, one-time read/write of 512
When there are frequently used modules in our program and such modules are also used in other programs, we should generate libraries based on the idea of software reuse, so that later programming can reduce the amount of development code. Here we
A new PDF guide written from scratch it's available on the Main Page
Follow the instructions from the winpe RIS Guide (remember to patch the atftpd server), then you can setup a multi RIS to installWindows XP, 2003, and 2000.
You can skip some of
The remote debugging environment consists of the host machine GDB and the target machine debugging stub. The two are connected through the serial port or TCP. Use the gdb standard serial protocol to work collaboratively to monitor and debug the
In Linux, the thread read/write lock has a write-first read/write lock, which has the following features:
1) Multiple readers can read at the same time
2) The writer must be mutually exclusive (only one writer is allowed to write, nor can the reader
1. In Windows, query the port occupation and clearing the port occupation programs
After permission escalation, use:Netstat-B
Or use
1. query the process ID occupied by the port
Click "start" --> "run", enter "cmd", and click "OK" to enter the DOS
The process Kernel stack of Linux kernel 2.4 and 2.6 is not the same as the task descriptor storage. Here we will summarize it.
In kernel 2.4, the stack is defined as follows:
union task_union { struct task_struct task; unsigned long
1.Naming rules for static and dynamic libraries in Linux:
Static function library: the static library name is generally libxxx. A. The files generated by static library compilation are large because all the data in the static library will be
There are different methods for determining whether a file exists! I usually use two methods: open and access;
The two methods have similarities and differences. The following describes their differences in detail:
Open is a function used to open,
Select is still important in socket programming, but it is not very popular for beginners of socket programming, they are just used to writing blocking programs such as connect, accept, Recv, or recvfrom (the so-called blocking method block, as the
The shared memory zone is the fastest available in the IPC format. Once such a memory zone is mapped to the address space of the process that shares it, the data transfer between these processes will no longer involve the kernel (here, the meaning
Linux Kernel linked list Transplantation
I have modified the two-way linked list and hash linked list of the transplanted Linux kernel by referring to the online article, so that it applies to Linux and Windows platforms. It can be used in user
The path value is a series of directories. When you run a program, Linux searches for these directories and uses the following command to set the path value.
Use the Export command directly
Add the/data/test/Hellow. Sh script to the path so that the
The top command is a common performance analysis tool in Linux. It can display the resource usage of various processes in the system in real time, similar to the Windows Task Manager. The following describes how to use it.
Top-01:06:48 up, 1 user,
Mplayer installation records in Linux
Mplayer installation experience:
1. Download three files from the official website: main program + decoder + skin
Http://www.mplayerhq.hu
Http://www.mplayerhq.hu/design7/dload.html
2. Check whether the following
Install jdk1.6 in Linux
1. Go to the http://java.sun.com/j2se/1.4.2/download.html to download a Linux platform JDK, it is recommended to download RPM self-extract format (rpm in self-extracting file, j2sdk-1_4_2_06-linux-i586-rpm.bin );2. Upload the
Among today's many hacking technologies, sniffer is the most common and important technology. Anyone who has used the sniffer tool on Windows (for example, netxray and Sniffer Pro) may know that in a shared LAN, using the sniffer tool can provide a
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