Linux-Summary of system programming knowledge

Source: Internet
Author: User
Linux file type, Linux extension, operating principle of Linuxshell commands, Linux permission management I. common commands and permission commands

1. system structure of Feng yinoiman

②. Environment variables

③ Linux file type, Linux extension, Linux shell command running principle, Linux permission management

4. commands:
A. Installation and logon commands: login, shutdown, halt, reboot, install, mount, umount, chsh, exit, and last;
B. file processing commands: file, mkdir, grep, dd, find, mv, ls, diff, cat, ln;
C. system management commands: df, top, free, quota, at, lp, adduser, groupadd, kill, and crontab;
D. Network Operation Commands: ifconfig, ip, ping, netstat, telnet, ftp, route, rlogin, rcp, finger, mail, and nslookup;
E. system security related commands: passwd, su, umask, chgrp, chmod, chown, chattr, sudo ps, who;
F. other commands: tar, unzip, gunzip, unarj, mtools, man, unendcode, uudecode 2. use of Vim using gcc, g ++, gdb, ctags, makefile, make
III. process concept and programming
1. Process Concept

② Process description: Process Control Block, process identifier, process location,

③ Process status

④ Process priority

⑤ Process execution

6. Process Environment

7. Actual and valid users

Worker, process creation: fork, vfork

Wait, process wait: wait, waitpid

10. Process program replacement: execl, execlp, execle, execv, execvp, execve,

11. process termination: exit _ exit

4. Inter-process communication
① Pipeline
② Named pipe (FIFO)

③ Xsi ipc (message queue, Semaphore, shared memory)

V. multi-thread programming
1. concepts of threads

② Thread control
A. create thread pthread_create ()
B. How do I terminate a thread?
C. thread waiting
③ Thread separation
④ Thread synchronization
A. mutex (mutex)
B. condition variables
C. semaphores
D. producer-consumer

E. Read/write lock

VI. signal
1. concepts of signals

② Signal generation: three methods

③ Signal processing methods:

④ Blocked signal: Delivery, pending,

⑤ SIGCHLD

VII. Terminal, job control and daemon processes
① Process Group, job, session

② Terminal

③ Job control

A. Session and process Group

B. job-related signals

4. daemon

A. create a daemon

The above is a summary of Linux-system programming knowledge. For more information, see PHP Chinese network (www.php1.cn )!

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.