Linux--Summary of system programming knowledge

黄舟
Release: 2023-03-04 22:28:01
Original
1195 people have browsed it

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)!


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!