How forking works
What is forking
The life cycle of a process
forking programming ideas
Solve zombie problem
Example forking application
How multithreading works
Working ch ...
Posted on Fri, 21 Feb 2020 18:48:16 -0800 by FramezArt
shell scriptTo be precise, Shell is a command-line interpreter that follows certain syntax to interpret and pass commands into the system.It provides an interface system-level program for users to send requests to Linux to run programs. Users can use shell to start, suspend, stop, or even write some programs.Shell itself is a program written i ...
Posted on Fri, 21 Feb 2020 09:20:41 -0800 by jwhite68
1. View shell
/ root directory
/bin Store common commands
/boot Store startup files and startup files
/dev Store hardware device files and driver files
/etc Store system service profile
/home Home directory of ordinary users
/mnt Directory used to mount usage
/var Log directory
Posted on Fri, 21 Feb 2020 01:22:51 -0800 by phrater
It's not enough just to learn the commands of Linux system. Only by combining multiple commands in the way you want, can you improve your work efficiency. Today's content is mainly about how to combine commands to make the input commands more accurate and efficient, and lay a good foundation for the next Shell script.
1, I / O redirection
Posted on Thu, 20 Feb 2020 22:50:59 -0800 by mash
1. Target Scene
Eleven long holidays, I believe most of your friends will be in waves all over the country or on the way, circle of friends will be your place to perform.
Of course, there is also a small poke of friends who choose to squat at home. Do you feel bored?Would you like to go out and take part in a photo contest for your ...
Posted on Thu, 20 Feb 2020 18:58:43 -0800 by zirius
In this blog post, Alice gives you more details about Spark commands.
Previously, we used spark-shell to submit tasks. spark-shell is the interactive Shell program that comes with Spark, which makes it easy for users to program interactively. Users can write spark programs with ...
Posted on Thu, 20 Feb 2020 17:41:05 -0800 by Cut
There are three modules:
Third party module
Built in module
Built in modules:I. sys
Used to provide operations related to Python interpreter:
sys.argv command line parameter List, the first element is the path of the program itself
sys.exit(n) exit the program, exit(0) when exiting norm ...
Posted on Wed, 19 Feb 2020 21:11:48 -0800 by ibechane
for loop in shell
1. The usage and running process of C-style for loop
General form of for loop
2. Example of C language style for loop
1. Calculate the sum of 1 to 100
2. Omit initialization conditions
3. Omitting judgment conditions
4. Omit auto increas ...
Posted on Sat, 15 Feb 2020 19:51:59 -0800 by saunders1989
The stability of the sorting algorithm can not measure the advantages and disadvantages of an algorithm. It mainly describes the properties of the algorithm.
If the sequence is basically ordered, the insertion sort is simple and effective
Direct insert sort
Insert elements in a sequen ...
Posted on Tue, 11 Feb 2020 00:19:52 -0800 by usvpn
Problem Description: in linux environment, sometimes the process exits abnormally. At this time, strace can be used to track the running of the process. If it is an internal error of the process, the strace log can see the abnormal error points of the process. But if it is killed by another person or process, only the killed in ...
Posted on Sun, 09 Feb 2020 10:18:43 -0800 by fr0mat