Process-related functionspid_t Fork ();header file :unistd.h,sys/types.hrole : Establish a new process (child process) that shares the code snippet with the original process (the parent process) and has a copy of the parent process's other resources
1. Command format:command-option parameters such as: LS-LA/USR ls:Displaying a list of files and directoriesCommon parameters:-L (Long)-A (all)-T (time)2. Classification of commandsInternal command: Part of the shell Parser CD switch directory
Reprint please indicate source: http://www.cnblogs.com/lighten/p/6825938.html1. ReasonDue to the need to upgrade the software in the virtual machine, when performing yum update, the whole update package is above 800MB, but the size of the root
There is nothing to spare. Simply write and implement the simple LS command:| 1 #include | 2 #include | 3 #include | 4 #include | 5| 6 int main (int argc, char **argv) | 7 {| 8 DIR *pdir;| 9 struct Dirent *stdir;| Ten int flag = 0;| 11| if
I. Introduction of LoganalyzerThe Loganalyzer tool provides an easy-to-use, powerful front-end for searching, viewing and analyzing network activity data, including system logs, event logs, and many other log sources. Since it only presents the data
Bin (binaries) holds binary executable fileSbin (Super User binaries) holds binary executable files, only root can accessETC (etcetera) store system configuration files (configure IP, configure environment variables)USR (Unix shared resources) is
Linux system installed, there will be a default hostname, here in the case of the CentOS system, the default hostname is Localhost.localdomain, for ease of use, we often need to modify the hostname, the following is a way to permanently change the
1 About Nginx ModuleNginx uses different modules to achieve different functions, there are mainly 2 groups of important modules:(1) Nginx core modules (required)including Main, Events(2) Standard HTTP modules (although not required, but will be
A B C D E F-rw-r--r--. 1 xiaol_1 gp_1 0 October 6 13:10 test.txtA file permissions,-file, D folder, L ConnectB If 1 means this is a file, if 1 is a folder, number is the number of files in the folder if 1 means that this is a file, if the non-1
1. Communication of affinity process, parent write sub-readthought analysis:1 First we need to create a shared memory.2) The fork function is used to create a parent-child process. After the fork function is created, two processes are executed
1 Basic operations
Folder operations
mkdir finename//Create filename folder
Extract
TAR-XVF File.tar//unzip. tar fileTAR-XZVF file.tar.gz//Unzip tar.gz fileUnzip File.zip2 Server Operations
To connect to a server:
Shutdown commandShutdown?h now to shut down the machine.Shutdown?r Now it's time to start the computer again.-T sec:-T followed by seconds, i.e. "shutdown after a few seconds"-K: not to really shut down, just send a warning message-R: Start again
function Introduction1, one-click Configuration rsync2, does not support multi-module or multi-user3,-a All random4, do not add-a need to manually enter the account password5, the progress bar is only good-looking, does not represent the real
Linux on VMware, patients with obsessive-compulsive disorder is always unable to accept it can not be full-screen problems, of course, there is a solution to the problem, but the search out of the answer is always fragmented, so many beginners
Script is a magical command that can record the session of a terminal and then use Scriptreplay to play the results of its recordings to others. The benefit of script is that all of your actions in the terminal, the commands you've knocked out, and
Bash's configuration fileBash configuration file :Persist User ConfigurationProfile class: Provides configuration for interactively logged-on users/etc/profile Global/etc/profile.d/*.sh Global~/.bash_profile personal Configuration, valid only for
The original address is http://blog.csdn.net/u012538536/article/details/47360929.CentOS6.5 is the original python, my image inside the Python version is 2.6.6. If you want to update a newer version of Python yourself, you can do this:Install the
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