Wget network download, supporting HTTP/https/FTP protocol
Wget [Option] [url]
By default, downloads are stored in the current folder. Of course, you can set your own location.
-O is to put the download in the specified folder.
-PCreate a
MBR, 512 bytes = 446 + 64 + 2 (446 bytes -- bootProgram64 bytes -- Partition Table 2 bytes -- aa55)MBR (Master Boot Record), which is a Chinese guide record.The first sector of the hard disk's 0 track is called MBR, Which is 512 bytes in size, and
1 Linux security is non-toxic
2. There are few Linux games, especially those that do not have live football. This prevents you from directly clicking the live football icon when you start your system like windows.
3 programming tools such as GCC,
1. Enable the video device
It is very easy to open a video device. In v4l2, a video device is considered as a file. Use the OPEN function to open the device:
1. Enable the camera device in non-blocking modeInt camerafd;Camerafd = open
After several days of hard work, we have finally installed subversion + Apache on Linux and successfully accessed the version library through the HTTP and SVN protocols. Here we will share with you.
Installation environment:OS: RedHat
InLinuxMediumGrepThe command is very useful.,It and MPs queue(|)Combined Use,Very powerful,Used to search for text files.If you want to find a string in several text files, you can use'Grep'Command.'Grep'Search for the specified string in the
For example, you want to view the start time (stime) and how long (etime) of some Python processes have been run)
[Dwapp @ ldrac:/home/dwapp/admin/alisql/task/rtdc] PS-eo pid, tty, user, comm, stime, etime | grep Python14433? Dwapp Python 09:26:4
Search for Memory leakage in Linux
The principle is to provide your own malloc and free versions. Use Dynamic Links instead of glib's malloc and free.
Detailed Principle
Http://www-128.ibm.com/developerworks/linux/library/l-memory/
Google
From: http://coolshell.cn/articles/4722.html
A programmer named Fabrice bellard wrote a piece of JavaScript to start Linux in a web browser.
, I put this webpage IFRAME below), currently, you can only use Firefox 4 and chrome 11 to run this Linux.
/* This section of code should be written in the process, or an exception may occur when you close it */
Int initprocess (const char * workdir){
Int I;Pid_t PID;
If (pid = fork () Return (-1 );Else if (PID)_ Exit (0);/* parent terminates */
/* Child
This article is based on multiple posts on the Internet, but it is not original. The only thing that is gratifying is the implementation on the local machine. Because it failed several times after all. It is also quite difficult for me to learn many
VI usage VI editor is a standard editor for all UNIX and Linux systems. It is not inferior to any latest text editor, here is just a brief introduction to its usage and a small part of commands. The VI editor is identical for any version of UNIX and
The make writing rule consists of two parts: one is dependency and the other is the method of generating the process target. In makefile, the order of rules is very important. Because only one final goal should be included in the makefile, and other
Linux under virtual machines is in English version. In the past, to get familiar with Linux faster, the English version was installed.
However, some recent labs on the arm development board all need to support Chinese characters. The English
Translator: Guo shaobei2009/12/09
Linux-2.6/documentation/driver-model/platform.txt
Platform devices and drivers~~~~~~~~~~~~~~View the driver model interface for the platform bus in : Platform DeviceAnd platform-driven. This pseudo bus is used to
1. Run the following command to view the kernel version:
1) [root @ q1test01 ~] # Cat/proc/versionLinux version 2.6.9-22. elsmp (bhcompile@crowe.devel.redhat.com) (GCC version 3.4.4 20050721 (Red Hat
3.4.4-2) #1 SMP mon Sep 19 18:00:54 EDT 2005
2)
1. Double quotation marks: Echo *: output directory list, Echo "*": Output *.
Echo * | SED's // \ n/G': vertical line output (replace spaces with carriage return ).
Double quotation marks can be used to reference any character or string except the
Chapter 6: User Programming: terminal control and Signal
6.1
1. Software Tools: Programs that do not distinguish disk files from Device Files
2. User Program:Specific DevicePrograms
-------- These programs set the Terminal Driver's shortcut keys and
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