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:
Network hardwareLinux can use any network hardware that has a driver. Linux drivers are compiled into the kernel individually or as loadable modules. The Linux kernel supports many popular NICs by default. When selecting network hardware, it is best
The compilation process for MSBuild is actually defined by a series of targets files, and when we perform build, batch build, and cleanup commands in the IDE, VS finds the corresponding task for those commands and executes it, let's analyze the
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
Fdisk-lFdisk/dev/sdad--Deleting a partitionN-New partitionp--Primary Partitione--Extended Partitiont--changing partition format 82 to swap partitionw--Save exitHttp://www.blogjava.net/freeman1984/archive/2012/11/26/392026.htmlHttp://blog.sina.com.cn/
Windows uses git to implement linux commands and ssh implantsBrief introduction:Git is a linux kernel-based version control tool, git. We can use it to manage our projects, or we can use it to connect to our Linux servers. Powerful function, easy to
Common Linux commands (21) and common linux commands
I.Use the name option:
The file name option is the most common option for the find command. You can either use this option independently or use it with other options. You can use a certain file
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''
Common Linux commands (19th) and common linux commands
Find is a commonly used Linux Command, but we generally look for it not only, but also further operations. At this time, the role of exec becomes apparent.
EXec explanation:
-The exec parameter
Common Linux commands (17) and common linux commands
Locate allows users to quickly search for specified files in the file system. The method is to first create a database that includes the names and paths of all files in the system. Then, you only
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
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
Detailed description of yum commands in Linux1. Brief Introduction
Yum = Yellow dog Updater. The main function of Modified is to conveniently Add/delete/update RPM packages. it automatically solves the dependency problem of the package. similar to
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
Linux packet capture SummaryI. Port Information
Method: Use netstat to learn the listening port of the process you are concerned about, or the usage of a port.
[Root @ imsv-test mpf] # netstat-pan | grep csmtcp 0 0 0.0.0.0: 6801 0.0.0.0: * LISTEN 741
CentOS system management commandsStat displays information about the specified file.02.cd /home/itcast03.stat familyA04.05.Who and w show online login users06.who07.08.Whoami displays the user's identity09.10.Hostname display Host
CentOS user and group managementAdd an account02.03.Useradd-m ltw parameter-m is used to set the system to automatically create the user root directory when adding an account04.05.adduser06.07.Modify the logon name of an ltw account08.09.usermod -l
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