3.1 Process The procedure in the execution period.A process is a real-time result of the program code being executed. The kernel needs to manage all the details efficiently and transparently.Execution thread (short thread): an object that is active
Loading of executable programsI. Preprocessing, compiling, linking, and formatting of the target file1. How does the executable program come from?Pretreatment:GCC-E-O hello.cpp hello.c-m32* Responsible for inclusion and macro replacement of include
In Linux mainly through user profiles to view and modify user information, so below we will introduce two important user profiles, so that you can better hold your users.One: Parent file/etc/passwd1. View configuration file/etc/passwd specific
cat-n filename //View the contents of the filename file. - n displays the corresponding line number.Yum Install softname //installation software, remember to use root permissions. Service//view services. For example service mysqld start. Start the
1/configuration file configuration is OK, ifconfig can see the IP address normally2/Can ping the host and gateway within the LAN3/Other hosts in LAN can surf the internet normallyProblem: Unable to ping the address of the extranetWorkaround:Check
Installation configuration Tomcat1: Download the latest installation package at http://tomcat.apache.org/download-80.cgi2: Install TomcatUpload the apache-tomcat-8.0.21.tar.gz file to the/usr/local to do the following: (this path is variable)Copy
Execution: $sudo CP/HOME/JXG/BACKUP-2011.01.05/BACKUP2011.01.05.SQUASHFS/HOME/JXG/LIVECD/CASPER/FILESYSTEM.SQUASHFSIn addition, to update the filesystem.manifest and filesystem.manifest-desktop in the/home/jxg/livecd/casper/directory, these two
First, the header fileHow GCC looks for the required header files at compile time:※ The search for header file will start with-I※ then find the environment variables of GCCC_include_path,cplus_include_path, Objc_include_path※ Find the default
In Windows, C has a library conio.h, implemented a lot of functions, but Linux C does not have this library, the internal functions need to implement their own.CLRSRC a realization of the function of clear screen:void Clrscr (void) {System ("clear");
Name: He WeizinStudy No.: 20135223(* Original works reproduced please specify the source *)(Learning course: Linux kernel Analysis MOOC course http://mooc.study.163.com/course/USTC-100002900)What to learn:how the Linux kernel loads and launches an
Delete all files in one directory, but keep a specified file:Find/directory/-type F! Name "file" |xargs rm-fCreate a date folder for the day in the/tmp directory each time:echo "mkdir/tmp/' date +%y%m%d '" >>/etc/rc.d/rc.localtransfer files larger
The virtual machine installs Linux system, focuses on the Linux partition, the rest does not have any essential difference with Windows,1: Virtual machine usage VMware installation not introduced, no brain installation2: After the installation is
There are three special privilege bits (Suid,sgid,sticky) on the Linux file system, in addition to the well-known r,w,x permissions1, SUIDSuid that is setuid, in short, is to let the execution of a file (the file has the S permission) of the user
PS command can only current query the status of the process, the top command can view the status of the process in real-time, and the top command can follow the CPU, memory, execution time and other indicators to sort the process[Email protected]_228
Problem Description: Playing Linux with Putty because of the previous use of window used to write things click Ctrl+s Save, but in the putty a press can no longer input.Later found: Ctrl+s is a command of putty is like this: "Long long ago" some old
Linux Kernel Startup Process Tracking1. Use your Linux environment to build MenuOS# Download the kernel source code to compile the kernelCd ~ /LinuxKernel/Wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.18.6.tar.xzXz-d
Create a new linux ProcessI. background knowledge:
1. Relationship between processes and programs:The process is dynamic, while the program is static. In terms of structure, the entity of each process is composed of two parts: Code disconnection and
. NET cross-platform practice: use C # To develop the Linux daemon,
The Linux Daemon is a background service process in Linux. It is separated from the control terminal and managed by the Linux init process. Even if you close the console, daemon can
Linux grep command and linuxgrep commandIntroduction
Grep is a powerful text search command that can be used to search for a file that contains specified search content. It can use regular expressions to perform complex filtering operations, it can
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