Home >Backend Development >PHP Tutorial >Linux--Summary of system programming knowledge
1. Common instructions and permission instructions
①, Von Neumann architecture
②, environment variables
③, Linux file types, Linux extensions Name, principle of running Linux shell instructions, Linux permission management
④, instructions:
a. Installation and login commands: login, shutdown, halt, reboot, install, mount, umount, chsh, exit, last;
b. File processing commands: file, mkdir, grep, dd, find, mv, ls, diff, cat, ln;
c. System management related commands: df, top, free, quota, at , lp, adduser, groupadd, kill, crontab;
d. Network operation commands: ifconfig, ip, ping, netstat, telnet, ftp, route, rlogin, rcp, finger, mail, 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, uudecode2, Vim Use gcc, g++, gdb, ctags, makefile, make
3. The concept and programming of process
①, the concept of process
②, process description: process control block, process label Character, process location,
③, process status
④, process priority
⑤, process execution
⑥, process environment
⑦, Actual users and effective users
⑧, Process creation: fork, vfork
⑨, Process waiting: wait, waitpid
10, Process program replacement: execl , execlp, execle, execv, execvp, execve,
11. Process termination: exit _exit
4. Inter-process communication
①, Pipe
②, Named pipe (FIFO )
③.
a. Create a thread pthread_create()
b. Three ways to terminate a thread?
c. Thread waiting
③, thread separation
④, thread synchronization
a.mutex (mutex)
b. Condition variable
c. Semaphore
d .Producer-Consumer
e. Read-write lock
6. Signal
①. The concept of signal
②. Signal generation: three ways
③. Signal processing methods: three
④. Blocking signals: signal delivery, pending,
⑤, SIGCHLD
7. Terminal, job control and daemon
①, process group, job, session
②, terminal
③, job control
a.Session and process group
b. Job-related signals
④, Daemon process
a. Create daemon process
The above is Linux-system programming knowledge Summary content, for more related content, please pay attention to the PHP Chinese website (www.php.cn)!