1. First GDB compiles: gcc-g xxx.c-o xxx2. Then gdb xxx goes to debugBreak line numberAdd Breakpoint(1) Then run can run to the next breakpoint (2) step (or s) step tracking (3) print can (or p) to view the current program's operating data such as:
Vmware10+redhat9When loading the second Ren image file, the following prompt appears: Unable to open the Xpdf-2.01-8 package ...Workaround:VMware, virtual machine, settings--hardware->cd/dvd The drive letter F: Automatically detects or automatically
1. Copy the Jenkins Program directory to the previous source program under/export/data/tomcatroot/ofctest-jenkins.jd.com tar-cvzf jenkins.tar.gz ofctest-j Enkins.jd.com the source program into a jenkins.tar.gz, and copy to the new server, the new
WwangSource: Http://www.cnblogs.com/wwangThis article uses the Creative Commons Attribution-Non-commercial use-the same way to share 2.5 Chinese mainland License Agreement license, welcome reprint, but without the consent of the author must retain
Here is the main record of the use of the command line under Linux, continuous updateTree commandMany times, we want to look at the directory structure of a folder, this time, as long as the tree can be ~, I like the following method to use the tree
/boot partition: Used to store the Linux system boot-related programs, such as boot loader, etc., the recommended size is 100MB/usr partition: Used to store applications on Linux systems with more relevant data, more than 3GB is recommended./var
Tomcat memory overflow and linuxtomcat overflow in linux
Sometimes there are many system programs, which may cause outofmemory,Permgen spaceMemory and other issues
First, monitor whether a stream is not closed, common such as inputstream and
How do I consider partition when installing linux ?, Linux partition
For the centos7 directory list with minimal installation, note that the directory in the link mode will not be included when calculating the occupied space;
Check the Occupied
Let the linux history command display the command execution time, on which machine the command is executed, linuxhistory1. Add the following parts at the end of/etc/profile:USER_IP = 'Who-u am I 2>/dev/null | awk '{print $ NF}' | sed-e's/[()] // g''
Getting started with Linux: Changing the default location of libvirt VM Images
Q: I use libvirt and virt-manager to create virtual machines on my Linux system. I noticed that the virtual machine image is located in the/var/lib/libvirt/images
Usage of wildcards and special symbols in Linux
We will encounter some special symbols in the Linu system. Let me give you a rough description of them.
* Represents 0 or multiple special characters
The example yum. * indicates that yum. or yum. a,
Use a specified user to execute commands in Linux
Sometimes, we need to execute some specific programs or scripts when Linux is turned on. Because of the security issues, we don't want to use root to execute them. What should we do.
After viewing
Shell programming notes 1, shell programming notes
Article: 1 http://blog.csdn.net/wuwenxiang91322/article/details/9259877 changing file permissions through chmod
Additional knowledge:
1Linux Files have three identities and four permissions. The
Use AWStats in CentOS to analyze Nginx access logs
AWStats is a fast-growing Perl-based WEB log analysis tool on Sourceforge.
It can collect the following information about your site:
Visits (UV), visits, page views (PV), clicks, data traffic, etc.
Linux Common commands (15th)-which
We often search for a file in linux, but do not know where it is stored. You can use the following commands to search:
Which: view the location of the executable file.Whereis view the file location.Use locate with
Linux system partition
Recently, I have been interested in Linux. The following can be my learning notes or my learning experience.
System partitioning uses the Partition editor to divide several logical parts on different disks. In fact, this is
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