The beginning and end of a string
% X = aabbaarealwwvvww
% Echo "$ {x % W * w }"
Aabbaarealwwvv
% Echo "$ {x % W * w }"
Aabbaareal
% Echo "$ {X # A * }"
Lwwvvww
% Echo "$ {X # A * }"
Bbaarealwwvvww
Where, # indicates the header, because #
1. Open the 00-index first, it give some overview of the kbuild directoryRoot @ Debian:/usr/src/linux-2.6.32.5/documentation/kbuild # vi 00-Index
00-Index-This file: info on the kernel Build ProcessKbuild.txt-Developer information on kbuildKconfig.
Author: gnuhpcSource: http://www.cnblogs.com/gnuhpc/
Linux/Unix is different from Microsoft's platform. The biggest advantage is the real multi-user, multi-task. Therefore, there are also special management ideas in task management.We know that in
In the past two days, ldd3 has been viewed very well and clearly understood. When I started compiling the routine code scull today, it was a great tragedy and I had to go over it for a long time, the main reason is that the kernel version of ubuntu11
# Include # include # include # include /* printk () */ # include /* kmalloc () */ # include /* everything... */ # include /* error codes */ # include /* size_t */ # include /* o_accmode */ # include # includ E /* CLI (), * _ flags */ #
I am very keen on Linux. When I was a freshman, I wanted to learn the Linux kernel, learn Linux driver development, and learn to write the operating system. Now most of my time has passed, dozens of times of learning and dozens of times of giving up
Linux directory architecture/root directory/bin Common commands binary file contents/boot stores files that must be read when the system starts, including/boot/GRUB/menu including the core (kernel. LST grub settings/boot/vmlinuz kernel/boot/initrd
Shell: Bash. It combines the advantages of CSH and KSh, and has the Readline function, you can freely bind your own keyboard.
Editor: vim and Emacs.
Program Development: GCC, make, LD, scheme48, j2sdk, Perl, Python, Tcl/tk...
Thesis, magic lamp
As a multi-user, multi-task operating system, once the files in Linux are deleted, it is difficult to restore. Although the DELETE command only marks the deletion in the file node and does not actually clear the file content, other users and some
Create a Cron service for the current user
1. Type crontab-e to edit the crontab service file.
For example, the file content is as follows:
*/2 *****/bin/sh/home/admin/jiaoben/buy/deletefile. Sh
Save the file and exit
*/2
There are many things worth learning about in Linux. Here we mainly introduce the Linux library files. After collecting and sorting out the Linux library file materials, I will share them with you here, I hope you will have a lot to learn.
Linux
I. Why should I use library files?
We will certainly encounter this situation in actual programming: There are several projects with the same function modules,
The implementation code is also the same, which is what we call repeated code. For
After the USB camera is driven, you only need to write an application for Video Stream collection. Based on the development characteristics of the embedded system, first write the application on the host machine, and then use the cross compiler to
Inux learning bibliography recommendation
Linux Basics
1. Linux and Unix shell programming guide
C language basics
1. Book C primer plus, 5th edition [us] by Stephen Prata
2. The C programming language, 2nd edition [us] by Brian W. kernighan David M.
Compile a C System in Linux, including the lexical and syntax analysis modules. in Linux, use bison and flex.YACC is a generator of grammar analyzer. Bison is the GNU version of YACC. lex and YACC are tools used to construct lexical analyzer and
I have been working on some open-source projects in Linux in the last week. In fact, I have been playing a hard job a long time ago. This time I encountered some problems when compiling the program again, so I will record it here.
1. When the C ++
I recently re-installed my computer. At first I got the latest version of ubuntu12.04, and found that the unity interface was really bad (not used to) and it was too ugly to switch back to the gnome interface, so I thought of the Linux mint release
I recently used the broadcast program in network programming. I found it online and can test it in person.
Client:
1 # include 2 # include 3 # include 4 # include 5 # include 6 # include 7 8 9 int main (void) 10 {11 struct sockaddr_in all; 12
Perhaps most of those who are used to programming in advanced languages will ignore the specific process of function calling. If they want to know this process, they will have to start with assembly, but the assembly language is obscure. Here is 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