GdbOne. GDB Common commands:
Command
Description
BackTrace (or BT)
View function calls and parameters at all levels
Finish
Run continuously until the current function
Linux displays devices such as disk and partition drives as files /DEV/SDA5/ Dev store directory for device filesSD represents a USB, Stata, SCSI, SAS interface disk devicea table Try the first hard drive the second one is B5 table Test First
1. Check the current version, if not, install with YumRpm-qa Subversion2. InstallationYum Install Subversion-y2. Building a libraryMkdir-p/home/svn/projectSvnadmin Create/home/svn/project3 cd/home/svn/project/conf for configuration3.1 Setting the
2017/6/21The concept of time is vital in life, and is equally important in the operating system, its function in the system is not only to provide users with time so simple, the kernel of many mechanisms are dependent on the time subsystem. However,
CharacterRange of characters in a single character: [] [A-z]Inverse character ^: [^ 0-9] not a numberAny character: '. ‘Kinsoku characters: ^ $, ^root//note differs from [^], empty line represents ^$Metacharacters and repeat settings:character
1. UnzipUnzip xx.zip-d XX--Extract Files Xx.zip to Xx,xx folder is new with this operation-D: Local-O: Global2. PathCD xx/xx3. View the listll or LS4. Open FileVI XX5. File operationWhen you open the file, you want to change to edit mode, press "I"
First, install the Linux system with the virtual machine and find the terminal in the application (it is important that the Linux system performs the task as a command, and all the commands are entered and executed in the terminal), and then enter
Lvm:logical volumn ManagerLVM, LVM2Dm:device MapperA logical tool for organizing one or more underlying block devicesLV, multipathBlock Devices:Pysical ExtentPE: Fixed sizeStorage space Boundary:Physical boundary:Logical boundaryLogical
# uname-a # View kernel/Os/cpu information# head-n 1/etc/issue # viewOperating SystemVersion# cat/proc/cpuinfo # View CPU Information# hostname # View computer name# LSPCI-TV # list all PCI devices# LSUSB-TV # list all USB devices# lsmod # List of
Tail-F catalina.out #在 logs view log below (-F live View)RM-rf/var/log/httpd/Access #删除文件 (-r Delete the file and delete the contents under the folder-F ignore does not exist)MVuser.sql/etc/MySQL #将文件移动到mysql目录下 (can also be renamed)VI
Specify IP AddressVim/etc/sysconfig/network-script/ifcfg-eht0Modify get mode DHCP to staticBottom Onboot no change to onboot YesAdd again:
ipaddr=192.168.1.253netmask=255.255.255.0gateway=192.168.1.1dns1=119.29.29.29
2. Disable the root
First, the kernel environment:linux-3.4.35-*-Networking Support--->Networking Options--->[*] Network packet filtering Framework (NetFilter)--->Ip:netfilter Configuration---> IP Tables Support (required for Filtering/masq/nat)//iptables "Ah" match
First, the topic(1) To make my program/root/testsoft.sh every January 1, May 1, October 1 0 o'clock each year, please give the wording(2) VI editor, replace all Zhangsan in the document with Lisi, please write the command(3) Assign the file test
in a single thread program. We often use "global variables" to implement shared data among multiple functions, but in a multithreaded environment. Because the data space is shared. Therefore, global variables are also shared by all threads. But
Build svn server on linux and svn on linux
1. Check the current version. If not, install it using yum.Rpm-qa subversion
2. InstallationYum install subversion-y2. Create a databaseMkdir-p/home/svn/projectSvnadmin create/home/svn/project3 configure
Linux and linux commands
I. Overview 1. What is an operating system?
The operating system is the intermediary between people and computer hardware. The user cannot directly interact with the computer hardware and can not directly direct the
VMWare installs Centos 6.9 and vmwarecentos
1. Create a VM
(1) Click file --> Create VM
(2) select Custom (advanced) --> next
(3) Select Workstation 12.0 --> next
(4) choose to install the operating system later --> next
(5) Select Linux à
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