Common commands for debugging using GDB in Linux are recorded here.$ sudo su# g++-G Test.cpp-o test-pthread # gdb test - - - - - - - - - - (GDB) L ----The first line begins with the original code, and theList command is abbreviated
Other polite words about gdb don't say much, go straight to the chase.first, the GDB basic command list :
Command
Explain
Shorthand
File
Load the executable file you want to debug
No
List
Today, the main learning of Linux under the network Configuration and Vsftp (FTP) and Samba service configuration, learning, difficulty is general, and not particularly difficult, but in the experiment can be done, but did not have their own
sudo detailedPrior to the use of Su, SU is the switch user, switching from one user to anotherSo what is sudo?sudo: is to allow a user to perform certain tasks through certain hosts as any other user. Remember, it is with anotherOne identity to
Top as one of the most common and important Linux system monitoring tools in daily management work, can observe the status of system process dynamically. But the disadvantage is that only support keyboard operation, display is monotonous. As I just
1, if the installation package is installed under the Linux system, then you can use[Email protected] ~]# service httpd restartTo enable or restart the Apache serviceAt the same time, its standard way is:[[email protected] ~]#/etc/rc.d/init.d/httpd
Configuration files for Linux systems, in multi-user, multi-tasking environments, profiles control user rights, system applications, daemons, services, and other administrative tasks. These tasks include managing user accounts, assigning disk quotas,
The main use of fork in advance to create a number of processes, concurrent processing of multiple client connections, return the current system time. The specific code is as follows:Server.c# include # include # include # include # Include #
recently installed Libevent, run Error: The main idea is to find libevent-2.1.so.4In the installation, the installation location is/usr/local, also made a soft linkLn-s/usr/local/lib/libevent-2.1.so.4/usr/lib/libevent-2.1.so.4At the time of
To compile and run mjpg-streamer in Ubuntu Linux
1. Install the libjpeg Library
# Sudo apt-get install libjpeg62-dev
2. Plug in the non-drive camera (uvc webcamera), Ubuntu will generate a/dev/videoX Device
3. Download mjpeg-streamer source code
Solve the problem that vi in Ubuntu is not used to operations.
In Ubuntu, the direction keys cannot be used when vi is being edited. ABCD is generated when a keyboard is pressed in one direction. It is very troublesome to insert letters, the Return
Linux data redirection
Preparations:
We must understand the output types of data redirection in Linux. There are three types:
Standard input (stdin): the code is 0. Use
Standard output (stdout): the code is 1, use> (replace the original data) or>
CentOS rpm additional package Source
In CentOS, we can use yum to download or update the rpm package, but only a part of the rpm package is provided in the standard source (repository), although in most cases, these packages are sufficient.
But
Install Adobe Reader 9.5.5 on Ubuntu 64-bit
Aodbe Reader works better in Linux than Foxit Reader, especially for Chinese documents. This article introduces the installation of Adobe Reader in Ubuntu, and introduces the installation of Foxit Reader
Google-related website SSL error resolution when GoAgent accesses Youtube in Ubuntu
Introduction: In Ubuntu, access to Youtube always reports that the certificate cannot be identified. Because it is based on the SSL protocol, it is unable to access
Disk management-LVM
LVM is short for Logical Volume Manager. It is a mechanism for managing disk partitions in Linux, LVM is a logical layer built on hard disks and partitions to improve disk partition management flexibility. Next, we will use the
Linux Command Execution judgment basis --;, &, |
Command Execution judgment basis --;, &, |
Multiple commands are executed simultaneously during Linux O & M or during daily Linux system operations. In this case, we need to process multiple
Linux restart command and how to restart the network ?, Linux restart Command Network
Share the usage of Linux restart commands. How can I restart the network in linux?
Part 1: usage of Linux restart commands
1. shutdown2. poweroff3. init4. reboot5.
Laruence's linux private house dish-Chapter 1 Regular Expression and file formatting, linux private house dish
12.1 what is a regular expression
A regular expression is a string processing method. It processes strings in the unit of behavior. A
How does windows share with virtual machine linux?
File Sharing between virtual machine linux and widows host
Use the shared folder function of virtual machines
Use the shared folders feature in vmware (vmware workstation 5) to transfer files
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