20135108 Li Zeyuan
Reading comprehension task_struct data structure http://codelab.shiyanlou.com/xref/linux-3.18.6/include/linux/sched.h#1235;
Analyze the kernel processing process of the fork function Sys_clone, understand how to create a new
Original works reproduced please specify the source + "Linux kernel analysis"MOOC course http://mooc.study.163.com/course/USTC-1000029000In Linux,task_struct is actually the PCB that is commonly referred to. The structure definition is located
Section - Chapter CommissioningDifficult to debug is a significant feature of kernel-level development that differs from user-level development, and kernel debugging is much harder than user-level development. More frightening, it poses a higher
ping command:Syntax format:ping [options] ip/domain nameOptions-C #: Specify Ping several times-W #: Specifies the total number of times to wait for a ping-W #: Specifies the time per pingTraceroute ip/Domain NameThe Traceroute command lets you
1. The way to set the system environment variables in Windows first, in/etc/profileExport path= $PATH:....Note the spacer is: and then reuse the original path is the way of $path2. The user level is to modify the ~/.bash_profile and so on, note that
Linux mknod Command parsingHttp://www.cnblogs.com/cobbliu/archive/2011/07/05/2389014.htmlThe primary and secondary device numbers can be found in the./documenttation/devices.txt of the kernel source code. Of course, the location of the node does not
The mkdir command in a Linux system is used to create a directory of the specified name. Full name is Mkdir-make directoriesCommand format:mkdir [OPTION] ... DIRECTORY ...Parameters:-M,--mode=mode set file mode (as in chmod), not
Li Chenxi Original works reproduced please specify the source "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000I. Description of the processThe three main management functions of the operating system:
The grep command is all called Global search Regular expression (RE) and print out of the line, which is a comprehensive search for regular expressions and prints the lines. It can use regular expressions to search for text and print out matching
Useradd-g-u-c-s-d-g-m-D Change default propertiesUserdel-rUsermodGroupaddGroupdelpasswd--stdinChage Modifying the-l-e of password expiration propertiesSu-C returns after executionsudo normal user can have root privilegesVisudoNewgrpIdW who last
Author: Zangjie RivieraOriginal works reproduced please specify the source + "Linux kernel analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000Fork belongs to the system call, and this system call creates a child process, because
Chapter III Process Management3.1 ProcessProcess: A program in the execution periodA thread is an object in a process activity; the kernel dispatches a thread rather than a process, and in a Linux system, it does not differentiate between threads
If the task is to remove all of the. log suffix file names from the folder under 2014.Method one) scriptThis method through LS to the current folder all the files are traversed, and then get the file name, for the MV operation. For example, the
You may have heard or encountered something like this: A system administrator rookie accidentally entered "Chmod-r 777/" resulting in a huge tragedy, causing the entire system to be seriously damaged. In daily management, we have many tools that can
Cat:concatenate is a command to view the contents of a file under LinuxText File Viewing tool:Cat/etc/fstabcat/etc/passwdCat [OPTION] ... [FILE] ...-N: Uniform numbering of displayed lines of text-E: Display line terminator $Cat: Reverse DisplayText
How to Use Vim
Vim, the editor highly praised by most programmers, is derived from its free, flexible, and comfortable input mode. But it is a nightmare for new users (too many commands are required ), I have been using vim for some time. I will
Install and configure the Java environment in Ubuntu 16.04 LTS
We know that openjdk may be installed in Ubuntu in advance. But I am used to Oracle jdk.
##
### Terminal command: sudo apt-get purge openjdk/openjdk *; sudo apt-get clean/autoclean;
We
Install and use cmatrix in Linux
Cmatrix installation in Linux
Wget http://www.asty.org/cmatrix/dist/cmatrix-1.2a.tar.gzTar xvf cmatrix-1.2a.tar.gzCd cmatrix-1.2aYum install ncurses-devel./Configure & make install
Cmatrix instructions
Cmatrix
Use Eclipse integrated development environment to develop ARM Linux programs
I believe that many users who want to get started with Linux have a headache in the Linux development environment. They used to compile commands, such as compiling main. c
Ubuntu15.04 systemd add boot start
After upgrading from Ubuntu 14.04 to Ubuntu 15.04, rc. local is invalid because Ubuntu 15.04 uses systemd to manage startup, so I set my shadowsocks to start up.
1. Add the Startup File under/lib/systemd/system /.
$
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