[Email protected] ~]# ls/tmp/File-2016-11-15-19-10-06.txt ssh-igeaz44692 testcp T.txtLost+found T1.txt Tmp.txt################################################15,bash Supported QuotesAnti-quote ': command substitutionDouble quotation mark "": Weak referenceSingle quote ': Strong reference################################################16, filename wildcard GLOBBISG*: Any character of any length? : Single arbitrary character[]: matches a single character within a specified range[Abc],[a-z],[a-z],[
and down key
C-b Digital--------------> Jump directly to the window where you press the number
C-b --------------> exit the current Window
C-b d--------------> Temporary disconnect session after disconnection, you can also connect the yo:)
C-b "--------------> Split out a window (split up and down)
C-b%--------------> split out a window (split left and right)
C-b o--------------> switch in a small window, suitable for use when two windows
C-b (arrow key)--------------> select Smal
In a Linux system you may have found out why the system often does some tasks automatically. Who are those who are at the mercy of their work? In a Linux system, what if you want your own backup program to start running under the system automatically at some point in time, without having to start it manually? These routine work may be divided into one-time timing work and cycle time work, in the system is a
is manipulated at the time of the destructor, if the object has allocated memory internally, it causes double free for that memory because the pointer is the same. To open DF the macro experiment:$./tests addr 0x20de010ctor 0x6012b8s addr 0x20de040ctor 0x6012b8...dtor 0x6012b8s addr 0x20de040dtor 0x6012b8s addr 0x20 de040Because the two destructors are the same object, the memory that the member s points to is freed two times, resulting in a double free, which makes the program coredump.In summ
, firewall not meeting prompt, can be ignored inNet.nf_conntrack_max =25000000 -Net.netfilter.nf_conntract_max =25000000 tonet.netfilter.nf_conntract_tcp_timeout_established = the +Net.netfilter.nf_conntract_tcp_timeout_time_wait = - -Net.netfilter.nf_conntract_tcp_timeout_close_wait = - theNet.netfilter.nf_conntract_tcp_timeout_fin_wait = - * EOF $
Change the system character set to "ZH_CN." UTF-8 "so that it supports Chinese and prevents garbled problems. The corresponding Chinese character
) process management: (16) BG: Background run FG: Suspend program jobs: Show daemon Kill,killall,pkill: Kill process crontab: Set timing PS: View process Pstree: Show process status Tree top: Show process nice: Change priority nohup: Continue working after the user exits the system pgrep: Find the process that matches the condition Strace: trace the system call of a process ltrace: trace the process call library function Vmstat: Reporting virtual Memory statistics dangerous system commands: MV R
SeqUsage: seq [options] ... TailOr: seq [options] ... First Count MantissaOr: seq [options] ... First number increment MantissaPrints the number to the mantissa starting with the specified increment from the first number.Used to generate all integers from one number to another[[email protected] ~]# SEQ 1 512345[[email protected] ~]# SEQ 512345example, loop out the $ to $ #的值Remove the keyboard input value#!/bin/bash#For I in ' seq 1 $# ';d oThis article is from the "James Zhan
Tags: modified http check POC base FTP help clear Cache headYum Basics? ? Using RPM to install, uninstall software or services in Linux often encounter the dependence of RPM package, and we install software A, the hint depends on software B, when installing software B will be prompted to rely on a series of dependencies such as software C. At this point you will be able to ask whether there is a key to resolve all the dependencies during the installat
CentOS 7.4 Build LampLamp:linux, Apache, MySQL, PHPDirectory:The first part of the preparatory workSecond part installs Apache serviceThe third part installs the MySQL servicePart IV builds PHP operating environmentPart V Lamp Architecture ApplicationThe first part of the preparatory workOne: server: Linux system-centos 7.4;IP Address: 192.168.80.10Client: Take WIN7 as an example, test the result of verification, and the server in the same network seg
found, it is copied to the holding buffer, if the line has an object keyword to swap the mode buffer and keep the cache content after the output mode buffer content, The third command indicates that if the last line is reached, the content of the hold buffer will be output directly.H and H, G and G are two sets of corresponding commandsThe h and H commands are to replace the schema buffer content with the content of the hold buffer, but H is the copy that will be kept in the buffer, and the H i
Linux RPC Programming Combat essentialsThe current cloud computing, big Data development is in full swing, as its main structure of the distributed system can also be a big line. An important basic function of the distributed system is RPC (Remoteprocess call), so it is necessary to understand the basic principle, programming implementation and deployment method of RPC.First, the basic principle of RPCOnline Introduction RPC Blog more, system and frag
Chapter One: Shell Start-up basics1. Variables: In bash, the value of each variable is a string. Whenever you assign a value to a variable, there is no quotation mark, and the value is stored as a string.2, Var=value; Assignment operationvar = value;//equality operation3. Get the length of the string[Email protected] ~]$ Var=yang[[email protected] ~]$ length=${#var} [[email protected] ~]$ echo $length 44. Several methods for solving arithmetic operations:[email protected] program_test]# cat easy
1. Help for internal commands:Case:Help CD # #显示cd命令的帮助2. Help options for external commands:-h/--helpCase:LS--help # #显示ls命令简单帮助Useradd--help # #显示useradd命令的帮助3. Manual of command: Man1), man's area type:1--> User CommandsFormat Help for 5--> configuration files8--> Help for Administrator management toolsCase:Man Mans # #man1表示用户命令man的帮助Man 5 vsftpd.conf # #man5表示查看vsftpd的配置文件帮助Man 8 IP # #man8查看管理工具ip命令的帮助2), the basic structure of manSections (area)Name (first name)Synopsis (Syntax of the com
[[email protected] ~]# sed-i ' $a # This is a test ' regular_express.txtSince $ represents the last line, and A's action is new, the file is finally added "# This is a test"!Sed "-i" option can directly modify the file content, this feature is very helpful! For example, if you have a 1 million-line file that you want to add some text to in line 100th, using VIM at this point may go insane! Because the file is too big! What do you do? Just use sed! You don't even need to use VIM to revise the fea
/useradd as Superuser in desktop0.example.com650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/8F/9F/wKioL1jnLKGjiZLPAAFVKJkGGf4482.png-wh_500x0-wm_ 3-wmp_4-s_4095965299.png "title=" screenshot from 2017-04-06 17-08-46.png "alt=" Wkiol1jnlkgjizlpaafvkjkggf4482.png-wh_50 "/>3. Implementation of the delegation of authority commandsudo Command # #如果第一次执行sudo需要输入当前用户密码in /etc/sudoers if the settings are as follows:Test desktop0.example.com= (Root) nopasswd:/usr/sbin/useraddindicates that t
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.