When Linux users import multiple files into the database, the discovery process is cumbersome. If you combine multiple files into one file, it will be much simpler. The following small series will introduce you to Linux to combine multiple files into one. Method, interested friends can come to learn.
found in iDB Cloud exported database file is generated for each table SQL file, so many separate files and then imported into other databases is a hassle, you need to merge all of the SQL files For a complete SQL file. With this idea, I decided to find a way to achieve it.
Linux or Unix-like implementation of merging multiple file contents into one file
Code is as follows
cat b1.sql b2.sql b3.sql 》 b_all.sql< Br>
or
cat *.sql " merge.sql
Finally you can get a complete file.
This method is suitable for merging all text-formatted files, all of which are stored together in order.
The above is how Linux combines the contents of multiple files into one. Especially when there are many files, it is more convenient to merge them into one operation.
In Linux system bunzip2 is a decompression command, you can decompress the bz2 file by executing thi
After the installation of Ubuntu 11.0 system, many users have not been able to log in to the system.
Since Linux does not support HiDPI devices very well, you need to set up the Linux desktop environme
There is no rc.local in SUSE Linux 10, you want to use it you have to write an rc script file in the
Tips for setting up IPv4 in Ubuntu system
Linux how to use vi /vim command
How to configure a multi-language environment for Linux systems?
How to use uniq command to delete text duplicate lines in Linux system
How does Ubuntu recover the GNOME Panel that was accidentally deleted?
Linux system NBMA and BMA exchange method introduction
How to open the recycle bin function in Linux
What if Ubuntu can't install vim?
Two ways to remove pdf passwords from Linux
How can Ubuntu users not use the sudo command?
What should I do if I get an error when installing LDAP on Linux under Linux?
Improper setting of Vista system audio properties leads to no sound in movies
Win10 Preview 10537: New icon/shop application animation and other improvements
Compression and decompression methods for common compression formats under Linux
After installing Win8 dual system, the first time you run Win8, there will be a black screen
The response to the Win10 webpage suddenly becomes larger.
Mouse wheel problem solving after installing Ubuntu in VMware
Play cool Windows7 hard drive letter can be adjusted at will
Win10 mobile phone preview version downgrade wp8.1 change brick brush machine recovery tutorial
Linux is faster than windows executables
How to deal with Windows8 system error prompt "start pxe over ipv4"