CompileGcc-g Xxx.c-o XxxgdbGDB XxxgdbGo to gdb Debug InterfaceView CodeList ==> LSetting breakpoints can take a function as a breakpoint / number of rowsBreak Function/linesviewing breakpointsInfo BreakpointsExecute codeRun ==> can also enter R
File Special permissions:SUID: When running a program, the owner of the corresponding process is the owner of the program file itself, not the initiator.chmod u+s File: If file itself has execute permission, the suid is displayed as s; otherwise it
To create a directory:Command format: mkdir [-MPV] Directory-m Specifies the permissions to create the directory//mkdir-m 666 test1-P If the parent directory does not exist, create//Mkdir-p/TEST/1/2/3-V Displays the process information for creating
1, look at the CPU model, here in order to facilitate viewing the combination of pipe characters with grep to match, of course, only the previous command can be, the command is as follows:Cat grep " model name " As a result, the CPU model and the
The watchdog of recent projects has undergone three version numbers.First version number:With PS-EF, if the program hangs, it starts.Second version number:The program will not listen to the 7901port when it executes, so it is not easy to infer
First, the contents of the experiment1) Experimental section (the following command is available for lab building 64-bit Linux virtual machine environment, 32-bit Linux environment may be slightly different)Use
Gcc–s–o main.s Main.c-m32
A buffer is something that have yet to being "written" to disk.A cache is something that have been "read" from the disk and stored for later use.Caching (cache) is to save the read data, re-read if hit (find the required data) do not read the hard
Linux system startup Process analysis: Press Power--BIOS self-test--system boot (lilo/grub)--Start the kernel--Initialize the system--User Login1. BIOS Self-test:The BIOS (Basic input/output system), also known as the basic input and output system,
1. Command format:ifconfig [Network Devices] [parameters]2. Command function:The Ifconfig command is used to view and configure network devices. This command can be used to configure the network appropriately when the network environment changes.3.
Conceptual aspectsThe file is an abstract representation of the I/O device, the virtual memory is an abstract representation of main memory and disk I/O devices, and the process is an abstract representation of the processor, main memory, and I/O
1. Installing yum-y Install Samba2. View the installation path #whereis Samba3. Configure the Global[Global]Workgroup = LinuxsirNetBIOS name = LinuxSir05Server string = Linux Samba Server testserverSecurity = Shar4. Configure the shared
Which, which means, is to search for the location of the command and the command alias from the path specified by the PATH environment variable.which command features:1"which" 命令只能查找系统命令,不能搜索普通文件。2"which" 命令是从PATH环境变量指定的路径中,搜索某个系统命令的位置,
1. Mount the ISO file of the installation package to the operating system2. Virtual machine--Set--cd/rom--iso image3, mount/mnt/cdrom/Cd/mnt/cdromNote: There is a problem that cannot be mounted (System CENTOS6.7,JDK8 and is a downloaded tar.gz
Linux configuration Deployment Tomcat7. As a high-performance Web container, Tomcat has been very popular. The Tomcat runtime requires a Java environment.Tools/Materials
Jdk-6u33-linux-x64.bin
Apache-tomcat-7.0.2.tar.gz
Method/Step
CentOS6.5 environment initialization, centos6.5 InitializationModify the default Host Name of CentOS6.5 (root operation)
After the official CentOS6.5 image is installed, the default host name is localhost, which is inconvenient to manage and needs
Ubuntu knowledge record and ubuntu knowledge
1. Activate the root user: sudo passwd root
2. install ftp: apt-get install vsftpd and modify the configuration file/etc/vsftpd. conf.
Write_enable = yes indicates that the file can be uploaded. After
Linux study notes -- which command (SEARCH Command)
Which, which indicates to search for the location and alias of a command from the PATH specified by the PATH environment variable.
Which command features:
1) The "which" command can only search for
Improve the uwsgi STARTUP script so that it supports multiple independent configuration files, uwsgi configuration files
Recently, I have been studying flask and have made some difficulties in setting up the runtime environment. Because I want to
How to manually compile and upgrade Nginx1.8 in the free version of AMH4.2
The free version of AMH has not been updated or upgraded since version 4.2, and there are few official solutions. After all, free and non-profitable products are not very
Nginx Server Load balancer configuration (TCP proxy)
Yesterday in the company group, CTO shared this message. For O & M, the high availability of backend services based on TCP protocol has become a new option, which is really great! For a long time,
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