This is something of a meta page.
See also:
Table of Contents [hide]
Items ∞
Related ∞
- cat is for outputting a file's contents, used for piping through to other programs.
-
DOS software lists some editors, most of which are better than Linux editors.
- Even Telemate had a better editor. ;)
- dotfiles -- Regarding configuration files for various Linux programs.
- Ruby code snippets has a lot of file manipulation code.
- Security > Data security
Split and Merge Files ∞
https://web.archive.org/web/20071012181040/http://bashcurescancer.com/merging_split_files.html
$ ls -l big.log -rw-rw-r-- 1 brock brock 175743061 Oct 11 22:08 big.log $ expr 175743061 \/ 126 1394786 $ split -b 1394786 big.log $ ls -1 x* xaa xab ... xew
Merge with cat
$ cat x* >merged.big.log $ ls -l *.log -rw-rw-r-- 1 brock brock 175743061 Oct 12 22:08 big.log -rw-rw-r-- 1 brock brock 175743061 Oct 12 01:11 merged.big.log $ diff merged.big.log big.log $ md5sum *.log 47de08911534957c1768968743468307 big.log 47de08911534957c1768968743468307 merged.big.log
Last updated 2024-05-03 at 21:06:13
fleshing it out a little
ported