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
Linux open-source browser
1. Chrome
It is now the fastest browser, and no other browser can rival it in terms of speed. In Linux, there are two chrome versions: chrome and chromium browser. The default Debian environment is chromium browser, which
To use dynamic languages in Embedded Linux, you must first solve the problem of cross-Compilation of the language interpreter or execution engine.Cross-compilation usually involves the following methods:1. Configure cross-compilation directly using
1. Linux dd read/write speed
Time is used for timing. DD is used for copying, reading from if, and writing to. If =/dev/Zero does not produce Io, so it can be used to test the pure write speed. Similarly, of =/dev/null does not generate Io and can
1. Regular Expression
(1) Regular Expressions are generally used to describe the special usage of the text mode. common characters (such as a-z) and special characters (such as metacharacters, such as/, *, and /,*,? .(2) Basic metacharacters and
You can manually configure the kernel according to "Linux device driver development details" today, mainly by adding your own options to the kernel, such as adding a self-added driver. The specific process is as follows:
1. First, add your own
On the Linux application platform, we often need to read data from the SD card, such as upgrading the touch screen firmware, such as loading debugging text, all of which need to be operated by the Linux File System. You can take an example to
Using the select function can handle the problem of multi-socket connections (for the usage of select, see: http://blog.csdn.net/zhandoushi1982/article/details/5070107), the same function can be implemented using poll, and the call method is simpler.
IFUP and ifdown:Linux commands
You can use ifconfig to manually modify Network Interface Parameters in real time, that is, if you start the ifcfg-ethx and other file setting parameters in/etc/sysconfig/network-scripts, You need to implement ifdown
1.Use Svn in Windows
1) install the client: Http://tortoisesvn.net/downloads
2) Create a working directory:
Create a folder (working directory), right-click and select checkout, and enter the URL and user name and password.
You can also
Reference Linux fedora code n graphics and character Switching
By default, FC enables logon to a graphical interface.
1, from the graphical interface to the character interface method: CTRL + ALT + F1-F6
F1 single user
F2 multi-user (NFS not
Linux asynchronous I/O is a new enhancement provided by the Linux kernel. It is a standard feature of the 2.6 kernel, but we can also find it in the patch of the 2.4 kernel.The basic idea behind AIO is to allow a process to initiate many I/O
When a program unexpectedly exits, the kernel will generate a core file (a memory image with debugging information added) in the current working directory ). You can use GDB to view the core file and indicate the file and number of lines of code
The following is what I wrote when I was studying Linux. Later I carefully studied RC. sysinit and found that I only need to modify the following places. It doesn't have to be so troublesome:
RC. sysinit has the following code:
# Load other
Spin lock: it is the most common lock in Linux kernel. A spin lock can only be held by one executable thread at most. If an execution thread tries to obtain a held spin lock, then the thread will keep busy loop, rotate, wait for the lock to be
This article briefly introduces the signal processing mechanism in Linux, which paves the way for introducing the signal processing mechanism in binary translation.This article mainly references "Linux kernel source code Scenario Analysis" and
1. Official Android Development website (Nima's website will occasionally be walled, so it will be slow at that time)Http://developer.android.comOn the official homepage of Android Developers, this is the basis of the basic information, and there
Dynamic library *. so is often encountered in C and C ++ programming in Linux. Recently, I have found several articles on the website to introduce the compilation and link of dynamic libraries, after finally understanding this, I have never been
/** Create a simple chat program using a named Pipeline*/# Include # Include # Include # Include # Include # Include # Include # Include Int main (){Int I, RFD, WFD, Len = 0, fd_in;Char STR [32];Int flag, stdinflag;Fd_set write_fd, read_fd;Struct
Sort is a commonly used command in Linux. It manages sorting and focuses on sort in five minutes. Start now!
1. How sort works
Sort compares each row of a file as a unit. The comparison principle is to compare the lines from the first character to
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