Document 1 (a.txt)111222333444555666777888999Document 2 (B.txt)AAABBBCCCDDDEee111FFF222333JJJKKK444the following three contents of the document are as follows: (C.txt)AAABBBCCCDDDEeeFFFJJJKKKThe practice is as follows:1. Merge two text into a
Step 1: Find the version number of the kernel file that is currently in use #uname-RStep 2: List all the kernel files, using RPM or Dpkg (Linux-based systems)Command #rpm-Q kernel or $dpkg--list ' linux-image* 'Step 3: Delete all old kernel files,
Linux under the appropriate user, use the crontab-l command to view the tasks that the user performs on a timed basis.1-$>crontab-lNo content. Indicates that no user is specified to execute the crontab file under the corresponding
About the bird's Linux private dishes*-wildcard character, representing random characters (0 to more)? -wildcards, which represent one character#-Gaze/-Jump symbol to restore special characters or wildcards to a general symbol| -demarcation of two
Command
Introduction description
Pwd
Print out your current directory
Mkdir
Create a Directory
RmDir
Delete a directory
Rm
Deleting a file or directory-r: Deleting a
First look at the literal explanation:chattr: Chattr-change file attributes on a Linux file system lsattr -list file attributes on a Linux second extended file systemchattr command usage: chattr [-RVF] [-v version] [mode] files ...The [mode] section
The previous section has the system Initramfs has started to complete, the system control to the real Rootfs/sbin/init, the following is the time/sbin/init work.4/sbin/initInitramfs init script, through the Switch_root command, after switching to
Lastlog|less View all user login information[[email protected] ~]# Write User12 (send information to Administrator online)Ffffffffffffffff[[email protected] ~]# Wall 222222222 (broadcast to everyone)Broadcast message from root (pts/0) (Wed Nov 12 23:
Linux msgget return no space leftThe first thing to say is that such standard functions should form a habit of looking at the man manual to understand its usage and return values.Return no space left is divided into two cases:1, the number of MSG
Porting the script to the kernel is a cool thing, Lua has been ported to the kernel of NetBSD, there is a project called Lunatik to the Linux kernel, but only to support x86, not support arm, search on the internet, did not find ready, so I
Common Linux commands (III) and common linux commands
In Linux, run the pwd command to view the complete path of the "current working directory. To put it simply, whenever you operate on a terminal, you will have a current working directory. If you
The linux script automatically enters the password, and the linux script enters the password
Programmers using Linux must be familiar with password input. in Linux, they have strict permission restrictions on users. If they do a lot of things, they
Linux commands chattr and lsattr, linuxchattrlsattr
Let's take a look at the literal explanation:
Chattr: Chattr-change file attributes on a Linux file system
Lsattr-List file attributes on a Linux second extended file system
Chattr command
Linux automatically mounts the second hard disk partition, and linux mounts the second disk.
Modify the/etc/fstab file. If it is mounted to the/data directory, add
/Dev/sdb1/data ext4 defaults 1 1
The final result is as follows:
Bind simple self-use DNS server, binddns
Purpose: To customize a domain name www.test.com, which can be resolved to a specified machine.
Install(Version: 9.7.3 ):
Yum install bind
Configuration:
Initialization Configuration:
# Generate the rndc.
Install five input methods for CentOS
Using the ibus in the centos repository, my CenOS6.3 comes with an ibus package. Enable System-preferences-Input Method to configure ibus to boot automatically.
Install an ibus-table-wubi package
Yum install
CentOS installation stardict3.0
Starship is a good translation software in Linux.
My system is centos6.2 32-bit. Originally in the http://code.google.com/p/stardict-3/downloads/list source package installation. The result cannot be passed
View concurrent linux connections1. view the number of concurrent requests and TCP connection status of the Web server (Nginx Apache:
Netstat-n | awk '/^ tcp/{++ S [$ NF]} END {for (a in S) print a, S [a]}'
Netstat-n | grep ^ tcp | awk '{print $
PHP second-level domain name session Sharing Solution
Generally, a website has a main site and a sub-site. For example, if the domain name is bkjia.com, bkjia.com and www.bkjia.com will be the main site, and bbs.bkjia.com will be used as the
Register_globals parameter settings in PHP
Register_globals is a configuration in php. ini. This configuration affects how php receives the passed parameters.
1. When register_globals is Off, when receiving the next program, use $ _ GET ['user _
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