How to use GDB debugging under Linux

GDB is a very useful debugging tool under Linux, although it is a command-line mode debugging tool, but it is powerful enough to you can not imagine, here is a brief introduction to GDB under common commands.Start by compiling the executable file

Linux./configure--prefix command

The installation of the source code is generally composed of 3 steps: Configuration (Configure), compile (make), installation (make install), the specific installation method is generally the author will give the document, here is the main

How to view the remaining space size of a directory under Linux

The DF command is a Linux system that views the file system as a disk partition, which can be added with parameters to view the disk's remaining space information, the command format: DF-HL display format: File system capacity used available% mount

Linux Disk Management

I. Disk classification and storage unit 1. Classification(1)传统硬盘(机械硬盘):IDE、SATA、SCSI等接口,廉价、但速度较慢(2)固态硬盘(SSD):SATA、PCI-E、M.2 2280,昂贵、但速度快2. Unit of Measure(1)b:算机识别最小单位 (8b = 1B)(2)B(字节):比特,用户使用最小单位 (1024B = 1KB)(3)KB(1024KB = 1MB)(4)MB(1024MB = 1GB)(

Linux Command Encyclopedia

System InformationThe processor architecture of the Arch Display machine (1)UNAME-M Display the processor architecture of the machine (2)Uname-r displaying the kernel version in useDMIDECODE-Q Display hardware system

How do I use Linux to implement router functionality? Linux operation and Maintenance

communication between the network mainly relies on routers, in addition to the daily use of the router device, Linux system can also be configured to the router, simply add some simple routing entries on the Linux host, these Linux hosts can act as

The Linux htop Process management tool uses

A Introduction to the use of htopEveryone may be familiar with the top monitoring software, today I introduce another monitoring software htop, called Top of the enhanced version, compared to top it has a lot of its own advantages. As follows:

Linux commands Daquan 20180614

PS command to display a processThe grep command is to findThe Middle | is a pipeline command that refers to the PS command executing concurrently with grepPS is the most common and very powerful process view command under Linux.The grep command is a

Linux Fundamentals and Applications tutorial 0011 (DNS resolution)

#yum install-y Bind#vi/etc/named.conf(1) Make the following changes to the named.conf fileListen-on Port: (any;}; #默认修改位anyListen-on-v6 Port 53 {:: 1;}; #注释掉本行, add "//" to the beginning of the lineallow-query {any;}; #默认修改位anyDnssec-lookaside Auto;:

Linux Common command Set (user and group operations, 15 total)

1.useradd"Command Function""Command Syntax""Common Options""Parameter description""Command Example"2.groupadd"Command Function""Command Syntax""Common Options""Parameter description""Command Example"3.passwd"Command Function""Command Syntax""Common

Linux Mountain Chapter

1 Linux Learning Direction 1.1 Linux operations engineer The main work is as follows: Planning of the server Debugging optimizations Daily monitoring Fault Handling Data backup Log analysis The

Linux common commands--ifup, Ifdown

Ifup system Startup Anomaly DiagnosisSyntax format: ifup "option" ifup [options]Note: There must be at least one space between each element in the Ifup command and in the following optionsThe Ifup command is used to activate the specified network

Linux Disk Management--disk structure

Partitions are divided by cylinders.[Email protected] packages]# fdisk-l/dev/Sdadisk/DEV/SDA:171.8GB,171798691840bytes255Heads theSectors/track,20886cylindersunits= Cylinders of16065* +=8225280bytessector size (logical/physical): +Bytes/ +Bytesi/o

Linux Search Log Information

In the work we often have to find the problem through the log, but sometimes too many logs and do not know when the log is printed, then we can look at the method:1. Enter the directory where the log files are stored2. grep keyword * For example, to

Common Linux Commands

1 LS Common options2 Linux Get Help3 File Management4 process1. LS Common options# LS Common options -A All, view all files under the directory, including hidden files -l long list display -H Human is displayed in a humane way - d List

Add sudo permissions to normal users in Linux

When using a Linux system, you will often be asked to use Super permissions, but Root is too large, and generally use caution!!! So you can add sudo permissions to ordinary users, usually with ordinary users to operate, when the need for root access

Linux Common Commands--head

head 显示文件内容头部Syntax format: Head "option" "File" head [options] [file]Attention: There must be at least one space between each element in the head command and in the options and files that follow. If more than one file is created, the file

Linux Common Commands--rm

rm 复制文件或目录Syntax format: RM "option" "File" rm [options] [file]Note: The RM command and the following options and file directories must have at least one space between each elementOption Description: parameter Options

"Git" Linux environment install Git

1 Installing a git dependency packageYum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-extutils-makemaker2 Deleting an existing gitYum Remove git3 Download git source code1 Switch to your package file storage

Troubleshooting the sudo command problem with Linux

Problem descriptionThe following error is prompted when executing the sudo command in the terminal after logging in with a normal user: We Trust you are received the usual lecture from the local SystemAdministrator. It usually boils down to

Total Pages: 5467 1 .... 2675 2676 2677 2678 2679 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.