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
The Linux system uses a directory tree system, so you need to plan the disk partition and the directory tree mount when you install it. In fact, when the Linux system installation has provided a considerable number of default mode for you to choose
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
Less commandSpace or ctrl+f forward one screenCtrl+b Back one screenEnter forward line/string finding pages that contain string strings? String Ditto n Search in the same directionN Reverse Direction Lookup= Current line numberMove up half screen in
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/
Linux Open functionsThe open function is used for opening and creating files. The following is a simple description of the Open function#include int open (constcharint oflag, ...);Return value: Success returns the file descriptor, otherwise returns-1
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 requirements of the system for the hard disk are related to the open services of the host just mentioned, then there are no other considerations besides this? Of course, that is the data classification and data security considerations, that is,
Suddenly squid will not start, open squid.out, found an error:Warning:cannot Write log file:/var/log/squid/cache.log/var/log/squid/cache.log:permission deniedMessages'll is sent to ' stderr '.Keyword: Permission deniedPermission-Permit,
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
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
Rotten mud: puppet adds a user with a password, rotten mud puppet
This article was sponsored by Xiuyi linfeng and first launched in the dark world.
In the previous article, we introduced the installation and configuration of puppet3.7. This article
How to upgrade Cento7 kernel to 3.18
The default centos7 kernel version is 3.10. The reason for the upgrade is to test the vlan Technology of openvswitch. By default, openvswitch 2.3 allows centos7 default kernel 3.10 support. The following is a
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
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
Remote logon configuration of SuSelinux Server
Most of the time we use Windows XP or Windows 7, but the remote server is linux. How does XP connect to linux during maintenance?
In windows, xmanager is used, while in linux, remote connections are
Install and configure Samba in CentOS 7
Recently, I want to use RedHat Linux as a learning platform, but it is too difficult to download the RedHat Linux ISO file. Because CentOS and RedHat Linux are extremely similar, it takes more than 30 minutes
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