1, official website download gdb-7.8.tar.gz
Http://ftp.gnu.org/gnu/gdb
2. Decompressiontar zxf gdb-7.8. tar. gzRefer to Gdb-7.8/gdb/gdbserver/readme, which is configured as described below.3. Create a new empty directorymkdir
1 Hard Link conceptsA hard link is a link through an index node (inode) in a Linux (EXT2,EXT3) file system in which a file saved in a disk partition is assigned a number, which is called the Index node number (inode index) or inode. That is, the
1. Linux kernel modules are not compiled into kernel files (zimage,bzimage), but are dynamically installed and uninstalled during runtime2, the kernel module includes a few parts: main part design, compile kernel module, install uninstall NHMK,
Rights Management:R:W:X:Three types of users:U: OwnerG: Genus GroupO: Other usersChown: Change file owner (only administrators can use this command)-R: Modify the owner of the directory and its internal files--reference=/path/to/somefile file,...
Mount multiple parameters separated by commas:Example mount mount and query the partitions that have been mounted:Examples of commands with parameters:The default is read-write, you can create files:After changing to RO:Add sync parameter, do not
I. Installation of related components1. Installing ApacheInstall apache2After the installation is complete, the browser http://localhost/or http://127.0.0.1 appears it works will indicate OKApache configuration file directory:/etc/apache2Apache
◊ Basic Framework :A) directory Operations commandb) File Operation commandsOne, directory operation command:1. Ls command:Ls–a: Show hidden filesLs–l: Show All Files (excluding hidden files)ll equivalent to Ls-lLs–h: Show file Size (how many k)Ls–f:
"Linux High Performance Server Programming": Dangdang, AmazonDirectory:First chapter: TCP/IP protocol familyChapter II: IP protocol FamilyChapter Three: A detailed description of TCP protocolFourth: TCP/IP communication case: Internet accessFifth:
Linux View hardware configuration1. View all the hardware modelsCMD code
Dmidecode | More
Result code
# Dmidecode 2.2
SMBIOS 2.5 present.
Structures occupying 4593 bytes.
Table at 0xcfefe000.
Handle 0x0000
First, the Environment preparation The following environmental checks are required to use the Debian platform: 1. Check the required tools and kernel version numbers to see if they meet the lfs7.7 list requirements 2, check the need to use the
Du view the directory size, DF to view disk usage.I often use commands (sudo uses root privileges, if necessary),1. View the size of a directory: du-hs/home/master/documentsView the size of all directories under the directory and sort by size
Original source: http://www.cnblogs.com/peida/archive/2012/12/07/2806483.htmlThe Linux du command also looks at the space used, but unlike the DF command, the Linux du command is a view of the space used by the file and directory disks , or some
LS: View the contents of a folder[Email protected]~]#ls-l/bootls command-l option (optional item) can not be answered/boot parameter(If this command does not answer the options and parameters, just view the contents of the current directory)[[Email
The function of the DF command in Linux is to check the disk space usage of the Linux server's file system . You can use this command to get information about how much space the hard disk is taking up, and how much space is left.1. Command format:DF
Bond has 7 modes, which is well known. But there was this strange problem.I want to change bond from mode 0 to mode 1.The procedure is to modify the/etc/modprobe.d/bonding.conf and change the mode=0 to mode=1Alias Bond0 BondingOptions Bond0 mode=1
The Linux system enables users to create files or folders that contain hyphens (-), and an incorrect operation may sometimes result in the following files or folders:[[email protected] aa]# touch /tmp/aa/{,-, \\}-{0,1,2,3,4,5}[[email protected] aa ]#
Example:-rw-r--r--1 root root 42304 Sep 4 18:26 Install.log#第一个字符代表这个档案是 "directories, files, or linked files, etc.":When [d] is the directory, for example, the row with the table file named ". GConf";When [-] is the file, for example, the previous
Add Getpid and GETPID-ASM functions to the corresponding test.c to enable the menu to implement Getpid and GETPID-ASM commands.After the add is complete, modify the Qemu-kernel linux-3.18 in the Makefile file in the menu directory . 6/ARCH/X86/BOOT/
Analysis of accton and lastcomm commands in linux, acctonlastcomm
We use the accton command to enable or disable process statistics. If no parameters are included, the process statistics will be disabled. Its main parameters are as follows:
(1)-V or
[Linux] install VMwareTools In Debian
Installing a tool in Linux is not as easy as running the next step on Windows, so you can complete the installation, especially for driver-level installation such as VMware Tools.
One of the biggest features of
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