1. First, to add gdb information at compile timeGcc-g Test.c-o TestSome basic commands for 2.GDBL Enter R Break Break Func Break Main Info Break Where break can be abbreviated as BN C P I BT Q Finish Simple use of gdb under Linux
Idle to have nothing to do, throw a misc drive template to run#include #include #include #include #include #include #include # Include #include #include #include #include #include #define DEVICE_NAME "misc_dev0" Static long misc_dev_
1 diff-y test.txt Test2.txtThe output source file and the target file are all divided into the left and right two basketsAs follows--------------------------------------------------| aaaa aaaaa| BBB | b|
File Rights Management ChapterChown-r MySQL. /usr/localChange all files and subdirectories in/usr/local/and below to MySQLLs-al * Use this command to queryChgrpChgrp-r mysql/usr/localChange all files and subdirectories in/usr/local/and below to
1environment variable Chapter1.1Modify view effective system environment variables1>files that involve system environment variables. Bash_profile2> The file location/root/. Bash_profile3>file Editor opens VI. bash_profile another file/etc/
With many times, forget several times, also checked several times, I was drunk ...FG, BG, Jobs, &, CTRL + Z are all related to system tasks1,&: Placed behind the command is the background to execute.2,Ctrl + Z: Suspend a program, and pause.3.Jobs:
The last one we talked about the VI editor, is not very hi, but also intentionally do not do the dry foot, vi editor is indeed powerful, the words of Linux as a development platform is also very good choice. God, let me be strong earlier! A step in
When I started my current job at Algoma (Algoma) University, a librarian, I had no confidence in my work. Despite my ten years of experience in book and information technology, I am still somewhat disturbed by my first task of assisting in the
How to view libraries of programs and processes in Linux
Author: zhanhailiang Date:
Original article: How to check what libraries are used by a program or process on Linux1. Use ldd to view the dependent libraries of executable programs
[root@~]#
Unzip tar bz2 zip tar.gz gz,bz2tar.gz in Linux.
. TarUnpack: tar xvf FileName.tarPackage: tar cvf FileName.tar DirName(Note: tar is packed, not compressed !)---------------. GzDecompress 1: gunzip FileName.gzDecompress 2: gzip-d
Install KDE or GNOME desktop in Centos
Install KDE in Centos
# Yum grouplist# Yum groupinstall "X Window System"# Yum groupinstall "GNOME Desktop Environment"
Or
# Yum groupinstall "KDEDesktop Environment"
1. Check whether the desktop system is
10 important Linuxps commandsYou can also view it in ps command practice.The ps command can give snapshots of processes in the current system. It can capture the Process status of the system at a certain time. If you want to constantly update the
Quickly build a LAMP environment in CentOS
LAMP -- Linux Apache MySQL PHP
In the CentOS installation sequence, I usuallyApache->MySQL->PHP
Step 1. install and configure Apache
1. Install using yum
yum install httpd
2. Modify the firewall
Linuxcpu Information Analysis
In Linux, how does one view CPU information? You only need to check the/proc/cpuinfo file.
cat /proc/cpuinfoThe following result is displayed on my computer:
It contains a lot of information. The important fields
Configure CentOS static IP in VMware
We often take it for granted that the gateway and dns are the same as the host machine, and the configuration results are unavailable for a long time. Actually not...Set static IP addresses for CentOS in
Dynamic Routing and NAT on centos
I. Server Configuration:
1. CPU: core 4 Memory: 8 GB hard drive: 146 GB * 4 hard drive (raid5)
Ii. System Environment Configuration:
1. System Version: Centos6.5 64-bit
2. installation environment: minimal
Linuxshell reads files by rowOne way is to use cat and reverse quotation marks.
Ps: reverse quotation marks play the role of command replacement in Linux. Command replacement means that shell can insert the standard output of a command to any
Linux6.6vsftpd ConfigurationFtp Configuration
I mainly want to upload a tool for convenience, not a professional ftp server, so I only use the root user to log on and upload. the root user only needs to remove the root user list blocked by ftp, open
DNS server configuration in linux
1. Understand the meanings of Some nouns
@ ---- This symbol means that SOA is the same as the domainIN ----- IN is A domain name class that provides IP addresses. When used together with A, PTR, or CNAME record, the
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