Linux: Splitting and merging large files
We can split any file into number of smaller size based on size.
For Example : To split a big file of smaller parts of 100MB each, use the command which follows:
split -b 100m bigfile parts_
To join them on a Linux machine, use:
cat parts_*>bigfile
To join them in windows, use:
copy /b parts_* bigfile
@ Know your command
If you have deleted any command, accidentally, or it’s got corrupted. For some reason unknown to you, use this tip to know the details about the loss so that you can reinstall the command using the RPM of that command .
For example: if you have deleted ping command.
Step1) Find the location of the ping command.
$which ping
/bin/ping
Step2) Now install the package using the RPM command with the below options with the location of that command.
#rpm -qf /bin/ping
iputils-20020927-11
This is the RPM in which you will get the ping command .Install this RPM and get back your ping command working.





One Comment on “Linux: Splitting and merging large files”