The PWM driver was written last week.
ProgramWhen timer is initialized, the console cannot accept keyboard input, and the execution of the program itself is not affected, but it just stops at the end, pressing CTRL + C does not respond. after
1. In shell, you can run the Env or set command to view the environment variable information of the current system.
2. Get the environment variable value:
Extern char * getenv (_ const char * _ name)
If the execution is successful, this
Common commands for Linux compression include zip, unzip, and tar.
But there are also some restrictions, such:
1. 2 GB file size limit
2. Chinese garbled characters
Fortunately, 7zip can solve this problem well.
I. Installation
Ubuntu 12:
Because I really appreciate the open spirit of Linux and Microsoft's closed monopoly, I will choose Linux as my development platform. Linux is a very good learning platform. She demonstrated this advantage from the very beginning, and is even more
Recently, I am working on a project in arm-linux. I need to record some local data, logs, and other things. I was prepared to use a text file to record all the work and suddenly saw RSS, So I remembered XML. I have never used XML, so I plan to use
1 Kernel(1) kernel Elasticity The Linux kernel is highly configurable and independent, mainly for completing: Io driver device management, TCP/IP, and task scheduling. The standard Linux kernel version is released from 40 ~ 50 MB, while I now only
In general,
Block devices: are devices that store or hold data
Character devices: can be thought of as devices that transmit or transfer data.
For example, diskette drives, hard drives and CD-ROM drives are all Block devices while serial ports, mice
To comply with the FSSTND the following directories, or symbolic links to directories, are required in /. /bin Essential command binaries/boot Static files of the boot loader /dev Device files /etc Host-specific system
I have been in the Hall of Linux for more than a year. Here I want to analyze the various implementation mechanisms of Linux. On the one hand, it is also a warm story for myself, and on the other hand, it will promote communication between everyone,
[From making a logo to LCD display or VGA display logo]1. How to Create a logo:First, select a local image. Then, use the gimpsoftware to save the image as. PNG,The conversion method is not mentioned.Then pass the image to a Linux PC, such as ubuntu.
In Linux, if you want to run the process in the background, we usually add & to the end of the command. In fact, the command is put into a Job Queue:
[Root @ localhost/] #./test. Sh &
[1] 17208
Then we can use the following command to view the
The solution for online music in Linux has never been available. Most of the songs in last. FM are foreign, so I made a plug-in for playing Google music. You can find and add a song to the rhythmbox player. Matching the lyrics display plug-in
1. We mentioned the concept of process mutex when talking about inter-process communication. Below we will write a program to simulate the process, for example:
That is, the parent process prints the character o, the child process prints the
I. Virtual Memory
First, let's look at a figure (from the Linux kernel full analysis), as shown below:
Segmentation: it is divided into code segments, data segments, and stack segments. Each memory segment is associated with a privileged level,
Conversion Tool from: http://www.ixdba.net/article/b2/515.htmltarlinux. Is to archive the file or directory into a file, but it is not compressed. Syntax format: Tar [primary option + secondary option] file or directory list master option-C create a
[Top1] http://crunchbanglinux.org/forums/forum/8/tips-tricks-scripts/http://bbs.archlinux.org/http://www.linuxforums.org/http://www.linuxsir.org/bbs/index.php (domestic) [top2] Mark Shuttleworth: http://www.markshuttleworth.com/Ubuntu founder of the
Configure an independent SVN server in the lnmp environment under centos5.5
SVN Server is a version Releaser in project development. It is used for software programming. I configure the environment for people. The first time I came into contact with
After sorting out the commands that have been used, I am also a beginner, so I hope there are not so many complicated commands, so we will soon learn shell, which will certainly be helpful to beginners!
Ls-A/-L to view all files, including hidden .
When QT is installed using the compilation method, the default Compilation Method in the configuration is dynamic compilation, but sometimes the program you write is to be released, it is very cumbersome to bring a lot of dynamic library files, in
"In Linux, everything is a file." ---
Three major file descriptors:0: Standard Input1: Standard output2: Standard Error
Basic File Operations
Write:Function declaration: ssize_t write (INT Fildes, const void * Buf, size_t nbytes );Function: Write
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