linux--System Programming Knowledge Summary

Source: Internet
Author: User
Tags linux shell commands
I. Common directives and permission directives

①, von Neumann architecture

②, Environment variables

③, Linux file types, Linux extensions, how Linux shell commands work, Linux Rights Management

④, Instructions:
A. Installation and login commands: Login, shutdown, halt, reboot, install, mount, Umount, Chsh, exit, last;
B. File processing commands: Files, 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, UUDecode II, use of vim for GCC, g++, GDB, Ctags, makefile, make
III. concept and programming of the process
The concept of ① and process

②, Process Description: Process Control block, process identifier, process location,

③, process status

④, Process priority

⑤, Process Execution

⑥, Process Environment

⑦, real users and active users

⑧, Process creation: fork, vfork

⑨, process wait: Wait, waitpid

10, Process replacement: Execl, EXECLP, Execle, Execv, EXECVP, Execve,

11. Process Termination: Exit _exit

Iv. Inter-process communication
①, piping
②, Named pipes (FIFO)

③, XSI IPC (Message queue, semaphore, shared memory)

Five, multi-threaded programming
The concept of ①, threading

②, line program control system
A. Creating a thread pthread_create ()
B. Three ways to terminate a thread?
C. Thread waits
③, Thread separation
④, thread synchronization
A.mutex (Mutex)
B. Condition variables
C. Signal Volume
D. Producers-consumers

E. Read-write lock

VI. Signal
The concept of ① and signal

②, signal generation: three different ways

③, Signal processing method: three kinds

④, blocking signals: signal recursion, pending,

⑤, SIGCHLD

Vii. Terminal, operation control and daemon process
①, process groups, jobs, sessions

②, terminal

③, Operation control

A.session and process groups

B. Signal related to the operation

④, Guardian process

A. Creating a daemon

The above is linux--system programming knowledge summary content, more relevant content please pay attention to topic.alibabacloud.com (www.php.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.